Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

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

0
ChiefPFF
Asked:
ChiefPFF
1 Solution
 
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
 
amitpagarwalCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now