Skip to content
Archive of posts filed under the bash category.

Backup of files in the directory.

I was working on some scripts and the changes that I was making in the scripts was very dynamic, which I did want to keep backing up in the version control system. But for the peace of my mind, I wanted to keep a copy of the scripts, whenever it was in working state. Since [...]

Linux hardware details.

Here is one of the scripts that I found on the net while searching for something … Note the URL for the script in the Description. #!/bin/bash – #=============================================================================== # # FILE: linux_hw.sh # # USAGE: ./linux_hw.sh # # DESCRIPTION: http://www.howtogeek.com/howto/solaris/get-the-processor-type-on-solaris/ # # OPTIONS: — # REQUIREMENTS: — # BUGS: — # NOTES: — # [...]

Add ssh key to remote host

If you are working on recent versions of the *nix OS like Fedora or Ubuntu then you would know about the commad ssh-copy-id. But if you land up using one of the older versions like Solaris or something where the command is not present, then probably you need a simpler solution to this. One of [...]