Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I started on computers when a command line interface was the only thing available.
Quote:
Originally Posted by rclark
Started with DOS/CPM back in the 80s.
Quote:
Originally Posted by jmccue
When I started, there were no GUIs.
Quote:
Originally Posted by fatmac
Started out before GUIs were the norm, mid to late 90s
Quote:
Originally Posted by jailbait
I worked with CLIs of various types for 30 years before I saw a GUI.
Quote:
Originally Posted by wpeckham
My computer experience started with IBM-1130 and punchcards only.
Quote:
Originally Posted by metaed
My first CLI was an IDE for the BASIC programming language.
Quote:
Originally Posted by scasey
Hmmm. CLI from the “start”… after punch cards anyway.
Quote:
Originally Posted by sundialsvcs
I have worked with many "command-line interfaces." Because, for the most part, "this was all we had."
Has someone left the gate open again?
CLI? That's luxury, that is! Back in my day, all we had was a magnetised needle and a steady hand. If you were lucky, Pop had finished his crossword and you could use the magnifying glass.
Quote:
Originally Posted by wpeckham
You want advice on learning the CLI? Immersion.
Yeah, that's the best advice so far in this thread.
That was called an acoustic coupler. It commonly supported a transmission rate of 0.00011 megabits per second, or even less.
I had one of those. Not the 55 Baud, or even the 100 Baud, but full on 300 Baud! I used it with a VIC-20, and later with a C=64. I never got up to the 1200 Baud ones that came out later. I was on bitnet and milnet at the time. (Archie, FTP, good stuff.) After I built my own PC (overclocked 8086, 5Meg drive, 640K ram, CGA graphics, great stuff for the day) I got a 9600 baud modem on a card. The SPEED!
In the late 80s I started with CP/M on a 64k computer.
A few years later I worked with MS-DOS on a 640k PC.
And worked with my first GUI, Sunview on SunOS, on an expensive 8MB system, CAD software on it. For system tasks I was at the # prompt in a "Shell tool". And I realized: the shell was more than a command line, it is good for automation!
CLI? That's luxury, that is! Back in my day, all we had was a magnetised needle and a steady hand. If you were lucky, Pop had finished his crossword and you could use the magnifying glass.
Yeah, that's the best advice so far in this thread.
The best way to learn about the CLI is to use it.
Yes, the 3 most important steps are: practice, practice and more practice.
Otherwise when I started there was no Windows and there was no X11 (but ZX Spectrum, Commodore 64, ...) too.
I can still remember my first reactions to Windows 3. A colleague had a PC in his office that ran DOS and he had put Windows on it to show us. He said it was the wave of the future. I said it would never catch on. For a start you would have to memorise what all those icons stood for and who had the time for that? It just wasn't intuitive. It was like giving up our nice simple alphabetic script to use Chinese characters instead. Also I couldn't make head or tail of how to use a mouse. The cursor just skittered all over the screen.
CLI? That's luxury, that is! Back in my day, all we had was a magnetised needle and a steady hand. If you were lucky, Pop had finished his crossword and you could use the magnifying glass.
Yeah, that's the best advice so far in this thread.
The best way to learn about the CLI is to use it.
The best way to learn about the CLI is to use it. << Best way to learn, Just Use It. and Just Do It. Hey Nike, you hear me.
All this having been said, I simply agree: “Live it.” The water’s fine. “Commands” are an entirely appropriate and powerful way to approach a computer, and you’ll get the hang of “piping” in no time.
It’s important to note that any “command” can be a program, written in the language of your choice. Yes, even “PHP” can do far more than “web sites!” (Google it: “shebang.”)
Especially in the Unix/Linux environments, this is very fundamental. (And I’m amused to notice that Microsoft finally came out with what they call a “PowerShell.” Although, unsurprisingly, they did it their own way to suit their own environment.) It simply takes a little practice to quickly achieve fluency. You will then find yourself choosing(!) to use it again and again. There’s great power in that “terminal window.”
Last edited by sundialsvcs; 01-18-2024 at 09:59 AM.
Same for me, paper tape, punch cards, HP64000 boat anchor emulators atached to the Vax. No GUI until MAC and Windows became mainstream enough, and Linux desktops followed suit. Still the GUI is solely a multi window capable space so I can have multiple workflows open, all text editors and command line prompts.
The classic Mac was unusual in that it ONLY had a GUI, and that was incredibly limiting. The best thing that ever happened to the Macintosh was Apple booting out Steve Jobs. This meant he had to develop a spiteful anti-Mac NeXT ASAP. And that meant building on top of something quickly - a Unix knockoff. NeXT wasn't the pure "my way or the highway" GUI only vision Steve Jobs had, but it was ... uhh ... better. In every way.
So, when Steve Jobs eventually returned to Apple, he brought the *nix paradigm back to the Mac. And the result was ... better.
So ... I had not been in IT, when I got my first PC. I actually hated computers and wanted nothing to do with them. But my girlfriend claimed that she could use some training at home, as someone had asked her to use a graphic design tool on the job.
And throughout all that followed, Dos 5, Windows from 3.0 to 2000 and Linux from S.u.S.E. 5.0 to the current Debian testing rolling release... I have *still not become a maestro with the CLI*. And I would never be one.
Anyhow, my answer is that you should learn as much about anything as needed to
*) accomplish your tasks at hand
*) know some alternatives
*) know how they work, in case that you must change your routine.
This is compatible with the other advice further up in the thread. But, having been something professional in IT for a while, I must state that all is relative. You do not have to know it all.
There is one thing required to become a "maestro" with a CLI - you need to have an unreasonable devotion to laziness.
By that, I mean that when you accomplish an annoying task you are so devoted to never doing it again that you spend WAY MORE TIME AND EFFORT figuring out how to automate it with a command line script (possibly not even a formal script - just copy/paste from a text file of notes).
This is unreasonable devotion to laziness because you're actually spending a lot of effort into not spending more effort.
A normal person will just click around in a GUI interface and just muddle through it every time. Maybe the overall effort will be more than automating the process, but 95% of the time it's not.
A "programmer" person will think, "This'll just take me five minutes to automate" oops five hours later...
My first (non gaming console) computer was an 80286 IBM PC that me and my neighbor pieced together from parts he got at a flea market. It had MS-DOS 4, no networking, a 10mb disk, and one 5.25 floppy at first. There was no documentation, just "/?" after the commands to get a clue as to what they might do. I'd visit his house now and then to find if he found something new. Eventually he had Turbo Pascal, dBase 3+, and then Borland C++.
When I moved to Windows I found having to click thru everything a big hassle. To this day, the first thing I do on Windows or Mac is open a command line.
I should add that to learn it, you have to use it. There are lots of commands, but if you learn the basics of 'getting around' the file system there aren't that many to memorize. You know cd, ls, mv, cp, rm. Then su, sudo, chgrp, chown, chmod, and passwd. That covers the most used commands. Go on from there. Now for a text editor, I wouldn't recommend vi in this day and age, I recommend something like nano. vi is still there and useful, but a bit harder to use. I've just moved on to nano.
On my RPIs I simply ssh into them to do any work. Note that if I writing an application for the RPI, a lot of times I'll simply write it on my workstation using a GUI editor such as geany. Then sftp the file over to the RPI when ready to test. Easy peasy. But for configuration changes, I can simply ssh in, go to root, edit a config file with nano and done. Note I have quite a few RPIs around. With SSH I can use one keyboard and monitor (my workstation) to access them all. No monitor/keyboard/mouse required for each. Saves a lot of space .
Some things are simpler with GUI, some with the CLI. Both have their place.
Pretty much every keyboard conforms to a standard layout ... Sorry 'bout that.
I think the standard layout sucks actually. Felt much better after I pried out the caps lock keys.
Quote:
Originally Posted by rokytnji
I repair motorcycles for a living ... Some times I take a crooked road to get my head straight. Not all who wander are lost.
Thank you. I need to hear that from time to time.
Quote:
Originally Posted by rclark
we have people coming out schools that are 'mouse cripples' even in Windows. It is sad actually as the command line is so powerful and easy to use.
HAHA
Quote:
Originally Posted by wpeckham
You want advice on learning the CLI? Immersion.
...
Tech are innovators, while management have MBAs. To an MBA the term "industry standard" means dependable. When there is a meeting and the management says they want to do things the "industry standard" way the innovators hear "let's throw away our competitive advantage and do it just like everyone else until the bankruptcy court locks the doors" and management cannot understand why they push back.
That's interesting. I wouldn't want to neuter innovation and fun with management, but I bet that makes a company more liquid/tradeable.
Last edited by disk_bearing; 01-18-2024 at 07:22 PM.
When I started, there were no GUIs. But, all Operating Systems came with very good printed manuals. Having those were far better than what exists on the WEB even now. The Best was Wang Labs DOS and Coherent OS. Those Manuals had me fully prepared for Linux and BSDs when they came into existence.
That's fascinating and actually makes sense. The inflexibility of paper and ink has special cognitive properties. Check out my multimonitor setup.
Where do yous like to go for underground scripts and tricks?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.