Author: Binny V A

A philosopher programmer who specializes in backend development and stoicism.

Building an RPM from a Spec File

Use this command to build an RPM if you have a Spec File rpmbuild -ba SPEC_FILE

Show routing table

show routing table route -n

Play MPlayer in full Screen

Play the video in full screen using mplayer. mplayer -zoom -x 1024 -y 768 -fs -framedrop FILE

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…