You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jenny Nguyen edited this page Nov 5, 2015
·
1 revision
Console = system as a whole; both the command line & output from previous commands
Command Line = actual line in a console where you type your command
Prompt = beginning of the command line; usually provides some contextual info like who you are, where you are, etc.; typically ends in a $
Terminal = actual interface to the console; the program we use is actually a terminal emulator that provides us with the experience of typing into an old school terminal from the convenience of a modern GUI
$ ls -l ~ = program, options, arguments
The program is the verb; it describes what you want to do
Options are like the adverb; they usually modify the way the program will run
Arguments are the objects; they describe what we want our command to act on
l = long, will display filenames + detailed info
~ = home directory/folder
ls = list
pwd = print working directory
... = up one directory
cd = change directory
man = manual (i.e., $ man ls)
q = quit
mkdir = make a new directory
touch = make a new empty file
cp = copy a file
mv = move a file
rm = remove a file or directory
less = show the contents of a file in a scrolling buffer
so = authenticate yourself a superuser to gain extra security privileges