Docsity

Commands for Databases, Cheat Sheet of Computer science

Toggle sidebar
bg1
Things that separate
commands
backslash (\)
●Backslashes can be used in shell programming to break-up long
commands across several lines.
●They don’t affect the behavior of the command and have exactly
the same result.
●For example:
tar -xzvpf /path/to/file.tar.gz
is the same as:
tar -xzvpf \
/path/to/file.tar.gz
Note: Be careful with spacing with using the backslash -- sometimes having extra space
after the slash will cause problems.
pf3

Partial preview of the text

Download Commands for Databases and more Cheat Sheet Computer science in PDF only on Docsity!

Things that separate

commands

backslash () ● (^) Backslashes can be used in shell programming to break-up long commands across several lines. ● (^) They don’t affect the behavior of the command and have exactly the same result. ● (^) For example: tar -xzvpf /path/to/file.tar.gz is the same as: tar -xzvpf
/path/to/file.tar.gz Note: Be careful with spacing with using the backslash -- sometimes having extra space after the slash will cause problems.

Getting help on your own

● (^) From now on we will face a lot of commands. If you want to know what they do or what kinds of options they have, try man command. man followed by command will display online manual pages. Type q to quit after viewing the manual. ● (^) For example: man ls