LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2023, 11:18 PM   #1
tg0000
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 20.3 Una, MATE 1.26.0
Posts: 63
Blog Entries: 1

Rep: Reputation: 12
Lightbulb CLI Tutorials/Emulators


I thought the obvious place for something like this would be the 'Tutorials' section of LQ. But after I found nothing there, I went to the general search with queries like "CLI Tutorials" and "CLI Emulators".

I'm not trying to ask any questions, but rather sharing my experience and soliciting the advice of others if they have similar helpful resources along these lines.

I'm trying to relearn even the little that I used to know at the CLI, and it occurred to me to use ChapGPT as an emulator to help me; so I typed in the following prompt ...

"Can you emulate a Linux CLI, and give me a few exercises to do at the Linux CLI and assess my progress? I would like you to prompt me for each response before moving on to the next one."

*edit --> For clarification, I'm looking for an emulator that gives prompts and looks for a response from me before moving on to the next exercise. The best one that I've found is https://www.webminal.org/login/ but I'm looking for other good ones (using the AI seems to be pretty good).

Anyone else tried this before? Or does anyone know of any free CLI emulators online that will teach me step by step?

Last edited by tg0000; 05-19-2023 at 10:13 AM. Reason: clarification
 
Old 05-18-2023, 12:23 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,841

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you don't need an emulator, just use it. The real one.
https://ubuntu.com/tutorials/command...ers#1-overview
This is an online course, but it is payware: https://www.udemy.com/course/linux-t...-for-beginners
 
1 members found this post helpful.
Old 05-18-2023, 01:25 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
These 2 are pretty old, but pretty comprehensive and bash hasn't really changed that much (for a beginner).
There are prob a million bash tutorials on the web; these should at least give you a good start ...

https://tldp.org/LDP/Bash-Beginners-...tml/index.html
https://tldp.org/LDP/abs/html/

Te other thing to do is just look at (research) code snippets posted on LQ and try to follow them.
The important thing is what you learn by trying to understand them, not whether you fully comprehend them the first few times . It just takes practice ...

See also http://linux.die.net/man/ or the 'man' pages on your own system.

HTH
 
Old 05-18-2023, 01:49 AM   #4
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Ubuntu
Posts: 134

Rep: Reputation: Disabled
I am not sure this is what you are looking for, but the Unix Historical Society has a book online, Life with Unix with a chapter on the shell commands.
On bitsavers.org, you can find some documentation for AT&T Unix System V http://bitsavers.informatik.uni-stut.../pdf/att/unix/ (link to the german mirror). You can also search in the documentation on XENIX (a Unix clone sold first by Microsoft, then by SCO that predated Linux) in the altos, sco directories, on HP-UX, AIX, SunOS for a tutorial on the Unix shell. If you use bash or zsh it is largely compatible with ksh which was standard on Unix System V.
Finally, you can find some guides on bash shell scripting on the Linux documentation project https://tldp.org/guides.html.
 
Old 05-18-2023, 03:26 AM   #5
lvm_
Member
 
Registered: Jul 2020
Posts: 925

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
On windows native WSL (windows susbsystem for linux) and 3d-party cygwin (https://cygwin.com/) provide reasonably authentic linux experience.
 
Old 05-18-2023, 04:46 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
This book has a good reputation:

https://linuxcommand.org/tlcl.php
 
1 members found this post helpful.
Old 05-18-2023, 06:17 PM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Code:
ls ${PATH//:/ } > commands.txt
Those are the "commands" on your machine.

Look at the ones that interest you.

Example:
Code:
man basename
basename --help
apropos basename
 
Old 05-19-2023, 10:15 AM   #8
tg0000
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 20.3 Una, MATE 1.26.0
Posts: 63

Original Poster
Blog Entries: 1

Rep: Reputation: 12
All of these resources are really good ones, but I don't see any other emulators that provide a prompt and response. I just remembered https://www.webminal.org/login/ so I edited my original question about to include that. But using an AI seems pretty good as well, since it gives a sort of "study partner" experience.
 
Old 05-19-2023, 08:42 PM   #9
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,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Try a web search for "linux terminal simulator."

It turns up a number of online sites/tutorials that seem relevant to this question. Note that I have no experience with any of them.

I will also second chrism01's recommendation of the Bash Guide for Beginners. I still have a printout of it on my bookshelf.

Last edited by frankbell; 05-19-2023 at 08:53 PM. Reason: clarity
 
1 members found this post helpful.
Old 05-22-2023, 01:05 AM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Also, I agree with pan64; just use the terminal on your actual Linux box....
Use any/all of the other suggestions as tutorials to follow OR improvise as you see fit.
 
1 members found this post helpful.
Old 05-22-2023, 01:31 AM   #11
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
http://linuxJourney.com

Install tldr

My fav list of basic CLI: https://www.busybox.net/downloads/BusyBox.html

Books, esp. Cert training. Amazon ratings will tell you what's popular. You can probably find PDFs on the internet.

Wise web searches, like: examples of using <cmd>

Beware: chatGPT lies, a lot!

Experiment, wander, dig in ...

https://explainshell.com

Eureka! Go find lym.pdf 128pages of great CLI, and zillions more!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20230521-234430.png
Views:	9
Size:	76.3 KB
ID:	41100  

Last edited by GentleThotSeaMonkey; 05-22-2023 at 02:02 AM.
 
1 members found this post helpful.
  


Reply

Tags
chatgpt, cli, command line, emulators, tutorials



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: nano: CLI Text Editor For Everyone basic tutorials LXer Syndicated Linux News 0 04-19-2017 11:01 AM
LXer: TripleO QuickStart HA deployment of Master branch && python-openstackclient CLI ( vs Neutron CLI ) LXer Syndicated Linux News 0 02-13-2017 02:52 AM
Error: php55u-cli conflicts with php-cli-5.3.3-47.el6.x86_64 NotionCommotion Linux - Newbie 1 07-12-2016 02:02 AM
CLI video tutorials sycamorex Linux - General 1 10-13-2011 05:11 PM
Saving CLI data in the CLI Tons of Fun Linux - General 4 04-03-2007 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:52 AM.

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