The Debian Command Line is a command prompt similar, but much more powerful than, MS-DOS. Most Linux users will have to use it at some point or another, at least for the full experience. By default Debian uses BASH - the Bourne Again SHell.

Basic CommandsEdit

BASH is extremely powerful and complex. Here are some basic commands you should know.

  • CD

cd [...]
Just as in DOS, cd stands for Change Directory. Type cd ..
To change to the next directory up.

  • PWD

Prints the working directory - the directory or folder that you are currently in.

  • LS

Prints all files in the working directory.

  • SU

su Enter root password:
The SU command gives you root privileges if you have the password.

  • APTitude



apt-get [package]
The Aptitude package manager allows you to download software in packages.

  • NANO

nano [file]
Nano is a basic text editor that runs in the shell. It allows you to edit documents with root privileges if you have executed SU.

  • RM

rm [file]
Removes the specified file.

Advanced working and commandsEdit

BASH's commands are far too complex to list and describe here. Direct yourself to

You can see the BASH is so powerful that it can be used as a standalone programming language!


Interwiki linksEdit

External linksEdit