More unix for a learner

I will apologise in advance for being so ignorant"

will the command "uname -a" display the current version of OS?

What command would I use to list the current running process on a system - is it ps ie or something similar?

What command can I use to show the current file system usage?

Which commands do I use to change the ownership/groupID and permissions of a file?

Which command would you use to list the users on a mounted filesystem?

Thank you very much

ChiefPFFAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
amitpagarwalConnect With a Mentor Commented:
will the command "uname -a" display the current version of OS?

A. version

What command would I use to list the current running process on a system - is it ps ie or something similar?

B. /bin/ps -aef

What command can I use to show the current file system usage?

C. df -k

Which commands do I use to change the ownership/groupID and permissions of a file?

D. chown

Which command would you use to list the users on a mounted filesystem?

E. listusers or who
0
 
geotigerCommented:
"will the command "uname -a" display the current version of OS? "

Yes. "unamee -r" will give the release level.

"What command would I use to list the current running process on a system - is it ps ie or something similar? "

It is "ps -ef". "-i" is not a legal option.

"What command can I use to show the current file system usage? "

df -k


"Which commands do I use to change the ownership/groupID and permissions of a file?"

chown and chggrp.

"Which command would you use to list the users on a mounted filesystem? "

fuser will identify processes that are using particular files.

You can "man" to find out the usages of these commands.


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.