Linux command to get the MD5 of a File
Use this command to find the MD5 of a file.
md5sum file.txt
Use this command to find the MD5 of a file.
md5sum file.txt
Use this command to create a new brach in a git Repository
git branch NameOfNewBranch
Fish shell has an easy method to create a command alias…
alias del='rm'
save_function del
You can connect to a remote mysql server if you have the necessary permissions…
mysql -h mysql.remote.com -u user
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
mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=878 -o destination.avi source.avi
RAR Support in Linux is easy – just install the unrar tool…
sudo yum install unrar
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, 0.17
23:42:28 – Current Time
6:20 – The system was on for 6 hours and 20 mins
Installing the dependencies for HTML Validator extension for Firefox on linux.
sudo yum install compat-libstdc++-296 compat-libstdc++-33 tidy