Recent Posts
Recent Posts Tagged With 'bash'
Linux/Unix coreutils command ‘paste’ to merge lines of files
Unix and Linux GNU coreutils command paste can be useful to merge corresponding or subsequent lines of files. Here is simple example of it’s usage: viper@viper-laptop:~$ cat /tmp/test pop pop1 pop2 viper@viper-laptop:~$ cat /tmp/test1 1 2 3 ...
Two-way conversion of Unix time (seconds since 1970) and regular time
I found using of Unix time to be very useful in various shell scripts and here are two simple commands to convert Unix/Linux date command to Unix time format and back to regular formating: To convert Unix time to simple (regular) time please use: dat...
