Also works with:
chgrp --reference file1 file2
chown --reference file1 file2
(Useful when firewalls prevent you from using NTP.)
ssh_config is the system-wide configuration file for ssh.
For per-user configuration, which allows for different settings for each host:
echo 'ServerAliveInterval 60' >> ~/.ssh/ssh_config
On OSX:
echo 'ServerAliveInterval 60' >> ~/.ssh/config
or
echo 'ServerAliveInterval 60' >> ~/etc/ssh_config
Change the file location in the second half of the string to the exact file location of your chosen picture.
Enables widgets to be placed onto the desktop. Click and hold the widget and press F12 to drag it onto the desktop. Repeat the process again to drag a widget back onto the dashboard. You may need to log off or restart for it to take effect.
This line removes the 300k header from a Nero image file converting it to ISO format
If you want to check that the spoof worked, type the same command as earlier:
ifconfig en1 | grep ether
Now you will see:
ether 00:e2:e3:e4:e5:e6
For the wired ethernet port:
sudo ifconfig en0 ether 00:e2:e3:e4:e5:e6
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: