...
Syntax of a Shell Command
...
Linux IS Case Sensitive
Info |
---|
In Linux, commands, options, folder, filenames… are Case Sensitive. |
...
Info |
---|
The next method is to use a commands command's |
Code Block |
---|
[<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 ~ ... |
...
Info |
---|
If you have a long command, which is difficult to read over a single line, you can split it up across multiple lines. To split, at the end of the line where you want to split type You can continue to split across multiple lines. Once you’re ready to execute, simply press |
Code Block |
---|
[<username>@<hostname> ~]$ ls -al ~
[<username>@<hostname> ~]$ ls \
> -al \
> ~ |
...
Exercises
Info |
---|
Questions:
|
...
Answers(1)
1: Is there a difference between running ls
versus ls -al
?
...