Where can I find a pretty comprehensive list of commands for the Debian command line?
TIA
-----Original Message----- From: main-admin@lists.alug.org.uk [mailto:main-admin@lists.alug.org.uk] On Behalf Of Anthony Anson Sent: 10 October 2004 13:51 To: Main@lists.alug.org.uk Subject: [ALUG] And another thing...
Where can I find a pretty comprehensive list of commands for the Debian command line?
TIA
-- Tony http://www.users.zetnet.co.uk/hi-fi/
God sends the meat, the Devil sends the cooks.
Using the default bash shell? A google search for 'list bash commands' comes up with:
http://www.ss64.com/bash/ and http://www.linuxdevcenter.com/linux/cmd/
Cheers, BJ
The message E1CGdYc-0000FE-8D.2004-10-10-14-16-14@cmailg2.svr.pol.co.uk from "John Woodard" mail@johnwoodard.co.uk contains these words:
Using the default bash shell? A google search for 'list bash commands' comes up with:
http://www.ss64.com/bash/ and http://www.linuxdevcenter.com/linux/cmd/
Thanks. Will go and have a look.
Anthony Anson wrote:
Where can I find a pretty comprehensive list of commands for the Debian command line?
TIA
If you goto the Jollix Linux site you will be able to dload a book called Simply Linux which you might find quite useful... Or type a letter hit tab see what comes up then use the manpage to see what it does.... Or buy/borrow Linux in a nutshell and give it a read...
The message 41697F19.6090302@trufflesdad.plus.com from Ted ted@trufflesdad.plus.com contains these words:
If you goto the Jollix Linux site you will be able to dload a book called Simply Linux which you might find quite useful... Or type a letter hit tab see what comes up then use the manpage to see what it does.... Or buy/borrow Linux in a nutshell and give it a read...
Thanks muchly.
I want to program a single board computer (SBC) from a linux PC via a serial-port. The SBC includes a Flash memory microcontroller which is set into in circuit programming mode by pulsing one of the serial control lines e.g.RTS. Sending data to a serial port is no problem; in Linux/Unix everything is a file. But how to I operate the RS232 control lines? To make matters worse I am doing this on a laptop which does not have a serial port so I am using a USB to serial adaptor.
Ian
On Sunday 10 October 2004 8:30 pm, Ian bell wrote:
I want to program a single board computer (SBC) from a linux PC via a serial-port. The SBC includes a Flash memory microcontroller which is set into in circuit programming mode by pulsing one of the serial control lines e.g.RTS. Sending data to a serial port is no problem; in Linux/Unix everything is a file. But how to I operate the RS232 control lines?
I am pretty sure gtkterm can do what you want. I know it can give manual control to at least some of the lines. Maybe if you need to add this functionality into your own application it would at least be worth having a prod around gtkterm's source.
To make matters worse I am doing this on a laptop which does not have a serial port so I am using a USB to serial adaptor.
This really gets me, I understand the need to dump some of the legacy interfaces to make laptops a managable size, but a serial port is still really useful to some. Even my Thinkpad doesn't have one, I have to resort to an expensive PCMCIA serial adapter when I want to mess with PIC's/Program a Cisco/Talk to someones PBX/mess about with an HP switch.
Never had much luck with those USB-Serial things
Wayne Stallwood wrote:
On Sunday 10 October 2004 8:30 pm, Ian bell wrote:
I want to program a single board computer (SBC) from a linux PC via a serial-port. The SBC includes a Flash memory microcontroller which is set into in circuit programming mode by pulsing one of the serial control lines e.g.RTS. Sending data to a serial port is no problem; in Linux/Unix everything is a file. But how to I operate the RS232 control lines?
I am pretty sure gtkterm can do what you want. I know it can give manual control to at least some of the lines. Maybe if you need to add this functionality into your own application it would at least be worth having a prod around gtkterm's source.
I came across gtkterm when googling around this topic. It certainly can toggle DTR etc but I need to apply a short series of pulses (faster than I can press the keys!) A look at its source code is a godd idea. Thanks.
To make matters worse I am doing this on a laptop which does not have a serial port so I am using a USB to serial adaptor.
This really gets me, I understand the need to dump some of the legacy interfaces to make laptops a managable size, but a serial port is still really useful to some. Even my Thinkpad doesn't have one, I have to resort to an expensive PCMCIA serial adapter when I want to mess with PIC's/Program a Cisco/Talk to someones PBX/mess about with an HP switch.
Never had much luck with those USB-Serial things
Strange. So far I never had any problems with them. Mine is from eBuyer (they are currently about £6) and it even produces + and - RS232 signals. I agree though about the demise of serial ports in laptops - totally stupid.
Ian
On Sun, Oct 10, 2004 at 01:50:47PM +0100, Anthony Anson wrote:
Where can I find a pretty comprehensive list of commands for the Debian command line?
Well, the available commands will differ depending on the packages you have installed, so, on that basis, I'd log in to a tty and run something along the lines of...
ls ${PATH//:/ } | less
assuming that your shell is bash.
Hope that helps,
The message 20041010143103.GA4593@pitr from Brett Parker iDunno@sommitrealweird.co.uk contains these words:
On Sun, Oct 10, 2004 at 01:50:47PM +0100, Anthony Anson wrote:
Where can I find a pretty comprehensive list of commands for the Debian command line?
Well, the available commands will differ depending on the packages you have installed, so, on that basis, I'd log in to a tty and run something along the lines of...
ls ${PATH//:/ } | less
assuming that your shell is bash.
Hope that helps,
Er, thanks, but not really. Well, not at all to be honest. I need the list so I know what I'm doing in command-line, and besides, I've no idea what tty stands for.
When I know what I'm doing, I shall think about some internet software to run under Linux, (or use Mozilla, whichever seems to fit my needs) but until then I'm just groping about like a groping thing.
However, I'll stick the info behind my ear, and I'm sure it will be very useful when I actually install some packages. ATM I not only don't know what packages I have (apart from Mozilla).
I'm a bit iffy about Mozilla mail and news, because I've never found anyone using it. (Mind you, I don't examine everyone's headers.) I suspect though, that slrn might be a good program.
Just had a look and I see one or two people using Thunderbird. I'll have to get a POP3 mailbox and play a bit.
Hi, I stumbled across this once, "The One Page Linux Manual" - http://homepage.powerup.com.au/~squadron/
It could help you on a bit
Brgds,
Martin
On Sun, 2004-10-10 at 17:13, Anthony Anson wrote:
The message 20041010143103.GA4593@pitr from Brett Parker iDunno@sommitrealweird.co.uk contains these words:
On Sun, Oct 10, 2004 at 01:50:47PM +0100, Anthony Anson wrote:
Where can I find a pretty comprehensive list of commands for the Debian command line?
The message 1097442721.6083.2.camel@linux.site from Martin Collins sickofthesea@dsl.pipex.com contains these words:
Hi, I stumbled across this once, "The One Page Linux Manual" - http://homepage.powerup.com.au/~squadron/
It could help you on a bit
Brgds,
Many thanks - I'll give that a lookup/download.
The message 1097442721.6083.2.camel@linux.site from Martin Collins sickofthesea@dsl.pipex.com contains these words:
Hi, I stumbled across this once, "The One Page Linux Manual" - http://homepage.powerup.com.au/~squadron/
It could help you on a bit
Magic! Downloaded, printed, and - it seems just the thing.
Thanks again.
On 2004-10-10 17:13:37 +0100 Anthony Anson tony.anson@zetnet.co.uk wrote:
Er, thanks, but not really. Well, not at all to be honest. I need the list so I know what I'm doing in command-line, and besides, I've no idea what tty stands for. [...]
tty is teletype. Either Brett is trying to sell old hardware again, or he was using it to meant the text login screens.
Once you have the list of commands, you can get different amounts of help (if written) by looking at: help commandname commandname -h man commandname info commandname
useful when I actually install some packages. ATM I not only don't know what packages I have (apart from Mozilla).
On most debian systems, there are directories under /usr/share/doc containing manuals, README files and so on. That might be a good starting point.
The message ff350ed5b8ea0f49546b3a82c75849b2@bouncing.localnet from MJ Ray mjr@dsl.pipex.com contains these words:
tty is teletype. Either Brett is trying to sell old hardware again, or he was using it to meant the text login screens.
Once you have the list of commands, you can get different amounts of help (if written) by looking at: help commandname commandname -h man commandname info commandname
Thanks - something to add to The One Page Linux Manual...
useful when I actually install some packages. ATM I not only don't know what packages I have (apart from Mozilla).
On most debian systems, there are directories under /usr/share/doc containing manuals, README files and so on. That might be a good starting point.
Yes, I tried to open Wine last night and it wanted some file to get it started, and I don't know which CD it's on - must explore some more. List is probably on the Debian CD1? Mozilla works OK (AFAICT, but I can't test it on the Internet yet.) Many of the other applications in the lists are not installed, (word-processing apps for a start) and there are things which I should like to dump - all the games, for instance.
I'll get there, one day.
On 2004-10-11 12:06:06 +0100 Anthony Anson tony.anson@zetnet.co.uk wrote:
Yes, I tried to open Wine last night and it wanted some file to get it started, and I don't know which CD it's on - must explore some more. List is probably on the Debian CD1? [...]
If apt knows about the CDs, you might find the package name by "apt-cache search filename" and then entering "apt-get install packagename" should ask you to insert the appropriate CD. There are probably some people on the list who know much more about Wine than me.
I'm sure everyone has their own favourite package manager tools, but I think synaptic and gnome-apt are often well-received. I may be out of date, so someone else may have a better idea.
The message 5d77c2716221690aea3df3b983c720d2@bouncing.localnet from MJ Ray mjr@dsl.pipex.com contains these words:
On 2004-10-11 12:06:06 +0100 Anthony Anson tony.anson@zetnet.co.uk wrote:
Yes, I tried to open Wine last night and it wanted some file to get it started, and I don't know which CD it's on - must explore some more. List is probably on the Debian CD1? [...]
If apt knows about the CDs, you might find the package name by "apt-cache search filename" and then entering "apt-get install packagename" should ask you to insert the appropriate CD. There are probably some people on the list who know much more about Wine than me.
You might remember - the distro was installed at Syleham some time ago, between helpers doing other things, and it only got more-or-less finished as people were clearing-up.
There wasn't any time to decide which apps to put on, let alone actually install them, so I've been fiddling with what is basically an OS with very little to operate, as well as coping with having the machine in store for a year or so, and all the things you have to do when you move into an old new place, and learning to fly Linux has had to take second (or probably, fifth) place.
My memory is pretty - er, what was I saying? at the best of times, and anything I might have remembered, I haven't, so any notes I took I can't make head or tail of. Fortunately, we have a Linux help group in Zetnet's newsgroups, so I won't clutter the list with any more really basic questions - unless......
I'm sure everyone has their own favourite package manager tools, but I think synaptic and gnome-apt are often well-received. I may be out of date, so someone else may have a better idea.
You can't be any more out of date than I am: I've still got a working ZX 80...
My Debian boots into Gnome (1.4), but the first problem there is that I get a box which complains 'Could not load default TOC page', and now, there's another green scrawl of - if not death, then palpable ill-health which says: 'Error: unable to find the winesetup tool. Please install the winesetuptk debian package.'
(The reason I want to use Wine is so I can run my ISP's internet software on it. I'm reliably informed that it does run, though cosmetically, some of the positioning of controls is not quite correct..)
And when the box is sorted properly, that means I can use the horrid Tiny box (bought for a fiver!) I'm using ATM as a computer, for a router and firewall instead.
Don't hold your breath though, I have a *LOT* of major destruction and reconstruction work to perpetrate in the house.
On 2004-10-11 16:35:51 +0100 Anthony Anson tony.anson@zetnet.co.uk wrote:
My Debian boots into Gnome (1.4), but the first problem there is that I get a box which complains 'Could not load default TOC page', and now,
I'm not sure what causes that. Maybe some kind list soul does...
there's another green scrawl of - if not death, then palpable ill-health which says: 'Error: unable to find the winesetup tool. Please install the winesetuptk debian package.'
To install that: open a terminal, run the command "su -" enter your root password at the prompt all being well, you should have a prompt ending # to show you are root run the command "apt-get install winesetuptk" ...and with any luck, apt-get will ask for the appropriate CD(s) and do its thing. If this doesn't work, post the exact error and someone should be able to take it from there.
Beware people emailing advice. Even if you think I am me, I might be my evil double. In general, a quick look at man for each command is a very good idea ("man su" and "man apt-get"), for example: to make sure that it doesn't say something obviously bad, like apt-get is a command for Automatic Pig Transfer and your house will be suddenly filled with livestock, or other horrors.
The message f93d0142ebea4fc4a7ef4b1fc72e4b36@bouncing.localnet from MJ Ray mjr@dsl.pipex.com contains these words:
On 2004-10-11 16:35:51 +0100 Anthony Anson tony.anson@zetnet.co.uk wrote:
there's another green scrawl of - if not death, then palpable ill-health which says: 'Error: unable to find the winesetup tool. Please install the winesetuptk debian package.'
To install that: open a terminal,
Ah. There's a promble here - the intended Win 2000 HDD is in the caddy and the installation has fallen over for the third time. (each at a different place)
Do I abort it and waste another half a day, or wait until my Winguru answers my emu?
Answers on the back of a twenty pound note, please.
In the last item I did intend to illustrate my memorable deficiencies by reminding you that when I got the box to Syleham, I'd forgotten my login, or password, or more likely, both.
But I forgot.
run the command "su -" enter your root password at the prompt all being well, you should have a prompt ending # to show you are root run the command "apt-get install winesetuptk" ...and with any luck, apt-get will ask for the appropriate CD(s) and do its thing. If this doesn't work, post the exact error and someone should be able to take it from there.
Beware people emailing advice.
Quite. And assuming that works, and the requisite file is retrieved and applied, how do I get back to something I know how to deal with (FSVO know how), such as Gnome?
Even if you think I am me, I might be my evil double.
My idea of an evil double is someone who doubles you into game when you're holding a Yarborough...
In general, a quick look at man for each command is a very good idea ("man su" and "man apt-get"), for example: to make sure that it doesn't say something obviously bad, like apt-get is a command for Automatic Pig Transfer and your house will be suddenly filled with livestock, or other horrors.
Ah, all good stuff. Thanks. I'll bear it in mind. Will anything good happen if I type "lunch-get" or perhaps "bint-get"? (Since lunch is nearly done...)
Or is 'get' only a junior demon-summoning command?