Professional Documents
Culture Documents
Linux Commands
Linux Commands
pwd
<check location>
cd <specify the location where you want to go>
cd videos <not its case sensitive> !!!!!
cd <type this cmd alone to navigate to home directory> ..need to chk this, not
working in cmder
cd ../Git <example>
ls command
lists all files and folders in a directory
ls videos/web
<lists the content directly without cd-ing to the folder>
ls -t
<lists files with the recently modified order...>
newest first
ls --size
<lists folders with most stuff in them, small to large>
ls -l
< to know when a folder was last accessed>
ls -t -r
<lists files with the recently modified order...in REVERSE order..oldest first>
ls --help
<lists all arguments that can be used with ls command>
**In linux, open file manager, hit Ctrl+H, shows hidden folders, have . in front of
their name.
Press Ctrl+H again, the files are hidden again.
ls -a
<lists all files incl hidden folders>