Archive for the 'Shell' category

Burn ISO on USB

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

Look for a keyword in a file

Look for a keyword in a file and point out the name of the file. for ((i = 0; i < ...

How to make a tar archive

cd /f1/f2/f3 tar -cvzf name.tgz subdir_to_include Example: tar -cvzf rainpics.tgz pics

Setting up no-password SSH

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 ...

Using Screen – Virtual Linux Terminal

Depending on the setup of Screen you may be greeted by a startup message, but Gentoo has this usually disabled ...