.


:




:

































 

 

 

 


.




.

: , , . . Linux - , . , , , . "" - . , . -, , , - . -, , , , . - ( ), hexdump -, ASCII-, strings, , :

7.1. hexdump

[student@localhost root]$ hexdump -C /bin/cat | less...[student @localhost root]$ strings -n3 /bin/cat | less

7.1 hexdump "-C" , ( ). strings "-n".

Linux "", . ( 0) , . , . ( 1) - , . , . , ( 2) , . , , , , , 3.

- , . , 0. . - (0), (1) (2) - .

, - , , . , . , - /dev/null. , , :

7.2. /dev/null

[student@localhost root]$ info cat > cat.info 2> /dev/null

, /dev/null.

 

.

, - . bash , . Linux .

bash "|". , , , "" , . (less).

, . "cmd1 | cmd2 |... | cmdN".

shell , , - . , ( - "pipe"). : , . , shell ( - ), , - . , .

(pipe) - ( ), , , , .

, , , - - . , . Linux : , - "" , - , - . Linux , . - cat: , "" , .

, , : - , , . , -.

Linux , . who, cat, ls, pwd, cp, chmod, id, sort . - : , , , -, . , , , /, .





:


: 2017-02-11; !; : 325 |


:

:

, ,
==> ...

1294 - | 1274 -


© 2015-2024 lektsii.org - -

: 0.01 .