I find it useful to refer back to commands I have used. Here's my current history:
ls -al /var/log/*.out
/Developer/Library/uninstall-devtools ; exit;
mppdec 16.mpc 16.wav
cd .gnupg
openssl md5 gpg.conf
openssl md5 pubring.gpg
openssl md5 secring.gpg
openssl md5 gnupf1.4.8.dmg
openssl md5 gnupg1.4.8.dmg
cd my\ disc
ls -R > ~/desktop/ds games 1.txt Recursively list directory contents
chmod +x Mon1830.sh Change file permissions
chmod +x ~/desktop/Mon1830.sh
mkdir ~/bin Make directory
whereis Mon1830
export PATH=$PATH:/users/<>/bin
echo $PATH
man crontab
echo $?
cd /var/log
edit daily.out
/Applications/Firefox.app/Contents/MacOS/firefox -safe-mode
defaults write com.apple.Dock showhidden -bool YES Show hidden files
killall Dock
defaults write com.apple.iTunes invertStoreLinks -bool YES Remove iTunes Store links
AppleSystemProfiler | grep Applications >> ~/installedApps.txt List all installed apps
/Users/<>/bin/Fry ; exit;
defaults write com.apple.screencapture type jpg Save screen captures as JPGs
defaults write com.apple.iTunes show-store-arrow-links -bool FALSE
cd /etc/hostconfig
open hostconfig
ls -1 | perl -e 'while(<>){ chomp($_); if(/(.*) - (.*).jpg/){ `mv "$_" "$2 - $1.txt"` } }'cd /
cd etc
edit hostconfig
type hostconfig
pico fstab Text edit
cd /etc
pico fstab.hd
diskutil umount -v "<>s iPod"
diskutil umount -vf "<>s iPod"
diskutil umount -vf "/volumes/<>'s iPod"
diskutil unmount /volumes/ \ \'s\ iPod/
diskutil list
diskutil info /volumes/\ \'s\ iPod/open ~/ .bash_history
defaults write com.apple.finder AppleShowAllFiles TRUE Show all files
defaults write com.apple.finder AppleShowAllFiles FALSE
ifconfig Network settings
mail
console
sudo nvram boot-args="-v"
ls -R / > ~/Desktop/dirlist
cd 'music backup'
cd /volumes/'music backup'
ls / > ~/Desktop/dirlist
ls > ~/Desktop/dirlist
lame --tg comedy --preset 56 /users/<>/Desktop/Truth.wav /users/<>
/Desktop/Truth.mp3 Convert wav to MP3
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES; killall Finder
traceroute news.bbc.co.uk
traceroute -I newsimg.bbc.co.uk
traceroute news.bbc.co.uk
chmod +x RM2MP3
./configure
./configure --enable-gui
./configure --enable-gui --datadir=/users/<>/.mplayer/skins
mplayer 1.rm -ao pcm:file=1.wav -vc null -vo null Using mplayer to convert Real Media file
md5 ubuntu-8.10-desktop-i386.iso MD5 check
xterm
env
sudo port install mplayer Install using ports
gmplayer
mplayer
port installed
port help
sudo port -v selfupdate
/System/Library/Frameworks/CoreServices.framework/Frameworks
/LaunchServices.framework/Support/lsregister \-kill -r -domain local -domain system -domain
user
diff -rq "on u sound albums" on_u_sound_albums_old List all file differences
diff -rq "on u sound albums" on_u_sound_albums_old > diff.txt
ls -R > ~/Desktop/dirlist
cp ~/.bash_history /users/<>/desktop/bash.txtcp ~/ .bash_history /users
/<>/desktop/bash.txt
cp ~/.bash_history /users/<>/desktop/bash.txt
cp ~/.bash_history /users/<>/documents/tech/mac/bash.txt Copy bash history
sudo port -d selfupdate
sudo port -v selfupdate
sudo passwd root
cd /volumes
rm -R "<>'s iPod 1"
sudo chflags -R nouchg/Volumes/<>\ iPod\ 1
sudo chflags -R nouchg/Volumes/<>\ iPod\ 1/.Trashes
defaults write com.apple.finder AppleShowAllFiles TRUE
defaults write com.apple.finder AppleShowAllFiles FALSE
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
sudo port -d selfupdate
sudo port remove mplayer
sudo port uninstall mplayer
port list installed
sudo port install xterm
xterm
rsync -ave /usr/bin/ssh ~/Documents/<> /Volumes/<>/Documents/ Initial rsync scripts
rsync -ave /usr/bin/ssh ~/Music/iTunes/"iTunes Music" /Volumes/sda1
rsync -ave /usr/bin/ssh ~/Pictures/"06. Photos to Print/To print" /Volumes/<>
/Pictures/"06. Photos to Print"
rsync -ave /usr/bin/ssh ~/Downloads /Volumes/sda1
/Applications/iPodBackup.app/Contents/Resources/rsync ; exit;
whereis backup_exclude.txt
pico ~/bin/backup.sh
chmod +x ~/bin/backup_pictures.sh
cp /users/<>/documents/tech/mac/bash.txt ~/.bash_history
exit
whereis *grease*
help
ps -ax
diff -rq "/users/<>/music/itunes/itunes music" "/Volumes/sda1/iTunes Music"
mplayer
drutil eject
/Applications/Firefox.app/Contents/MacOS/firefox-bin -safe-mode
qlmanage -m
launchctl unload /System/Library/LaunchAgents/com.apple.quicklook.plist
umount sda1-1
curl -O 'http://www.studiosells.net/msells/netinv'
chmod a+rx ./netinv
perl -MCPAN -e 'install Net::MAC::Vendor'
netinv
netinv > i.txt
ls /Applications/ >> appsiuse.txt
AppleSystemProfiler | grep Applications >> ~/installedApps.txt
cd delicious_checker-0.2/bin
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true Safari load tabs, not windows
ln -s "/Users/<>/Pictures/10. TBA" /Users/<>/Dropbox/
tail -f /var/log/system.log
cp -r * /home
defaults write com.apple.finder AppleShowAllFiles TRUE
defaults write com.apple.finder AppleShowAllFiles FALSE
/usr/sbin/tcpdump
ping 255.255.255.0
top -u -s3 Show most resource hungry apps
rm -rf ~/.Trash/ Empty trash from terminal
crontab -e
mail
killall Finder
Finder
cd /volumes/'music backup'
killall Dock
killall -KILL Finder
cd Documents/logs
chmod a+rx
chmod -R 777 *
open ~/.bash_history
diskutil list
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
chflags hidden "<>"
chflags nohidden "<>"
cp ~/.bash_history /users/<>/documents/tech/mac/bash.txt
backup_pictures2.sh
backup_music.sh
backup_docs.sh
exit