I'd be grateful if someone could point me at a page/pages which give the scripts for commands I can type into a 'terminal', so I can make things happen in this awful Kenvironment.
Too hurriedly, I bought 'Command Line & Shell Scripting' - at huge expense, only to disover that a) because what the author really meant by the title was 'Shell Scripting in a ommand Line Environment', b) I can't haggle with Borders about exchanging it,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Anthony Anson wrote: | I'd be grateful if someone could point me at a page/pages which give the | scripts for commands I can type into a 'terminal', so I can make things | happen in this awful Kenvironment.
If you're just after "commands that do stuff" in a terminal, then just press "tab" (maybe a couple of times). The Tab key is the command line's "auto-complete" key (at least assuming you're using a shell called Bash, which is now pretty standard).
It should respond with something like "Display all 2712 possibilities? (y or n)". If you type "y", you'll get a complete list of everything that can be invoked. You can make it more manageable by typing a letter or two (e.g. "a" or "net") and then a tab, which will give you a subset of available commands, scripts or programs starting with whatever you entered.
Hth, Simon
- -- - --------------------------------------------------------------------- Simon Ransome http://nosher.net
Photography RSS feed - http://nosher.net/images/images.rss
simon ransome wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Anthony Anson wrote: | I'd be grateful if someone could point me at a page/pages which give the | scripts for commands I can type into a 'terminal', so I can make things | happen in this awful Kenvironment.
If you're just after "commands that do stuff" in a terminal, then just press "tab" (maybe a couple of times). The Tab key is the command line's "auto-complete" key (at least assuming you're using a shell called Bash, which is now pretty standard).
It should respond with something like "Display all 2712 possibilities? (y or n)". If you type "y", you'll get a complete list of everything that can be invoked. You can make it more manageable by typing a letter or two (e.g. "a" or "net") and then a tab, which will give you a subset of available commands, scripts or programs starting with whatever you entered.
Certainly does - thanks.
I can save the list, edit it for tasty morsels, then print it.
On the other box - can't make the Eee prod the printer into life - but this might have been realted to other topic, re internet donglement.
On 31 Dec 11:42, simon ransome wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Anthony Anson wrote: | I'd be grateful if someone could point me at a page/pages which give the | scripts for commands I can type into a 'terminal', so I can make things | happen in this awful Kenvironment.
If you're just after "commands that do stuff" in a terminal, then just press "tab" (maybe a couple of times). The Tab key is the command line's "auto-complete" key (at least assuming you're using a shell called Bash, which is now pretty standard).
It should respond with something like "Display all 2712 possibilities? (y or n)". If you type "y", you'll get a complete list of everything that can be invoked. You can make it more manageable by typing a letter or two (e.g. "a" or "net") and then a tab, which will give you a subset of available commands, scripts or programs starting with whatever you entered.
Or more generally...
find $PATH -maxdepth 1 -mindepth 1 -type f -executable
Which should probably work in other shells too, if you just want the command names...
find $PATH -maxdepth 1 -mindepth 1 -executable -type f -printf "%f\n"
... Just thought I'd add that in late to the round just for the hell of it ;)
Thanks,
Anthony Anson wrote:
I'd be grateful if someone could point me at a page/pages which give the scripts for commands I can type into a 'terminal', so I can make things happen in this awful Kenvironment.
Too hurriedly, I bought 'Command Line & Shell Scripting' - at huge expense, only to disover that a) because what the author really meant by the title was 'Shell Scripting in a ommand Line Environment', b) I can't haggle with Borders about exchanging it,
If you are looking for dead tree then you probably want something like "Linux in a Nutshell" published by O'Reilly which really covers the basics of working in the shell and then provides usage instructions for the more common tools. The ALUG library has the most recent revision of this which you are welcome to borrow, just contact me off list and I'll sort you out.
Short of that you are looking at man/info pages on the system, I'd avoid blindly following examples on random forums as there is a fair bit of bad advice out there and really you should understand the the basic concepts of anything you are typing in under advice.
There are resources like this badly titled page http://ss64.com/bash/ if you just want to browse a list of commonly available tools (all of which may not be installed on your system)
2009/12/31 Wayne Stallwood ALUGlist@digimatic.co.uk:
Anthony Anson wrote:
I'd be grateful if someone could point me at a page/pages which give the scripts for commands I can type into a 'terminal', so I can make things happen in this awful Kenvironment.
Try googling for some cheat sheets to bookmark, i.e. I have a few vim cheat sheets bookmarks, some php/perl cheat sheets, bash etc
James Bensley wrote:
2009/12/31 Wayne Stallwood ALUGlist@digimatic.co.uk:
Anthony Anson wrote:
I'd be grateful if someone could point me at a page/pages which give the scripts for commands I can type into a 'terminal', so I can make things happen in this awful Kenvironment.
Try googling for some cheat sheets to bookmark, i.e. I have a few vim cheat sheets bookmarks, some php/perl cheat sheets, bash etc
Ta - for Google, read 'Scroogle' innit.
Anthony Anson tony.anson@girolle.co.uk wrote:
James Bensley wrote:
Try googling for some cheat sheets to bookmark, i.e. I have a few vim cheat sheets bookmarks, some php/perl cheat sheets, bash etc
Ta - for Google, read 'Scroogle' innit.
And scroogle.org not .com as I was reminded painfully on a strange browser over the holidays!
Regards,
Wayne Stallwood wrote:
Anthony Anson wrote:
I'd be grateful if someone could point me at a page/pages which give the scripts for commands I can type into a 'terminal', so I can make things happen in this awful Kenvironment.
Too hurriedly, I bought 'Command Line & Shell Scripting' - at huge expense, only to disover that a) because what the author really meant by the title was 'Shell Scripting in a ommand Line Environment', b) I can't haggle with Borders about exchanging it,
If you are looking for dead tree then you probably want something like "Linux in a Nutshell" published by O'Reilly which really covers the basics of working in the shell and then provides usage instructions for the more common tools. The ALUG library has the most recent revision of this which you are welcome to borrow, just contact me off list and I'll sort you out.
Thanks - I'll see how other suggestions pan-out: making actual contact with other members ATM means catching them before my last bus leaves Naaardge at 18.40...
Short of that you are looking at man/info pages on the system, I'd avoid blindly following examples on random forums as there is a fair bit of bad advice out there and really you should understand the the basic concepts of anything you are typing in under advice.
Well, if it's anything really complicated/dangerous, I've a tame Debian developer to bother. However, I don't want to overdo it with questions I can easily find answers to myself.
The Eee's handbook isn't comprehensive, though...
There are resources like this badly titled page http://ss64.com/bash/ if you just want to browse a list of commonly available tools (all of which may not be installed on your system)
Thanks - I'll have a shufti.