Choose style:

Author Topic: Basic commands every Linux user should know!  (Read 2373 times)

0 Members and 1 Guest are viewing this topic.

Offline Kyle

  • Member
  • ***
  • Posts: 140
  • Karma: 13
  • Microshaft cannot compete...
    • View Profile
  • Peppermint version(s): 7 (x64)
Basic commands every Linux user should know!
« on: July 13, 2016, 11:53:34 pm »
This is intended for new/newer users of Peppermint (or any Ubuntu distro). I created this is to help new users learn how to use the terminal instead of relying on GUI tools to complete day-to-day tasks. One benefit of using the terminal is that you are able to do everything needed on your system from one location and the terminal (depending on which terminal emulator you use) can be more lightweight than using the Ubuntu software center application available on your distro.

Quote
Code: [Select]
sudo apt-get update
Quote
Update's the package lists from the Ubuntu PPA's (and other PPA's you may have manually added) to check for newer versions and update needed dependencies. Does not actually update software itself, only updates the information needed to "upgrade".

Quote
Code: [Select]
sudo apt-get upgrade
Quote
Downloads and installs newer versions of installed software that is currently installed on your computer. This command should be ran after updating the package lists.

Quote
Code: [Select]
sudo apt-get autoremove
Quote
Removes any dependencies that are not being used by other application(s) on the system. Helps to clear up disk space (though difference is usually minimal).

Quote
Code: [Select]
sudo apt-get install
Quote
Used to install software of your choice. Will download the program itself and also download needed dependencies for the program to run.

Quote
Code: [Select]
sudo apt-get remove --purge
Quote
Used to remove an application and purge its temporary file(s). Same as completely removing a program.

Quote
Code: [Select]
passwd
Quote
Used to change your password. It will require you to set your password, then re-type it and then your password is changed. You will not see what you are typing (for security reasons and it's how Ubuntu works).

Quote
Code: [Select]
top
Quote
This is Ubuntu's default terminal process viewer. It is the terminal version of a "Task Manager". You are able to see CPU usage, memory usage, uptime, average load, etc.

Quote
Code: [Select]
htop
Quote
This tool usually does not come pre-loaded on Ubuntu based distro's. It is a more visually appealing way to view processes and CPU usage, memory usage. Similar to top. Is less advanced than top.

Quote
Code: [Select]
free -m
Quote
Show's how much RAM is used and how much RAM is available for use.

This will be updated regularly in order to help new users. The list will continue on until I feel I have covered most of the commands that a user will have to use daily.
« Last Edit: March 07, 2017, 08:54:29 pm by Kyle »
[] Dell Latitude E6400 []
[] CPU: Intel Core 2 Duo P8600 [] RAM: 4GB DDR2 [] HDD: 1TB 5400RPM WD Black []

Offline Bloch

  • Member
  • ***
  • Posts: 112
  • Karma: 7
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Basic commands every Linux user should know!
« Reply #1 on: July 15, 2016, 07:26:59 am »
Thanks.  :)

Offline farms

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 64 Bit
Re: Basic commands every Linux user should know!
« Reply #2 on: December 14, 2016, 02:07:03 pm »
Thanks  just I was looking for