Linux man and the echo of use

learning target:

Through this experiment to master the use of man and echo two commands.

 

Experimental Procedure:

1, through the use of detailed queries man ls, and can be followed, with the role which parameters for each parameter. Find here mainly how to disable color output ls.

2, to find the parameter as text, write a new file with the echo.

 

Command:

 

1, man's usage

The man command is a command to view instructions

man ls can read detailed instructions for use of the ls command

q to quit

 

 

 

 

2, use the echo command

 

echo to show some character, and mainly used with redirection, characters can be written to a file

[root@localhost mar]# echo "--color=never" >/home/student/lscolor.txt

Quotes are written to the file you want to character

View Results

 

Guess you like

Origin www.cnblogs.com/zhynet/p/11127196.html