Category: Linux

Rsync via SSH tunnel

Rsync via SSH tunnel rsync -rogpav -e ssh –delete /home/binnyva 192168.0.30:/var/Backup/home

Show Free RAM

This command shows the free RAM space in MB free -m

Exclude Removable Partitions from a ‘find’ Search

Search files with ‘.rpm’ extension ignoring removable partitions as cdrom, pen-drive, etc. find / -xdev -name \*.rpm

Show Shared Libraries

Show shared libraries required by ssh program ldd /usr/bin/ssh

Installing Rails

You can install Rails in a Fedora system with these commands… yum -y install ruby ruby-devel ruby-irb ruby-libs ruby-rdoc ruby-ri…

Get the Plain Text Version of a Web Page

This command fetches a web page, converts it to text and shows it. lynx -dump http://www.example.com/

Sed Regular Expression Range

Print the contents of a file from a given regular expression to another sed -n ‘/start/,/end/ p’ file This will…

Find New Files

Search files created or changed within 10 days find /usr/bin -type f -mtime -10

Share Current Folder over the Web

Want to show something on your machine to someone over the web? Don’t copy it or upload it somewhere. Just…

Display a Small Notification Dialog

This command shows a notice in GUI and disappears after a few seconds… notify-send “Hello There”