Questions regarding the CLI and how to execute commands ..

Forum rules
Before you post please read how to get help
Post Reply
Spud1200
Level 2
Level 2
Posts: 80
Joined: Thu Mar 10, 2016 10:50 pm

Questions regarding the CLI and how to execute commands ..

Post by Spud1200 » Mon Aug 27, 2018 7:45 pm

I've been reading online and doing some reading on the man pages for the command chmod and I'm curious about being able to properly execute a command.

With the terminal, if I enter a command such as; sudo apt-get remove bleachbit , using bleachbit as an example of an application I could remove my question is this.

How do I properly format a given command in the terminal or at least have an understanding of how the commands are broken down.

Sudo being super user do, then; apt-get I think having something specifically to do with Debian and finally remove; being the command and specific instruction for finally the software bleachbit I want to in this case remove.

Is their a method behind how to remember or a proper way to format commands ..


At the minute I'm looking in too and trying to learn the file and folder permissions and how to change things in the CLI and on a root level and hence I'm curious to know when I'm changing folder and file permissions how to not only go about it but also still learning the basics about permissions.

User avatar
catweazel
Level 17
Level 17
Posts: 7774
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Questions regarding the CLI and how to execute commands ..

Post by catweazel » Mon Aug 27, 2018 7:54 pm

Spud1200 wrote:
Mon Aug 27, 2018 7:45 pm
Is their a method behind how to remember or a proper way to format commands ..
There are commonalities. Perhaps this will help: http://sourceforge.net/projects/linuxco ... f/download
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
kc1di
Level 13
Level 13
Posts: 4790
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Questions regarding the CLI and how to execute commands ..

Post by kc1di » Mon Aug 27, 2018 8:44 pm

This page has a pretty good tutorial on linux commands http://linuxcommand.org/lc3_learning_the_shell.php
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

User avatar
all41
Level 13
Level 13
Posts: 4998
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Questions regarding the CLI and how to execute commands ..

Post by all41 » Mon Aug 27, 2018 9:10 pm

There are many links on this site for beginners and advanced users covering many topics
including command line

http://caverdan.com/LinuxLinks2016.html#Commands
Proud to be a supporter and monthly contributor to Mint.

Post Reply

Return to “Scripts & Bash”