Manuals and Guides
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Manuals and Guides
Bash Programming - Introduction
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
Bash guide for beginners
http://tldp.org/LDP/Bash-Beginners-Guide/html/
Bash commands A-Z index
http://ss64.com/bash/
GNU bash manual
http://www.gnu.org/software/bash/manual/
BASH
BASH reference manual
http://www.gnu.org/software/bash/manual/bashref.html
Advanced Bash scripting Guide
http://tldp.org/LDP/abs/html/
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
Bash guide for beginners
http://tldp.org/LDP/Bash-Beginners-Guide/html/
Bash commands A-Z index
http://ss64.com/bash/
GNU bash manual
http://www.gnu.org/software/bash/manual/
BASH
BASH reference manual
http://www.gnu.org/software/bash/manual/bashref.html
Advanced Bash scripting Guide
http://tldp.org/LDP/abs/html/

Re: Manuals and Guides
Looks like Habitual has got his wish for a basic programming section then? I'm sure he'll be a happy little bunny now, stop him getting quite so bored when everything is working properly. 

Re: Manuals and Guides
For folks who don't mind digging through manpages, don't forget:
Code: Select all
man bash
- rich_roast
- Level 6
- Posts: 1125
- Joined: Sat Sep 05, 2009 4:37 pm
Re: Manuals and Guides
man is actually pretty versatile. lets you sift through manpages for a given topic, which is handy if you forgot the actual command you're looking for. For example will bring up pretty much anything to do with pdf processing. See for more. I admit that part of me just wanted to post a command that looks recursive.
Code: Select all
man --regex
Code: Select all
man --regex pdf
Code: Select all
man man
Re: Manuals and Guides
Very clever. +1rich_roast wrote:Code: Select all
man --regex pdf
Re: Manuals and Guides
Add Steve Parker's Bourne / Bash shell scripting tutorial to the list.Oscar799 wrote:Bash Programming - Introduction
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
Bash guide for beginners
http://tldp.org/LDP/Bash-Beginners-Guide/html/
Bash commands A-Z index
http://ss64.com/bash/
GNU bash manual
http://www.gnu.org/software/bash/manual/
BASH
BASH reference manual
http://www.gnu.org/software/bash/manual/bashref.html
Advanced Bash scripting Guide
http://tldp.org/LDP/abs/html/
Re: Manuals and Guides
Downloaded the pdf one, wish more would put them into pdf's instead of just online manuals
Gives me a start anyhow
Sam
Thanks again for this

Gives me a start anyhow

Sam
Thanks again for this
"Windows: the worst system for the most money, Linux: the best system for free"
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus
- rich_roast
- Level 6
- Posts: 1125
- Joined: Sat Sep 05, 2009 4:37 pm
Re: Manuals and Guides
I think doxygen can do the conversion but it's not a trivial download (subject to dependencies) so you might be better off just downloading pdf's 

Re: Manuals and Guides
I got the gnu bash manual figured it might be a good place to start, plus I have to keep going on the other language I'm studying so it should be enough for nowrich_roast wrote:I think doxygen can do the conversion but it's not a trivial download (subject to dependencies) so you might be better off just downloading pdf's

I'm going to check this out anyhow because a lot of time I like some online manuals but would rather have them to read at my leasure on the desktop instead.
Thanks for this

Much appreciated.
Cool just check the software manager its in there .
Sam
"Windows: the worst system for the most money, Linux: the best system for free"
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus
Re: Manuals and Guides
/usr/share/doc/bash/ . . and the multiple sub-folders.
Re: Manuals and Guides
Here is a little bit of fun if you are interested in learning the command line:
I was going to upload a shell script here but the forum doesn't allow sh extensions so you will just have to have the contents of it instead and make your own script if you want (or run the command from the terminal if you don't).
I would love to say it was all my own work, but of course it wasn't, I stole it from someone else 
I bet you learn something from it though. I even thought that you could use it to replace 'mintfortunes' but I am not sure I want it running every time I start a shell, so I just turned it into a script I can call when I feel like it.
I was going to upload a shell script here but the forum doesn't allow sh extensions so you will just have to have the contents of it instead and make your own script if you want (or run the command from the terminal if you don't).
Code: Select all
#!/bin/bash
man $(ls /bin | shuf | head -1)

I bet you learn something from it though. I even thought that you could use it to replace 'mintfortunes' but I am not sure I want it running every time I start a shell, so I just turned it into a script I can call when I feel like it.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Re: Manuals and Guides
Cool! I've replaced the man with whatis, so I can find some interesting commands. Adding it to terminal .bashrc.
I didn't know about shuf yet...
To get a long list;
Code: Select all
whatis $(ls /bin | shuf | head -1)
To get a long list;
Code: Select all
ls /bin | xargs whatis

Re: Manuals and Guides
Yes, I like that a lot,Vincent Vermeulen wrote:Cool! I've replaced the man with whatis, so I can find some interesting commands. Adding it to terminal .bashrc.I didn't know about shuf yet...Code: Select all
whatis $(ls /bin | shuf | head -1)
To get a long list;Code: Select all
ls /bin | xargs whatis


One of the obscure commands I had to use to get it to work was
Code: Select all
rev
Code: Select all
whatis (ls /bin |rev|cut -b 2-|rev| shuf | head -1)

Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Re: Manuals and Guides
I was about to write you should include the /usr/bin commands, but found out you can easily ask whatis for all the commands it knows:
This did however return 1,672 commands on my system
I need some more Linux training 
Code: Select all
whatis -s 1 -w \*



Re: Manuals and Guides
I beat you I got 1731! (That is annoying actually I have only memorised 1700 of themVincent Vermeulen wrote:I was about to write you should include the /usr/bin commands, but found out you can easily ask whatis for all the commands it knows:This did however return 1,672 commands on my systemCode: Select all
whatis -s 1 -w \*
I need some more Linux training

How did you get the line count from the terminal output btw? The only way I could think of is to redirect the output to a file and then use
Code: Select all
wc -l
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Re: Manuals and Guides
You don't know the pipe operatorviking777 wrote:I beat you I got 1731! (That is annoying actually I have only memorised 1700 of themVincent Vermeulen wrote:I was about to write you should include the /usr/bin commands, but found out you can easily ask whatis for all the commands it knows:This did however return 1,672 commands on my systemCode: Select all
whatis -s 1 -w \*
I need some more Linux training
)
How did you get the line count from the terminal output btw? The only way I could think of is to redirect the output to a file and then useCode: Select all
wc -l

Code: Select all
whatis -s 1 -w \* | wc -l

Re: Manuals and Guides


When I memorised that 1700th command I forgot the first

Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Re: Manuals and Guides
Aliens BASH Tutorial > http://www.subsignal.org/doc/AliensBashTutorial.html
For me, this is the most comprehensive 'bash' tutorial - I have seen. Explains everything, in detail.
For me, this is the most comprehensive 'bash' tutorial - I have seen. Explains everything, in detail.

:: Debian-Sid (Xfce/Fluxbox) :: LinuxMint-18 (LTS) LXDE w/Openbox ::
Registered Linux User: #497031 :: My DeviantART Page
Re: Manuals and Guides
Tip of the week; while reading a manpage in the terminal I often find I want to try something on the terminal. No need to open another terminal, just press Ctrl+Z to move the manpage to the background and you can access your terminal again. Type "fg" to move the manpage from the background back to the foreground and continue reading 


Re: Manuals and Guides
Interesting!
I guess I could use this when viewing something with less, too.
(though most times I'm using a tabbed and maximized terminal window)
Beginners tips : pipe your impossibly long stuff into 'less' so you can sanely view it (with page up/down, etc., press 'Q' to quit).
commandwithalongoutput | less, and sometimes commandwithalongoutput | sort | less
Hit CTRL-U to clear a line of text you were typing, and especially clear a password you've typed wrong.
I guess I could use this when viewing something with less, too.
(though most times I'm using a tabbed and maximized terminal window)
Beginners tips : pipe your impossibly long stuff into 'less' so you can sanely view it (with page up/down, etc., press 'Q' to quit).
commandwithalongoutput | less, and sometimes commandwithalongoutput | sort | less
Hit CTRL-U to clear a line of text you were typing, and especially clear a password you've typed wrong.