Sinisterly
Basic Debian Command line Tutorial - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Computers (https://sinister.li/Forum-Computers)
+--- Forum: Operating Systems (https://sinister.li/Forum-Operating-Systems)
+--- Thread: Basic Debian Command line Tutorial (/Thread-Basic-Debian-Command-line-Tutorial)



Basic Debian Command line Tutorial - episode4 - 09-21-2017

Hello this will be a basic Debian, Ubuntu, and Linux mint command tutorial. You will find this very simple and similar to the Windows cmd.

Print working directory:
Code:
pwd
Change directories:
Code:
cd /home/username/Documents
Create folder :
Code:
mkdir this_is_a_folder
Show contents in the directory:
Code:
ls
Command line text editor:
Code:
nano this_is_a_file.txt
Download a package:
Code:
sudo apt-get package_name
Update :
Code:
sudo apt-get update
Upgrade :
Code:
sudo apt-get upgrade

Now you know the basics of creating a file, navigating the filesystem, and downloading a package in Linux.


RE: Basic Debian Command line Tutorial - ParadoxEpoch - 04-20-2018

Pretty decent cheat sheet for new Debian users. Should probably be using apt over apt-get nowadays though.


RE: Basic Debian Command line Tutorial - ParadoxEpoch - 04-20-2018

Also don't forget quotations over directory paths if you're using a space.