Skip to content

jnbdz/linux-quickstarts

Repository files navigation

Linux (Tux)

Linux | Quickstarts

Linux Quickstarts... Some of my past notes.

Contains command lists with some example of usage. Also this repo includes useful links related to Linux.

Command lists

Multimedia

Images

  • convert - convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
  • mogrify - resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert-im6.q16(1) writes to a different image file.
    • find . -name "*.jpg" -exec mogrify -format png {} \; - Modify all the JPGs to PNG.

Job Control

For running a process in the background.

Basic commands:

  • Ctrl-C: Kill the process running in the foreground by sending the signal SIGINT
  • Ctrl-Z: Suspend the process running in the foreground by sending the signal SIGTSTP
  • jobs: Display a list of the jobs with their status
  • fg: Move a background job into the foreground
  • bg: Resume suspended jobs by running them as background jobs

The & Operator

When used at the end of a command it will run the process in a subshell (in the background). It also does not wait for the process to end it returns a 0 status.

When a job runs in the background, its output is still displayed in the terminal. This occurs because the background process initiated by the & operator inherits the shell's stdout and stderr.

The SIGHUP Signal

pstree

The disown Command

Resources

About

🐧 Linux | Quickstarts 🐧

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors