LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-17-2024, 10:41 AM   #1
disk_bearing
Member
 
Registered: Mar 2022
Posts: 36
Blog Entries: 1

Rep: Reputation: 2
Before you were good at CLI


For those of you helping all the newbies, what was it like before you got comfortable? What resources or environment or conditions were crucial for getting to the next level?

THANK YOU!

Decades ago I thought I was SO COOL for burning and installing Ubuntu live CDs. But needing the Command Line Interface for anything was like a wall. I had no skill or focus.

Today I have the right computer and blacked out my keyboard. I am half way through The Linux Command Line and chat GPT has been hugely helpful. Progress feels good. Still,
- most of my habits are not best practice
- still mashing arrow keys in vim and bash
- can't grep or find yet; still using the gui a lot
- man pages feel unreadable to me
- building short scripts with chat gpt and no real automation; most of the stuff I try without it fails.
- weak git understanding. Can't connect to github.
- not sure how to mesh with the linux community or normies for that matter. I don't like social apps.
- Wish I had focused on this back in high school.

My goal for a very long time has been to self-host some web services, and make a crude chat bot that draws from ALL of my files and can sort-of survive on its own. I'm starting closer to first principles so I / it can control the stack. A year ago I thought I was five years away. Now, maybe more like 50 years away. My career and most of my time is not with computers.

Again, thank you so much!!
 
Old 01-17-2024, 11:13 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I started on computers when a command line interface was the only thing available. But there was no single standard, and differences would often be difficult to remember.

Anyway, let me explain something about why vim is the way it is. Back when "vi" was developed, you had a ridiculously diverse amount of different terminals and *nix computers. Keyboards would have different layouts of special keys, and often the special keys you needed weren't even there. And often things were configured incompletely so the special keys didn't work.

With vi, you only needed to locate one special key - Esc - and once you found it you could use vi.

Fast forward 3+ decades and today there's no such problem. Pretty much every keyboard conforms to a standard layout, with all the major special keys present and in the same places. But vim (based on vi) remains the same as it ever was just because.

Sorry 'bout that.
 
1 members found this post helpful.
Old 01-17-2024, 11:20 AM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
I joined a distro team and the developer taught me. Win win for both. I help with testing and installs. Admin the forum.

I have the mechanical gene also where manuals make sense to me also. Just changed streamtuner2 preferences from mp3blaster to xmms. Listening to North Mississippi All Stars.

Edit. My thing is not computers also. I repair motorcycles for a living.

Last edited by rokytnji; 01-17-2024 at 11:22 AM.
 
1 members found this post helpful.
Old 01-17-2024, 11:26 AM   #4
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 482

Rep: Reputation: 179Reputation: 179
Started with DOS/CPM back in the 80s. So always used to a command line. That's all we had when Linux first got going, so all command-line. Always felt 'natural'... That said, 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.
 
2 members found this post helpful.
Old 01-17-2024, 11:31 AM   #5
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 690
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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.

Last edited by jmccue; 01-17-2024 at 11:34 AM.
 
4 members found this post helpful.
Old 01-17-2024, 11:37 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Started out before GUIs were the norm, mid to late 90s, & I wasn't very quick to learn the basics, although I used to use MS DOS, things were so different...

Just tried to do regular computer things at the command line, but still not very good with command line web browsers, prefer using graphical...

When I started, we had man pages or printed books, couldn't afford to use the internet, only had dial up connection through a modem.
 
2 members found this post helpful.
Old 01-17-2024, 11:46 AM   #7
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
Originally Posted by disk_bearing View Post
- most of my habits are not best practice - i have no best practice, i test and mod things i dont fully understand.
- still mashing arrow keys in vim and bash - i have to seek for info for vi sometimes.
- can't grep or find yet; still using the gui a lot - those i can use.
- man pages feel unreadable to me - i read man pages , but Arch wiki is my number 1 source for info.
- building short scripts with chat gpt and no real automation; most of the stuff I try without it fails. - i also use google bard to get pseudo code.
- weak git understanding. Can't connect to github. - i know how to use and clone repos.
- not sure how to mesh with the linux community or normies for that matter. I don't like social apps. - i dont use socialmedia much, LQ is my main social media
- Wish I had focused on this back in high school. - there were no internet while i were at school.
i am guilty to some of those still xD
 
1 members found this post helpful.
Old 01-17-2024, 11:53 AM   #8
disk_bearing
Member
 
Registered: Mar 2022
Posts: 36

Original Poster
Blog Entries: 1

Rep: Reputation: 2
<3<3<3<3<3<3
 
Old 01-17-2024, 12:07 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I worked with CLIs of various types for 30 years before I saw a GUI. My first reaction to a GUI was that it was a nuisance maze to click here and then click there until I guessed the pathway to click on whatever it was I wanted to do.

To answer the question: The first computer I ran hands on was an IBM 1440. It was controlled by a combination of CLI, toggle switches, and punch cards. I learned by reading the manual and asking the two other people in the company who understood the machine.

https://bitsavers.org/pdf/ibm/1440/A...nual_Oct66.pdf

Last edited by jailbait; 01-17-2024 at 03:56 PM. Reason: directly answer the question
 
2 members found this post helpful.
Old 01-17-2024, 01:38 PM   #10
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,632

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
My computer experience started with IBM-1130 and punchcards only. (At least we had a keypunch machine and did not have to manually punch the cards. I graduated to BASIC on a Interact Model J 16K, then to CP/M, then CP/M-86, and finally to IBM-DOS 1.1! NOWHERE in there was there in interface that was not CLI! I went on to use VSPC, MS-DOS versions 2, 3, 4, 5, 6, (and the ghost of 7 that came under Win98), HP-UX and all of those from the CLI. I was a grizzled old Programmer, Network Engineer, Systems Administrator, and Database Administrator before I ever saw a GUI interface. (Novell, Windows Server based upon Win98 for business with the Novell TCP/IP networking stack installed. Oh lord, packet drivers!)

You want advice on learning the CLI? Immersion. Run Anti-X for a while, or get used to looking up commands and then working from the CLI on your current distribution. Go to the GUI when you need to web browse, display video, or use a service that does not lend itself to CLI use but otherwise live on the command line. (There are Curses (text) based web browsers, but very few Web sites are so advanced as to render properly as text in any useful way.) Living in it is how you get to know it really well.

PS. The term "best practices" is one used by vendors that means "do it our way so I make more money" and has little or nothing to do with the best way to do things for your purpose or business.

PPS. I saw where another gizzled old geek (GOG, I should trademark that. Oh, wait, never mind.) advanced the option that it is core to a basic misunderstanding between tech and management. 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.

Last edited by wpeckham; 01-17-2024 at 01:46 PM.
 
3 members found this post helpful.
Old 01-17-2024, 02:25 PM   #11
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 364

Rep: Reputation: 171Reputation: 171
My first CLI was an IDE for the BASIC programming language. The more correct term for it at the time would have been the keyboard monitor.

The crucial tool for learning it was the BASIC-PLUS LANGUAGE MANUAL. And when that was not enough, there was no online help or public forum where you could ask questions. There was literally just the computer room, which had terminals and a shelf of printed manuals, plus whoever else happened to be in the room at the time.

Strictly speaking, there was a HELP command – but it typed the lyrics to the Beatles song.
 
1 members found this post helpful.
Old 01-17-2024, 03:32 PM   #12
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Hmmm. CLI from the “start”… after punch cards anyway. I was a keypunch operator in those days…
Text-based terminals on Wang VS and Burroughs 1900 (CANDE). Wordstar and BASIC on a Kaypro CPM luggable.
Spent several years crunching LINC code on Burroughs/Unisys mainframes on and for text-based terminals.
 
2 members found this post helpful.
Old 01-17-2024, 07:38 PM   #13
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,660
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
My first exposure to "GUIs" was when I purchased my first Macintosh – which by the way I still have. And then, I did quite a lot of work in "the professional graphics world" which never cared in the slightest for "a command-line" because it never encountered it.

Meanwhile, as the MS-DOS based world simultaneously crawled forward, first we had: win.exe "Yes, there was MS-DOS under there." Until finally we reached the platform that Microsoft called, "NT = New Technology." Which finally began to move forward to what we have today.

Over these many years, I have worked with many "command-line interfaces." Because, for the most part, "this was all we had." And, when you look upon any "vim-or-whatever" today, please do not forget the "24-line by 80-column terminal." From which all of this was birthed. (Hey, it was a pretty major step forward when you could "position the cursor!")

Last edited by sundialsvcs; 01-17-2024 at 07:40 PM.
 
2 members found this post helpful.
Old 01-17-2024, 08:16 PM   #14
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I started out with computers in the DOS 3.x days, so I was comfortable with the command line long before I started using Linux. It was just a matter of learning new commands. I found valuable resources for doing so at The Linux Documentation Project. (Sadly, development at TLDP seems to have stalled, but it's a valuable resource and I'm glad it's still available. I still have a copy of Garrels's Bash Guide for Beginners on my bookshelf.)

I want to add one comment on why vim is the way it is.

I read that, when it was created long before the PC came along, many users connected to main frames via phones (also, many of what we consider today's "keyboard conventions" were not conventions yet). One of the goals of the vi developers was to minimize keystrokes (and, hence, telephone time); that's why the commands are so terse. (Indeed, I had a coworker in the late 1970s who connected in that way; he had a special cradle that he put his telephone handset in when he wanted to connect to some mainframe on the other side of town.)

I can't remember where I read that, but I found it persuasive.
 
1 members found this post helpful.
Old 01-17-2024, 08:43 PM   #15
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 364

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by frankbell View Post
I had a coworker in the late 1970s who ... had a special cradle that he put his telephone handset in when he wanted to connect to some mainframe
That was called an acoustic coupler. It commonly supported a transmission rate of 0.00011 megabits per second, or even less.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make emails have the date they were written instead of the date that they were actually sent? dedec0 Linux - General 10 08-26-2018 01:09 AM
LXer: If you were on a desert island, which license would you take with you? LXer Syndicated Linux News 0 07-20-2017 12:45 AM
How old are you and how old were you when you began using Gnu/Linux Knightron General 27 02-15-2012 05:00 AM
got a Fedora 9 indication that yum updates were available, but there were no updates landonmkelsey Linux - Software 12 02-08-2009 09:53 AM
Oh were oh were has my sound card gone? mst700 Linux - Newbie 3 07-13-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration