help with linux commands
I am extremely new to linux and have a bunch of question to get me started in the right direction.
1. Which command shows which terminal you are currently viewing? 2. What command creates an empty file? 3. How do you update the time stamp of a file without changing the contents? 4. What command do you use to change the runlevels? 5. What command is used to view current runlevels? 6. I am having trouble finding which section of the manual that list commands that only the root can execute. Any Suggestions? 7. I keep seeing a couple of files on this that I don't know what they are the first one is /us/bin/passwd and also /etc/passwd. What the heck are these? 8. I do I rename a file? 9. |
Hi, and welcome to LQ!
[edit] The OP assures me in a private e-Mail that this is NOT homework ... thread re-opened [/edit] Cheers, Tink |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
the second is a file that holds your account information Quote:
And this still smacks of homework :D If you were as new as you say you are you wouldn't know what to ask for in respect to the stuff you're asking for (e.g. the term runlevel or section of man would never occur to you). Cheers, Tink |
Actually the "whoami" command will display your login name.
"tty" will display the TTY device name you are currently attached to. FYI: "whatis" and "man" are great tools |
Quote:
Code:
whoami Code:
who am i Cheers, Tink |
I stand corrected.
The "who" command does display the runlevel and all users logged in on what TTY's. |
Quote:
|
Well ... he assured me he's using this for home. ;}
Cheers, Tink |
All times are GMT -5. The time now is 02:54 AM. |