šŸ“œ ā¬†ļø ā¬‡ļø

15 obscure Linux commands

Each developer to a certain extent should master the skills of work in the terminal. Being physically at the computer is not always possible, so you have to connect remotely. Indeed, GUI programs can easily cope with this, but they often work more slowly than getting access through the same terminal (after all, this is just text exchange).

Regardless of whether you are a beginner or a guru, Iā€™m sure you will find something useful among the tips and recommendations below.

1. man

Let's start with the simple, man command, which means manual. If you want to read about any team, just type:
')
man [command]


man':

man man


man ā€” , Unix', .

, , ASCII-, :

man ascii


image

-, - -? :

man units


image

. . ( xkill). , .

2. cd -


, :

cd -


image

3. sudo !!


image

sudo Unix. sudo . sudo, , , :

sudo !!


.

image

4. mtr


mtr ā€” . traceroute ping.

mtr [hostname]


image

5. [space] command


, , , ~/.bash_history.
, , .

[space] [command]

6. jot


jot . , , . , :

jot [ ] [ ]


, 1 .

:
jot -r [ ] [ ] [ ]


image

man jot

7. df


. (disk free)

image

8. pkill


pkill ( process kill) . , :

pkill [application_name]


/ , . , .

9. ddate




image

10. cal


- .

image

11. tac


, , cat. , , . tac , .

image

12. w

w , , , .

13. factor


factor :

factor [number]


image

14. yes


, yes :

yes [string]


, . , ā€” CTRL + C (, )

15. nl


nl . . :

image

. ? ? , ā€” ? 15/15 ā€” .

, . , .

Source: https://habr.com/ru/post/228999/


All Articles