Tag: Linux

File Command

Find the contents of a file using this commande file filename.txt

Linux command to get the MD5 of a File

Use this command to find the MD5 of a file. md5sum file.txt

Simple Sed Command

Change all occurrences of ‘one’ to ‘two’ in the file.txt file in the grep example, enter this: sed ‘s/one/two/g’ file.txt

Converting a Video File

Converting a Video file mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=878 -o destination.avi source.avi Original Article

RAR Support In Linux

RAR Support in Linux is easy – just install the unrar tool… sudo yum install unrar

Uptime

See how long your machine has been running uptime Example Output 23:42:28 up 6:20, 2 users, load average: 0.16, 0.22,…

Format a partition to Ext3

Format a partition to Ext3 mkfs.ext3 -b 4096 /dev/sda10

Random Noise in Linux

Random Noise in Linux – I cannot think of any practical use for this command. You can use it for…

Get URL Headers from Linux Command Line

Show the headers of an URL from the command line. This will need perl, lwp installed on the system. lwp-request…

git status Without the Untracked Files

Don’t show the untracked files in git status git status | perl -pe “exit if(/Untracked files\:/)”