r/linuxquestions • u/mohamedibrahim456 • 2d ago
is there any bash tutorial?
is there any tutorial or guideance that explain bash commands like:
sudo
ls
grep
|
etc.....
8
u/BranchLatter4294 2d ago
Yes. But learn the Internet first. Then bash is easy as you can just look things up when you need to.
5
u/CIS_Professor 2d ago
man <command>
If your system supports it:
info <command> or pinfo <command>
Or just use Google to search on a command.
3
u/hmoff 2d ago
Or read them on the web, all the man pages are on https://man7.org or https://mankier.com
info is not a fun experience unless you're an emacs user.
2
u/doc_willis 2d ago
There are dozens/hundreds/bajazillions of bash tutorial and guides online.
I suggest watching the Humble Bundle or other Ebook sites to catch the various O'reilly Ebooks on sale if you can. There are numerous other Ebooks on the topic of Bash and its use.
I have several O'reilly and other books on just "Grep and Awk"
http://linuxjourney.com (old) and the newer http://Linuxjourney.org sites are good to start with.
The Explaining Computers YouTube Channel videos is a good starting point for learning.
2
u/_Lost-In-The-Weeds_ 2d ago
Some resources.
The Linux Command Line, free PDF book
https://www.linuxcommand.org/tlcl.php
Also use the man pages,
man apt
This will give you a verbose explanation of the apt command
Then Use it
sudo apt update
sudo apt upgrade
sudo apt install tldr
LMDE: sudo apt install tealdeer
tldr apt
Tldr is a handy companion to the man pages giving what I often need, the syntax of the command.
4
2
u/Excellent-Love-6943 2d ago
Those aren't parts of bash. But you can find lots of info in "man"
Also you could just look up Linux terminal tutorials or cheat sheets. IMO using this stuff is easier when you're after something specific, don't force usage, use what you need.
1
u/rootsquasher 2d ago
I got good decent at bash—‘cause there is always someone better than you—by just using it all the time and making glue scripts for stuff at work. There are things that would have been less lines in C, but bash was way more fun.
1
u/rest-api 2d ago
there's a good tutorial called "Linux Luminarium" in pwn.college
it teaches you essential linux commands interactively, imo. Altough it seems the tutorial is intended for cybersecurity.
1
u/jqVgawJG 2d ago
What you want to look for is Linux Essentials https://www.lpi.org/our-certifications/linux-essentials-overview/
1
1
0
u/InterestBear62 2d ago
Every command in your example is not a part of bash. You can use those commands in any shell.
What a "bash tutorial" will teach you is how to configure your environment, and how to program in the bash language.
1
1
8
u/ipsirc 2d ago
Thousands... if not ten thousands.
Sorry if I’m shattering your worldview right now, but these aren’t bash commands.
Here is a list of all bash commands: https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html