Topic 2: Finding your way on a linux system Flashcards
What is the echo command used for?
to write to the standard output
In quoting, what purpose do double quotes serve?
They preserve the literal value of most characters contained within the quotes except variables with $, the single quotes, and \ the escape character
In quoting, what purpose do single quotes serve?
The preserve the value of every character within – including the escape character \
In quoting, what purpose does the escape \ character serve?
it preserves the value of the next following character with the exception of the command newline
What is the PATH environment variable used for?
to define which directories the interpreter looks in for executables
What does a hidden file look like?
It has a slash at the beginning, then a period: /.hidden.txt
what is a relative path?
they do not start with a slash ( / ) and are only relative to current location
What is an absolute path and which command always prints it?
any path that starts with a slash ( / ) and command pwd