Solved

More unix for a learner

Posted on 2000-05-16
2
269 Views
Last Modified: 2010-04-21
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
Comment
Question by:ChiefPFF
2 Comments
 
LVL 12

Expert Comment

by:geotiger
ID: 2815692
"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
 
LVL 5

Accepted Solution

by:
amitpagarwal earned 30 total points
ID: 2821766
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question