User Tools

Site Tools


skill-tree:use:1:1:i

**This is an old revision of the document!**

USE1.1-I Command Line Interface

Background

A shell provides advanced capabilities such as variables, redirection of I/O and setup of pipelines and the management of jobs.

Aim

  • To utilize convenient advanced features of the shell.

Outcomes

  • Manage background jobs
    1. The commands fg, bg, jobs
    2. The meaning of the & character
  • Describe the input and output channels
    1. 1, 2
  • Redirect input and output from/to files
    1. «, <, >, », &
  • Design a pipeline for the processing of data using the pipe (|) symbol
  • Assign and using shell variables and the export command
  • Perform arithmetic operations on variables
  • Replace the beginning or end of text in the shell using the ${} notation
  • Use widely available tools to understand and manage program execution
    1. top
    2. ps (-a, -u, -x)
    3. history
    4. which
  • Use tools to search for relevant information and their arguments
    1. grep (-i, -v, -e)
    2. cut (-b, -c, -f, -d)
    3. sort (-r, -n, -k)
    4. sed (for the basic search command and regular expressions)
skill-tree/use/1/1/i.1593953358.txt.gz · Last modified: 2020/07/05 14:49 by julian-user