Archive for the 'Shell' category
Saturday, July 4th, 2009
sh-3.2# diskutil list
sh-3.2# diskutil unmountDisk /dev/disk2
sh-3.2# dd if=/Volumes/Stuff/Temp/ubuntu-9.04-netbook-remix-i386.img of=/dev/disk2 bs=1024
sh-3.2# diskutil eject /dev/disk2
Posted in Shell | No Comments »
Tuesday, December 2nd, 2008
Look for a keyword in a file and point out the name of the file.
for ((i = 0; i < ...
Posted in Shell | No Comments »
Saturday, October 4th, 2008
cd /f1/f2/f3
tar -cvzf name.tgz subdir_to_include
Example:
tar -cvzf rainpics.tgz pics
Posted in Shell | No Comments »
Friday, September 19th, 2008
local> ssh-keygen -t dsa -f .ssh/id_dsa
-t tells the type of encription
-f tells where to store the public/private key pairs. In ...
Posted in Shell | No Comments »
Wednesday, September 3rd, 2008
Depending on the setup of Screen you may be greeted by a startup message, but Gentoo has this usually disabled ...
Posted in Shell | No Comments »