LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Certification (https://www.linuxquestions.org/questions/linux-certification-46/)
-   -   System Related Commands (https://www.linuxquestions.org/questions/linux-certification-46/system-related-commands-231205/)

shivprasad 09-16-2004 01:02 AM

System Related Commands
 
Dear All

Can anyone help me which commands are used to check system conf on a pre installed Linux, how to check wheather it is workstation / server and more commnds.

Pls give reference/command.I'm new to linux. I am using RH9

Thanks
Shivprasad

rjlee 09-16-2004 08:08 AM

There's no real difference between a workstation and a server, aside from the software that's been installed.
On an RPM based system like RedHat, you can list all of the software with the command
Code:

rpm -qa | more
You can also get a lot of hardware information by looking at the files in /proc. For example,
Code:

cat /proc/dma
will list all the DMA controllers. You can list all the files in /proc with
Code:

ls /proc | more
–note that those files whose names are numbers tell you about running processes.

You can see a list of all the open network ports with
Code:

netstat -a
(this should give you some idea of the services that are running).

Finally, if you're running Red Hat, you can change most configuration settings with
Code:

linuxconf


All times are GMT -5. The time now is 11:53 AM.