Commands using mv (214)

What's this?

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.

Share Your Commands


Check These Out

Continue a current job in the background
Continue a current job in the background and detach it from current terminal

Bash: escape '-' character in filename
If you don't escape the - of the filename, you will get the command interpreting it as a parameter, returning (in the best case) an error.

Find files with lines that do not match a pattern
This one would be much faster, as it's only one executed command.

check open ports without netstat or lsof

Display screen window number in prompt
Add this to your $HOME/.bashrc file. It will only set this prompt if it is running inside screen ($WINDOW var is set) Looks like this... $ ion@atomos:~[2]$

sniff network traffic on a given interface and displays the IP addresses of the machines communicating with the current host (one IP per line)

Happy New Year!

Create a continuous digital clock in Linux terminal
Source: http://www.my-guides.net/en/guides/linux/364-how-to-create-a-continuous-digital-clock-in-linux-terminal

Update twitter with curl
Same as below, but no quotes are necessary when twitting more than one word

Share your terminal session real-time
One person does `mkfifo foo; script -f foo' and another can supervise real-time what is being done using `cat foo'.


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: