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
-
Getting Help with bash commands
russellc, , BASH, 0
Getting Help Manual Pages • command: “man” • “man Is” • “man cd” • “man man” Using the manual...
-
-
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”...
-
-
About filenames with bash
russellc, , BASH, 0
About filenames Filenames can contain just about anything • Except/ • Hidden files start with a dot Case sensitivity...
-
-
-
Opening other files on Mac OS with Bash
russellc, , BASH, 0
Opening other files on Mac OS How to open non-text files? Mac OS: "open" • Opens the program associated...