Добавить новость
smi24.net
Computerworld
Май
2016
1 2 3 4 5 6 7 8 9 10 11 12 13 14
15
16 17 18 19 20 21
22
23 24 25 26 27 28 29 30 31

IDG Contributor Network: The Linux command that you should never say out loud

0

If, when working on your Linux servers, you occasionally mistype a command and then curse, you might feel right at home with a very oddly named Linux command. It might even reduce the frustration you feel by helping you to correct your typing mistakes. The tool is called, well, thef?ck -- but with the ? replaced by the obvious letter. And, in spite of its rather off-color name, a lot of people are very excited to have a little help getting past their command line mistakes.

Installing the command

The commands shown below should get the command installed on your system. The pip command helps install Python packages.

$ sudo yum install pip
$ which pip
$ PATH=$PATH:/usr/local/bin
$ wget -O - https://raw.githubusercontent.com/nvbn/thefuck/master/install.sh | sh - && $0
$ sudo -H pip install thefuck

And, to ensure that I behave myself on the command line (who knows who might end up reading my history file), I created an alias for the f?ck command.

To read this article in full or to leave a comment, please click here















Музыкальные новости






















СМИ24.net — правдивые новости, непрерывно 24/7 на русском языке с ежеминутным обновлением *