Computer Hope

Software => BSD, Linux, and Unix => Topic started by: AdamNagy on June 22, 2016, 12:56:16 PM

Title: Using the Top command with ps and kill
Post by: AdamNagy on June 22, 2016, 12:56:16 PM
For my Computing Controlled Assessment I am looking into some of the basic commands for the Linux OS Debian. For the final question I have to write a short essay on using the top command along with ps and kill to investigate misbehaving system. The question asks to use help from PC specialists (or just any experienced Debian users). So if anyone could give any information on how a specialist could use these commands and anything helpful in general on these commands. Remember I'm here for information and not an answer. Thanks
Title: Re: Using the Top command with ps and kill
Post by: TheWaffle on July 11, 2016, 07:27:46 PM
Code: [Select]
man [command name]man is a manual program, and my best friend. :D
Code: [Select]
lslist files in current dir
Code: [Select]
mv [source] [destination] Move files, also used to rename files.
Code: [Select]
cp [source] [destination]Copy files
Code: [Select]
[b]sudo[/b] [command]sudo, or superuser do lets you run a program as your current user, as if you were the root user.
Code: [Select]
sudo !!Allows you to run your previously entered command as root.
Code: [Select]
sudo apt install [package name]Allows you to install programs from the command line, use apt-get for shell scripts.
Title: Re: Using the Top command with ps and kill
Post by: TheWaffle on July 11, 2016, 07:33:59 PM
For the final question I have to write a short essay on using the top command along with ps and kill to investigate misbehaving system.
These should help:
top Command (http://www.computerhope.com/unix/top.htm)
ps Command (http://www.computerhope.com/unix/ups.htm)
kill Command (http://www.computerhope.com/unix/ukill.htm)

Also note that commands are case sensitive, as are file paths and names.