Manuals and Guides
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
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
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
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
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.
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, gives just a one or two line output that you can look at if you want to, but don't have to. Better than mint fortunes by far. It took some adapting to my fish shell I can tell you, but I got it going in the endxenopeek 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)
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 them )xenopeek 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 system I need some more Linux trainingCode: Select all
whatis -s 1 -w \*
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
Re: Manuals and Guides
You don't know the pipe operator You can pipe the output of one command into the input of another with the | pipe operator, as so:viking777 wrote:I beat you I got 1731! (That is annoying actually I have only memorised 1700 of them )xenopeek 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 system I need some more Linux trainingCode: Select all
whatis -s 1 -w \*
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
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.
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.