Tag: command
Connecting to a Remote MySQL Host
You can connect to a remote mysql server if you have the necessary permissions… mysql -h mysql.remote.com -u user
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\:/)”
Alarm Command in Linux
Command to create an Alarm in Linux echo ‘xmessage “Hello”‘|at 19:00
Recent Comments