What use is learning the command line for someone new to Linux?

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
deschreiber
Level 1
Level 1
Posts: 12
Joined: Fri Apr 26, 2019 9:37 pm

What use is learning the command line for someone new to Linux?

Post by deschreiber » Thu May 30, 2019 8:19 am

I recently deleted Windows 10 from a laptop, installed Linux Mint (which I like — especially how much faster it boots), and started to learn the command line. It's interesting, and I understand that it's considered part of being a Linux novice, but as I work through the commands and the scripting language, I can't quite see how I will be making use of it in the future. I can see how people like administrators and programmers are likely to get a lot of use out of it, but what about the "average" computer user?

Hoser Rob
Level 15
Level 15
Posts: 5650
Joined: Sat Dec 15, 2012 8:57 am

Re: What use is learning the command line for someone new to Linux?

Post by Hoser Rob » Thu May 30, 2019 8:31 am

I don't really think learning scripting is really necessary but you need some CLI chops because Linux isn;t going to have a GUI tool for everything.

gm10
Level 20
Level 20
Posts: 10133
Joined: Thu Jun 21, 2018 5:11 pm

Re: What use is learning the command line for someone new to Linux?

Post by gm10 » Thu May 30, 2019 8:37 am

deschreiber wrote:
Thu May 30, 2019 8:19 am
I understand that it's considered part of being a Linux novice, but as I work through the commands and the scripting language, I can't quite see how I will be making use of it in the future. I can see how people like administrators and programmers are likely to get a lot of use out of it, but what about the "average" computer user?
If you're not planning on automating some tasks via scripts or diving into the inner workings of your system then I wouldn't bother. Linux Mint can basically be run command line free, the days where you strictly needed CLI skills are long gone. If you're looking for support here we may give you terminal commands because it's easier for us and desktop environment-independent, but other than having to know how to copy & paste them you should be good. ;)
Last edited by gm10 on Thu May 30, 2019 9:03 am, edited 2 times in total.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Moem
Level 19
Level 19
Posts: 9714
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: What use is learning the command line for someone new to Linux?

Post by Moem » Thu May 30, 2019 8:49 am

Hoser Rob wrote:
Thu May 30, 2019 8:31 am
you need some CLI chops because Linux isn;t going to have a GUI tool for everything.
I don't have them and I'm doing fine. All I learned is how to copypaste to and from a terminal. That's all that is needed.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
michael louwe
Level 10
Level 10
Posts: 3300
Joined: Sun Sep 11, 2016 11:18 pm

Re: What use is learning the command line for someone new to Linux?

Post by michael louwe » Thu May 30, 2019 10:38 am

deschreiber wrote:
Thu May 30, 2019 8:19 am
.... and started to learn the command line.,. . I can see how people like administrators and programmers are likely to get a lot of use out of it, but what about the "average" computer user?
.
Computer users are supposed to first test-drive Linux with a Live Linux DVD/USB before installing.

Otherwise, ignorant average computer users can sometimes be stumped when they can't get their devices working ootb(out of the box) after installing Linux, which had presented no problems ootb in Windows, eg Broadcom and Realtek Wifi adapters( https://help.ubuntu.com/community/WifiD ... er/bcm43xx , https://easylinuxtipsproject.blogspot.c ... altek.html ), USB Wifi adapters for desktops, dedicated Nvidia graphics cards, obscure branded sound cards, multi-monitor setups, USB 3G/4G modem dongles, graphics tablets, hybrid SSHDs, high-end laptops in Intel RST RAID mode, netbooks with Intel Bay Trail or Cherry Trail processors, etc. To solve some of these hardware problems requires the command-line or Terminal use.
....... So, hardware support, especially for peripheral devices, can be a problem in Linux, maybe because of the free/libre/GNU software philosophy of rejecting non-free/closed-source/proprietary software, even if they have been freely/openly licensed to Linux and supported by the hardware/OEM manufacturers.

OTOH, ignorant average users can also often end up lucky enough to have everything working ootb after installing Linux because their computers so happened to be Linux-compatible hardware-wise.

Software-wise, ie the desktop Linux OS and apps/programs, is mostly OK ootb for the average users = not much need for the command-line or Terminal.

User avatar
redx87
Level 3
Level 3
Posts: 115
Joined: Fri Feb 08, 2019 7:20 am

Re: What use is learning the command line for someone new to Linux?

Post by redx87 » Thu May 30, 2019 12:24 pm

deschreiber wrote:
Thu May 30, 2019 8:19 am
I I can see how people like administrators and programmers are likely to get a lot of use out of it, but what about the "average" computer user?
I'm a bit long in the tooth for learning new tricks and find it quite a challenge to get my head around a lot of the command line jargon used in Linux. But I have persisted and picked up the basics, and seem to get by ok on that. Because there is such a wealth of info on the Linux forums, and there's always people willing to help, it's really only necessary to learn how to copy and paste commands from a webpage to the Terminal, as others have mentioned

But, having said that, I must add that I really like using the Terminal and I think I am more advanced now than merely a copy/paste user. I find that when I do type in a command and it runs successfully it's quite a good feeling to see it all happening before your eyes.

oldgranola
Level 4
Level 4
Posts: 378
Joined: Fri Sep 05, 2014 1:39 am

Re: What use is learning the command line for someone new to Linux?

Post by oldgranola » Thu May 30, 2019 1:13 pm

redx87 wrote:
Thu May 30, 2019 12:24 pm
deschreiber wrote:
Thu May 30, 2019 8:19 am
I I can see how people like administrators and programmers are likely to get a lot of use out of it, but what about the "average" computer user?
I'm a bit long in the tooth for learning new tricks and find it quite a challenge to get my head around a lot of the command line jargon used in Linux. But I have persisted and picked up the basics, and seem to get by ok on that. Because there is such a wealth of info on the Linux forums, and there's always people willing to help, it's really only necessary to learn how to copy and paste commands from a webpage to the Terminal, as others have mentioned

But, having said that, I must add that I really like using the Terminal and I think I am more advanced now than merely a copy/paste user. I find that when I do type in a command and it runs successfully it's quite a good feeling to see it all happening before your eyes.
Ya, it happens over time particularly as one is asked to run the same commands again or encounters a similar need. Then a little bit of reading on the interwebs while sipping coffee or beer on 'helpful hints' etc you get more the hang of it. I do like to fiddle so I can get into trouble and have to diagnose via command line. I keep a list of commands and switches/pipes that have been useful
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob

cliffcoggin
Level 5
Level 5
Posts: 532
Joined: Sat Sep 17, 2016 6:40 pm
Location: England

Re: What use is learning the command line for someone new to Linux?

Post by cliffcoggin » Thu May 30, 2019 1:18 pm

deschreiber wrote:
Thu May 30, 2019 8:19 am
I can't quite see how I will be making use of it in the future. I can see how people like administrators and programmers are likely to get a lot of use out of it, but what about the "average" computer user?
When I adopted Linux two years ago I resolved to not use the command line as an experiment to see if it was possible, and with the single exception of installing drivers for a printer, I have been successful, so I suggest you ignore Terminal use until such time as you actually want to.
Cliff Coggin
Mint 18.3 Cinnamon

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

Re: What use is learning the command line for someone new to Linux?

Post by Flemur » Thu May 30, 2019 3:47 pm

It sounds smarter to say "bash scripting" rather than "command line", and no, you don't need to know a whole lot. Learn how to copy/paste and be careful of 'sudo'.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
lsemmens
Level 9
Level 9
Posts: 2676
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: What use is learning the command line for someone new to Linux?

Post by lsemmens » Thu May 30, 2019 9:25 pm

Sometimes, when getting, or giving, help, the command line is useful as it is way more accurate than trying to navigate a GUI to achieve a (relatively) simple task. That said, for most, it is an unnecessary waste of time to learn all the various commands to do stuff that we are quite capable of in a GUI. I wouldn't worry about it, unless there is something you specifically need,
Kernel: 4.15.0-46-generic x86_64 bits
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop HP-ProBook-470-G2 8Gb RAM SSD
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Mint machines
Out of my mind - please leave a message

oldgranola
Level 4
Level 4
Posts: 378
Joined: Fri Sep 05, 2014 1:39 am

Re: What use is learning the command line for someone new to Linux?

Post by oldgranola » Thu May 30, 2019 9:52 pm

Flemur wrote:
Thu May 30, 2019 3:47 pm
It sounds smarter to say "bash scripting" rather than "command line", and no, you don't need to know a whole lot. Learn how to copy/paste and be careful of 'sudo'.
Problem with that is that "Bash" isn't the only command line shell we use...
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob

User avatar
farkas
Level 4
Level 4
Posts: 287
Joined: Mon Sep 21, 2015 6:10 pm
Location: Oregon

Re: What use is learning the command line for someone new to Linux?

Post by farkas » Fri May 31, 2019 12:08 am

No need to explicitly learn linux commands but you shoul be able to use them when a responder to your post about a problem suggests a solution using them. The copy and paste method is the best way to enter them in terminal to minimize typo errors. It is a lot more efficient to use commands than using GUI. I learned some by using them often, they come in handy. In case you wonder what a particular command does see https://www.geeksforgeeks.org/linux-commands/. Welcome to Linux Mint!
Last edited by farkas on Fri May 31, 2019 2:14 am, edited 1 time in total.
If your query has been resolved, edit your first post and add [SOLVED] to the subject line.
If you found a solution on your own please post it.

hcentaur13
Level 4
Level 4
Posts: 463
Joined: Sat May 18, 2013 5:13 pm

Re: What use is learning the command line for someone new to Linux?

Post by hcentaur13 » Fri May 31, 2019 2:09 am

open a browser and type: man bash
Thgat defines the handling of bash, the text shell. It may cost hours to get a quick work through but you can spend days and some time between to get confirm with al the possibilities bash serves you., To get more complete, bash is the default command shell - but not the only that exists,.

Give you yourself a lot of time to learn. Do it slowly and learn bitwise. Each day again and again. It is a lot content to learn! bash itself owns a lot of command integrated in it. Man, many commands are distributed in external commans that gets called as parameter from iother commands. As root, the master of your computer you have to learn and ,learn.,..,.,.,

The command named man is your friend. To learn you would start with
man man. That helps you to understund the command man and other commands like hep,l man ls, man sudo and so on.......
The key named "space" expand a partly typed command.
The keey up and down scrolls through the list of prior typed command.......

User avatar
kyphi
Level 9
Level 9
Posts: 2627
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: What use is learning the command line for someone new to Linux?

Post by kyphi » Fri May 31, 2019 2:31 am

The simplest answer to that question is: Because it is there.

A lesson learned early was never to use a command if you do not know what that command does. Not all commands are benign and one with a typo could have disastrous consequences.

Some years ago I had the privilege of being a tester for an operating system that was entirely without a GUI - command line only - yes, it is possible.

Windows too uses a command line, go to "Run" and type cmd

It all depends on you what to do and how much you want to learn.
Linux Mint 19.2 Cinnamon - 64bit

missmoondog
Level 4
Level 4
Posts: 205
Joined: Wed Nov 07, 2018 9:17 am

Re: What use is learning the command line for someone new to Linux?

Post by missmoondog » Fri May 31, 2019 8:34 am

kyphi wrote:
Fri May 31, 2019 2:31 am
The simplest answer to that question is: Because it is there.

A lesson learned early was never to use a command if you do not know what that command does. Not all commands are benign and one with a typo could have disastrous consequences.

Some years ago I had the privilege of being a tester for an operating system that was entirely without a GUI - command line only - yes, it is possible.

Windows too uses a command line, go to "Run" and type cmd

It all depends on you what to do and how much you want to learn.
"
A lesson learned early was never to use a command if you do not know what that command does. Not all commands are benign and one with a typo could have disastrous consequences"

exactly why i try to avoid the command line at all costs! been there and done that before. i can type, but not the greatest at accuracy. most modern linux distro's will work perfectly without ever using the command line and if ever needed, that is what these forums are for!

only command i know off the top of my head is how to edit my host file and i don't really think that's necessary when using ublock origin adblocker as it has the option to use the mvps host file built in.

fwiw, been using linux for a few years now and have wiped several of my computers of windows and usually have no issues.

jglen490
Level 5
Level 5
Posts: 762
Joined: Sat Jul 15, 2017 9:57 pm

Re: What use is learning the command line for someone new to Linux?

Post by jglen490 » Fri May 31, 2019 5:37 pm

Linux is all about choice. That's why there are so many GUI programs that do pretty much the the same thing. The command line (CLI) is the same thing - it gves you choices. For me, there are some routine tasks that are easier, if not faster, on the CLI than in a GUI.

Installing some program, when I know the name of the program, is fast as in

Code: Select all

sudo apt install <someprogram>
, rather than starting up synaptic typing in the name or some characteristic of the program, then slecting the program, then right-clicking and selecting install.

There are times when a GUI is easier, if not faster, such as if I want to install something but I don't know the name, I can open synaptic and type in some info about a program and synaptic may bring up a lot of lines. Then I can scroll up/down until I find what I want, select, etc.

So it's all about usefulness and your choice of resolving some question. I don't look at it in some elitist way (if you don't know CLI, you don't really know Linux!), rather I look at it as a way to solve some problem, or find some information that might be more difficult otherwise. It's just a tool.
I feel more like I do than I did when I got here.
Toshiba A135-S2386, Intel T2080, ATI Radeon® Xpress 200M Chipset, 2GB RAM, 500GB

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

Re: What use is learning the command line for someone new to Linux?

Post by Flemur » Fri May 31, 2019 6:05 pm

oldgranola wrote:
Thu May 30, 2019 9:52 pm
Flemur wrote:
Thu May 30, 2019 3:47 pm
It sounds smarter to say "bash scripting" rather than "command line", and no, you don't need to know a whole lot. Learn how to copy/paste and be careful of 'sudo'.
Problem with that is that "Bash" isn't the only command line shell we use...
I used ksh back in unix days, as little as possible, and only reluctantly switched to bash for linux...but now the only difference I can think of is how to repeat a command, "!" in bash and "r" in ksh, which is better.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Post Reply

Return to “Newbie Questions”