Skip to content

st4swift/Macintosh-Terminal-Pocket-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Macintosh-Terminal-Pocket-Guide Exercise

Chapter 1

What is the Terminal?

killall -KILL 'Microsoft Word' # Terminate Word

for i in file*; do mv $i $i.pdf; done # Rename your PDFs

rsync -aE myfolder server: # Copy change files

What's in this Book?

wc -l myfile # counts lines of text in a file

grep df dscl(manage users and groups)

launchctl (run services and scheduled jobs)

cat less od(for binary files)

man -- Terminal -- Shell -- Macintosh OS X

wc -l -w myfile

wc -lw myfile

wc -l myfile1 myfile2

sudo

Ten Commands to Try

cal cal apr 2015

ls /Applicatins

ls $HOME/Documents | wc -l

df -h

top

lpr /etc/hosts

last -1 $USER

curl -O http://www.blazemonger.com/sample.pdf

mv sample.pdf $HOME/Desktop

ipconfig getifaddr eno # for wired

ipconfig getifaddr en1 # wireless

whois oreilly.com | less

clear

exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published