Process Commands in Linux

Process Commands in Linux

To stop the current process and get back to the shell:

ctrl+z

To put the current process in the backgroup

bg

To bring the background process to front

fg

To send the the job to background on one line, put ambersand (&) at the end eg usingvi command:

vi somefile.txt &

To see all the background jobjs

jobs

Bringing specific job from background to foreground

fg %1 - this will bring the job number 1 to front

List all the running processes

ps aux

To filter some process, like to get the process id and stuff

ps aux | grep "process name"
How to reload terminal after updating profile file

What version of Zend am I running?

You will have to enable the component called ‘universe’

Piping ls to cp in unix

How to change default MySQL directory

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*