Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.48 KB

linux.md

File metadata and controls

66 lines (41 loc) · 1.48 KB

GOOGLE !!!

Google is your best friend. Unless you're looking up the details of a specific command or file format, Google should be the first resource you consult for any question. Make it a habit!!!

man command

The manual pages, usually called "man pages" because they are read with the man command. Man pages are typically installed with the system.

man: read man pages

man title formats a specific manual page and sends it to your terminal.

  • For example we use the man command for ls command
$ man ls

As a result you get a page with:

  • Name of the command
  • Synopsis of the command
  • Description of the command

And some other options that we will discuss later.

pwd command

ls command: List files/directories

Usage:

ls options [location]

When run without options or location ls will print a basic list of files and directories in the current directory.

Common Options:

-a, --all               Show hidden and special files
-h, --human-readable    Display files sizes in human-readable format
-l, --long              Show permissions and size of each result
-r, --recursive         List directories recursively

mkdir command

cd command

touch command

mv command

cp command

df command

ps command

apt-get install command

With apt-get install command, you download and install the software you want. Just like that, with a single command.

On your terminal write

$ apt-get install wget

and you are ready to go