What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

Delete that bloated snippets file you've been using and share your personal repository with the world. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Get involved!

You can sign-in using OpenID credentials, or register a traditional username and password.

First-time OpenID users will be automatically assigned a username which can be changed after signing in.

UpGuard checks and validates configurations for every major OS, network device, and cloud provider.

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for:



May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!

Top Tags



Commands by svnlabs from sorted by
Terminal - Commands by svnlabs - 13 results
yum install vixie-cron crontabs
yum -y install bind bind-chroot caching-nameserver
yum install kernel-PAE
echo 0 >/selinux/enforce
2010-02-17 16:33:26
User: svnlabs
Functions: echo

just change SELINUX=enforcing to SELINUX=permissive, and you're done. Reboot if you want to prove it.

scp -P 22 /home/svnlabs.txt [email protected]:/home/svnlabs.txt
2010-01-22 16:55:25
User: svnlabs
Functions: scp

Upload file to remote server using SCP

rsync -avvvz -e "ssh -i /root/.ec2/id_rsa-gsg-keypair" --archive --progress /root/.ec2/id_rsa-gsg-keypair [email protected]:/root
2010-01-22 16:53:42
User: svnlabs
Functions: rsync

Connect EC2 server with public keys "/root/.ec2/id_rsa-gsg-keypair" or "/root/.ec2/keypair.pem"

zip -r -9 /var/www/html/project.zip /var/www/html/project
cat /proc/meminfo
free -mto
# cat file1.mp3 file2.mp3 > file3.mp3
2010-01-17 13:18:34
User: svnlabs
Functions: cat

cat - concatenate MP3 files and save it...

check output
2009-12-27 05:28:01
User: svnlabs

# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz

# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5/gpac_extra_libs-0.4.5.tar.gz

# tar -zxf gpac-0.4.5.tar.gz

# tar -zxf gpac_extra_libs-0.4.5.tar.gz

# cd gpac_extra_libs

# cp -r * ../gpac/extra_lib

# cd ../gpac

# chmod +x configure

# yum install zlib*

# ./configure

# make lib

# make apps

# make install lib

# make install

# cp bin/gcc/libgpac.so /usr/lib

chown -R webuser:webgroup /var/www/vhosts/domain.com/httpdocs
wget -H -r ?level=1 -k -p http://www.domain.com/folder/
2009-12-27 05:23:27
User: svnlabs
Functions: wget

wget ? server to server files transfer