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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
who am I
Quote:
Originally Posted by jld9
2. What command creates an empty file?
touch
Quote:
Originally Posted by jld9
3. How do you update the time stamp of a file without changing the contents?
touch
Quote:
Originally Posted by jld9
4. What command do you use to change the runlevels?
init or telinit
Quote:
Originally Posted by jld9
5. What command is used to view current runlevels?
runlevel
Quote:
Originally Posted by jld9
6. I am having trouble finding which section of the manual that list commands that only the root can execute. Any Suggestions?
section 8
Quote:
Originally Posted by jld9
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?
the first is the executable that lets you change a password,
the second is a file that holds your account information
Quote:
Originally Posted by jld9
8. I do I rename a file?
mv
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).
And this still smacks of homework 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
Sorry, had to chuckle........ how very true. I've been tinkering for two years now and would not have thought to ask about some of these. Good eye Tink... but now you're contributing to delinquency..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.