first need to Edit the configuration file /home/cicciobomba/.subversion and under the [tunnels] add this line ciccio_diverso = /usr/bin/ssh -p 12345
similar to previous except this exports to a temporary file, opens that file with your default web browser, then deletes it.
">>" appends to the file ">" replaces the entire file make sure to use ">>" Show Sample Output
Purges DNS cache of OS X. dscacheutil -flushcache does not work since OS X 10.7. Show Sample Output
Can use minute - m, hour - h Eg: sudo bash -c "sleep 2h; pm-hibernate" will hibernate the system after 2hours.
Flush the DNS cache under Ubuntu (Debian?)
ssh port forwading
In case you ever got to many arguments using rm to delete multiple files matching a pattern this will help you
Kill all processes belonging to a user, with a minimum of resource usage. Great for the times when a user fork-bombs the system and it's difficult to login or run commands.
`mount -o remount` doesn't pick up new NFS options (eg. timeo, soft, retrans, etc) so you need to do a full mount/remount cycle. This one-liner makes it quick and easy :) Update your fstab with the new options, then run it. Show Sample Output
you need ruby gems and localtunnel, further instruction on their website for ubuntu precise, just intall ... sudo apt-get install ruby ruby1.8-dev rubygems1.8 libopenssl-ruby sudo gem install localtunnel ssh-keygen -t rsa python -m SimpleHTTPServer 8000 sudo localtunnel -k ~/.ssh/id_rsa.pub 8000 Show Sample Output
commandlinefu.com is the place to record those command-line gems that you return to again and again. 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.
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
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: