Basic commands of Linux -- other commands

1. Terminal page turning:

    shift-pageup

    shift-pagedown

2. Look at the manual: man man 

man 2 read View the man page for the read system function (in the second section, denoted read(2))

1 Executable program or system command

2 System calls (functions provided by the kernel)

3 Library calls (functions in a library)

9 Kernel routines

3. Clear the screen clear or ctrl-l

4. Set the command alias

alias [-p] name=value

Name the value string alias name, and then enter name on the command line later, and the shell will automatically interpret it as value.

If this command is executed without parameters, or with the parameter -p, a list of currently defined aliases will be displayed.

alias ls = 'ls --color = auto'

Fives.

Check the exit value of the last program, the normal program exit value is 0: echo $?

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324794904&siteId=291194637