Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
For English is not my native language, it is quite hard to read the informations in linux, so i cant get an easy start to linux now, something following are questions really obscured me for days:
kill [ -s signal | -p ] [ -a ] [ -- ] pid ...
kill -l [ signal ]
what does the symbol "|" mean in the "[ -s signal | -p ] " here ?
further more, how could i use the option "-p" with command "kill" ? i never successed with it.
finally, is there any rule to get the description of options? such as '-', '...', the meaning of terms with underline, the sequence in the synopsis, etc. I just cant find these relative guide in manual, so it will be very appreciate for your guidance about it!
thanks a lot!
unix help is ususally --help
but some bad programmers like whoever wrote "kill" don't write it that way for whatever idiotic reason.
also man pages can be just about anything and i have no idea what the "|" stands for.
the man page for Linux kill says
kill pid ... Send SIGTERM to every process listed.
kill -signal pid ... Send a signal to every process listed.
kill -s signal pid ... Send a signal to every process listed.
kill -l List all signal names.
kill -L List all signal names in a nice table.
kill -l signal Convert a signal number into a name.
kill -V,--version Show version of program
The pipe symbol indeed indicates OR. The '...' implies that multiple pids may be supplied (in general it indicates a repeat of the previous argument). Something between '[' and ']' is optional (so you don;t have to specify it). And the '-' indicates an option.
I also could not get '-p' to work, so possibly a mistake (recently there was an option for another command that nobody could get to work on this forum)
hi, FOO_BAR_FOO&IBALL,thank you very much for helps,
i guess my linux version is redhat 9,
Linux version 2.4.20-8 (firstname.lastname@example.org) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #
maybe it is an old version, anyway, thanks a lot!
i will try seeking help by --help instead of using "man", thats better!