Navigate
through the file system
Format
cd [directory]
Summary
When you call cd and give it a directory it will make the
specified directory the working directory. If you don't
specify a target your home directory will become the working
directory.
MS USERS: When you want to descend a directory you have
to write cd .. with a space between the "d" and
the first dot.
Format
pwd
Summary
This command prints out the current working directory. This
means the full path of the directory that you are currently
in.
Format
ls [options] [file-list]
Summary
Lists information about one or more files. Lists alphabetically
unless you specify something else.
[file-list] could be any directory path or files
you specify. ls lists the working directory if you don't
give it this argument.
You can use wildcards * and ?.
Options
-a All files, includes invisible files (those
that start with a period)
-l Long, displays extra information about
the files.
-F Appends a "/" at the end
of a directory listing and a "*"
at the end of an executable listing. Makes the output
of ls much more readable. Combine with --color.
--color Color, this command adds colors
to the output of ls. A very usefull option, make an alias
for it!!
Table
Of Contents
|