Questions regarding the CLI and how to execute commands ..

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Spud1200

Questions regarding the CLI and how to execute commands ..

Post by Spud1200 »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
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 »

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
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
kc1di
Level 18
Level 18
Posts: 8147
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

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

Post by kc1di »

This page has a pretty good tutorial on linux commands http://linuxcommand.org/lc3_learning_the_shell.php
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
all41
Level 19
Level 19
Posts: 9498
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 »

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

http://caverdan.com/LinuxLinks2016.html#Commands
Everything in life was difficult before it became easy.
Locked

Return to “Scripts & Bash”