cd Change directory.
Usage: cd <filename>
Eg: cd my-directory
cd go to home directory
cd .. go up one directory
pwd
Print working directory on
the terminal.
ls List the content of a
directory.
Usage: ls [options] or ls [options]
<directory-path>
Options: -l list all files in long format.
(permissions, users, filesize,date, and time are
displayed).
-a list all files including those beginning with a “.”
-F list files distinguishing
directories/ executables* symbolic links@
-R recursively list subdirectories encountered.
mkdir Create a new directory.
Usage: mkdir
<directory-path>
Rmdir
Remove
a directory if its empty.
Usage: rmdir
<directory-path>
No comments:
Post a Comment