...
Excerpt | |||
---|---|---|---|
| |||
...
The Command-Line Prompt
...
Your Prompt
Note |
---|
From now on, your prompt will take the form: where:
|
...
Syntax of a Shell Command
...
Case Sensitive
Code Block |
---|
# Lists what is in the current location. [arcc-t05@blog1<username>@<hostname> ~]$ ls Desktop Documents Downloads # Throws an error. [arcc-t05@blog1<username>@<hostname> ~]$ LS -bash: LS: command not found Filename ≠ FiLeNaMe ≠ FILENAME |
...
Getting Help: man
Code Block |
---|
[arcc-t05@blog1<username>@<hostname> ~]$ man ls LS(1) User Commands LS(1) NAME ls - list directory contents SYNOPSIS ls [OPTION]... [FILE]... DESCRIPTION List information about the FILEs (the current directory by default). Sort entries alpha‐ betically if none of -cftuvSUX nor --sort is specified. Mandatory arguments to long options are mandatory for short options too. -a, --all do not ignore entries starting with . -A, --almost-all do not list implied . and .. ... Manual page ls(1) line 1 (press h for help or q to quit) |
...
Getting Help: <command --help>
Code Block |
---|
[arcc-t05@blog1<username>@<hostname> ~]$ ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. Mandatory arguments to long options are mandatory for short options too. -a, --all do not ignore entries starting with . -A, --almost-all do not list implied . and .. --author with -l, print the author of each file -b, --escape print C-style escapes for nongraphic characters --block-size=SIZE with -l, scale sizes by SIZE when printing them; e.g., '--block-size=M'; see SIZE format below -B, --ignore-backups do not list implied entries ending with ~ |
...
Single vs Multiple Lines
Code Block |
---|
[arcc-t05@blog1<username>@<hostname> ~]$ ls -al ~ [arcc-t05@blog1<username>@<hostname> ~]$ ls \ > -al \ > ~ |
...
Exercises
...
Expand | ||
---|---|---|
| ||
Yes. The The characters after the '
|
...
Expand | ||
---|---|---|
| ||
|
...