Commands

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Newbie Bob
Level 1
Level 1
Posts: 31
Joined: Thu Jun 07, 2018 6:01 am
Location: Palm Bay, FL

Commands

Post by Newbie Bob » Thu Jul 05, 2018 3:55 am

Since there are many combinations of distros and releases, are the Mint cmds consistent ? Can i assume that cmds that work in one environment (distro/release) will work in any Mint environment ?

Apparently some cmd parameters are "case-sensitive" (upper or lower ltrs). Is this true for ALL Mint environments ?

Newbie Bob

gm10
Level 18
Level 18
Posts: 8726
Joined: Thu Jun 21, 2018 5:11 pm

Re: Commands

Post by gm10 » Thu Jul 05, 2018 4:12 am

Unlike Windows, *nix systems are typically case sensitive, both in file names and commands.

There is no guarantee that commands never change, no. While consistency is obviously desired, it cannot always be maintained across the evolution of a piece of software. And when looking at different distros you won't necessarily have the same commands or even the same command shell available. The common base of Linux is only the kernel, the software that gets packaged with it is the choice of each distribution.

Any particular commands you are worried about?
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Newbie Bob
Level 1
Level 1
Posts: 31
Joined: Thu Jun 07, 2018 6:01 am
Location: Palm Bay, FL

Re: Commands

Post by Newbie Bob » Thu Jul 05, 2018 11:25 am

Hi GM10: Thanx for the quick reply to my post.

(1) there is no particular cmd i need help with right now.

(2) as a l-o-n-g time Win user looking to convert to Linux it appears that knowledge of some cmds is essential but it ain't going to be EZ learning them. Is there a recommended tutorial just for cmds that i can study ?

Newbie Bob

gm10
Level 18
Level 18
Posts: 8726
Joined: Thu Jun 21, 2018 5:11 pm

Re: Commands

Post by gm10 » Thu Jul 05, 2018 11:38 am

Newbie Bob wrote:
Thu Jul 05, 2018 11:25 am
(2) as a l-o-n-g time Win user looking to convert to Linux it appears that knowledge of some cmds is essential but it ain't going to be EZ learning them. Is there a recommended tutorial just for cmds that i can study ?
That really depends on your wants/needs for your Linux experience. If you just want to use your office/media/Internet applications you'll probably never have to use the command line at all.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

frankt
Level 1
Level 1
Posts: 17
Joined: Sun Jun 25, 2017 5:53 pm

Re: Commands

Post by frankt » Thu Jul 05, 2018 1:48 pm

I recommend downloading and reading William Shotts' The Linux Command Line ebook. The latest edition that I know of is TLCL-17.10.pdf . You can search for a free download on the internet. It was released Oct. 19, 2017.

I found different distributions of Linux do have slight variations on the same command. Generally, the command responses are the same, but don't be surprised if they are not. Some of these differences are pointed out in the book.

I keep the ebook in my home directory to use as reference, and to help me remember how perform certain tasks.

Good luck.

User avatar
Flemur
Level 17
Level 17
Posts: 7076
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Commands

Post by Flemur » Thu Jul 05, 2018 2:44 pm

Newbie Bob wrote:
Thu Jul 05, 2018 3:55 am
Can i assume that cmds that work in one environment (distro/release) will work in any Mint environment ?
There different "shells", each of which probably all linuxes can handle, the default for ubuntu/mnit is "bash":
https://www.gnu.org/software/bash/
"Bash is the GNU Project's shell. Bash is the Bourne Again SHell."
IOW, based on the "Bourne shell".

On Unix I prefered "ksh" = KornShell (www.kornshell.com), but IIRC they're mostly pretty similar.

https://en.wikipedia.org/wiki/Unix_shell
Apparently some cmd parameters are "case-sensitive" (upper or lower ltrs). Is this true for ALL Mint environments ?
Pretty much all of everything is case-sensitive: commands, parameters, file names.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

srq2625
Level 4
Level 4
Posts: 420
Joined: Tue Jan 08, 2013 11:35 am
Location: State: Constant Confusion, Country: D'oh

Re: Commands

Post by srq2625 » Fri Jul 06, 2018 7:34 am

gm10 wrote:
Thu Jul 05, 2018 11:38 am
That really depends on your wants/needs for your Linux experience. If you just want to use your office/media/Internet applications you'll probably never have to use the command line at all.
The first part is absolutely true. The second is particularly true of LinuxMint and a host of other distros. However, there are some that REQUIRE a good working knowledge of the commandline/terminal interface AND a majority of the commands available therein. Like gm10 said, it "really depends on your wants/needs".

User avatar
BG405
Level 7
Level 7
Posts: 1856
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Commands

Post by BG405 » Fri Jul 06, 2018 12:25 pm

srq2625 wrote:
Fri Jul 06, 2018 7:34 am
there are some that REQUIRE a good working knowledge of the commandline/terminal interface AND a majority of the commands available therein.
Arch Linux is a good example of this, but even then a lot of the commands are familiar (except of course the package management, which uses Pacman & Yaourt etc.).

I wonder if there's a way to list ALL the commands available on a system? Off to do a search ...
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 4GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

gm10
Level 18
Level 18
Posts: 8726
Joined: Thu Jun 21, 2018 5:11 pm

Re: Commands

Post by gm10 » Fri Jul 06, 2018 12:56 pm

BG405 wrote:
Fri Jul 06, 2018 12:25 pm
I wonder if there's a way to list ALL the commands available on a system? Off to do a search ...
Depends what you consider commands. You could just search for all executable files find / -type f -executable I guess. Whether that's all that useful, well...
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
thx-1138
Level 7
Level 7
Posts: 1843
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Commands

Post by thx-1138 » Fri Jul 06, 2018 1:20 pm

BG405 wrote:
Fri Jul 06, 2018 12:25 pm
............
Linux is...abyss (had never heard of compgen before).

Post Reply

Return to “Newbie Questions”