FANDOM


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

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

  • LS

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

aptitude

OR

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 http://www.gnu.org/software/bash/manual/bashref.html.

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

LinksEdit

Interwiki linksEdit

External linksEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.