Last active
February 23, 2024 17:55
-
-
Save kolygri/43db13929f366103aedc2434d091345c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.glassdoor.co.uk/Interview/Google-Technical-Solutions-Engineer-Interview-Questions-EI_IE9079.0,6_KO7,35.htm | |
Question 1: How do you list all the open programs in Linux command line? | |
I would like to paraphrase the quesiton to: | |
How do you list all the running processes using the Linux command line? | |
According to https://techdifferences.com/difference-between-program-and-process.html | |
"The major difference between program and process is that program is a group of instructions | |
to carry out a specified task whereas the process is a program in execution." | |
Solution 1: | |
{code} ps -A {code} | |
List all running processes on the system | |
Alternatively, {code} top {code} can be used to see the processes that are taking the most system resources. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment