Differences
This shows you the differences between two versions of the page.
linux_wiki:access_a_shell_prompt_and_issue_commands_with_correct_syntax [2016/02/29 22:33] billdozor [Access A Shell Prompt And Issue Commands With Correct Syntax] |
linux_wiki:access_a_shell_prompt_and_issue_commands_with_correct_syntax [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Access A Shell Prompt And Issue Commands With Correct Syntax ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | This objective centers around being able to correctly read man page syntax. This is an essential skill as you will need reminders of commands and their options on the exam and in the real world. | ||
- | |||
- | ---- | ||
- | |||
- | ====== Reading Man Pages ====== | ||
- | |||
- | **man ls, Synopsis section** | ||
- | <code bash> | ||
- | ls [OPTION]... [FILE]... | ||
- | </ | ||
- | |||
- | * ls - The command | ||
- | * [OPTION] - items in brackets are optional | ||
- | * ... - previous item can be repeated (so, you can have multiple OPTIONs) | ||
- | * [FILE]... - optional target file/ | ||
- | |||
- | \\ | ||
- | **man mv, Synopsis section** | ||
- | <code bash> | ||
- | mv [OPTION]... [-T] SOURCE DEST | ||
- | mv [OPTION]... SOURCE... DIRECTORY | ||
- | mv [OPTION]... -t DIRECTORY SOURCE... | ||
- | </ | ||
- | |||
- | * Three different ways to use the mv command | ||
- | * mv SOURCE DEST (1 source, any destination or rename a file) | ||
- | * mv SOURCE... DIRECTORY (move multiple source files, dest must be directory) | ||
- | * mv -t DIRECTORY SOURCE... (move all SOURCE argument(s) into the target (-t) directory) | ||
- | |||
- | ---- | ||