LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Some questions in the command line. (https://www.linuxquestions.org/questions/linux-newbie-8/some-questions-in-the-command-line-289841/)

darren200184 02-13-2005 08:06 PM

Some questions in the command line.
 
Newb Here,

Is is safe to use the halt command to shutdown your linux operating system? How would i find this out or what would i type in to find this out in the command line.

Also, what command can be used to list all files (including hidden) that end with the letter "c" in $HOME?

And, What options are avaliable with the command pwd? What would I type in the command line to find this out?

Any help would be appreciated.
Thanks in advance.

Tinkster 02-13-2005 08:16 PM

Ad 1)
It is safe (within reason, that is) .... halt will first
"politely ask" all process to terminate themselves,
than send them a SIGKILL after a while, and then
shut the system down ... if you happen to have an
unsaved file in an editor it won't ask you to save
them, though ...

Ad 2)
ls -al *c

Ad 3)
man pwd



Code:

      --help display this help and exit

      --version
              output version information and exit


Cheers,
Tink

darren200184 02-13-2005 08:40 PM

Thank you very much!


All times are GMT -5. The time now is 06:46 PM.