Options
An argument that starts with a dash is called an option
Is -a list all files (including hidden)
ls-1 list files in long format
Is -1 -a combine both a and 1 options
Is-la combine both a and 1 options
Is -la /bin list all in /bin in long format
• Order of options does not matter
• Filename has to be at the end
List Command Options – ls
feel free to call us +800.241.0630 russ@russellcoder.com
Related Articles
-
Opening other files on Linux with Bash
russellc, , BASH, 0
Opening other files on Linux You need to have a graphical window utility installed. Linux does not offer a...
-
-
-
Listing Text Files with Bash
russellc, , BASH, 0
Listing text files cat • Best for small files-no paging • May mess up your terminal • Use “reset”...
-
How do you go up one level in a directory? cd ..
russellc, , BASH, 0
type cd .. or cd by itself takes you to the users home directory.
-
Safety Switch -i
russellc, , BASH, bash, saftey switch, 0
Safety first: the -i switch • Prompt before overwriting or deleting files • Use the-i switch • “cp-i” and...
-
How do you list a the contents of a directory? – LS
russellc, , BASH, 0
At the command line just type – ls
-
How to find out the full path to the directory your are in ? – PWD
russellc, , BASH, 0
PWD – Print Working Directory At the command line type pwd