Difference between revisions of "CLI"

From Fiamma
Jump to navigationJump to search
Line 18: Line 18:
 
</pre>
 
</pre>
 
for OpenVPN and i3bar
 
for OpenVPN and i3bar
 +
 +
=== Network-manager replacement in Arch ===
 +
<pre>nmtui</pre>
 +
=== Pacman-wrapper for downloading faster ===
 +
powerpill [https://wiki.archlinux.org/index.php/powerpill] (seems a bit like axel and apt-fast)
  
 
== Resources ==  
 
== Resources ==  

Revision as of 08:41, 18 September 2017

Various bash/zsh/CLI tips.

Commands

Execute any line // echo any line from a textfile.

Source: https://www.reddit.com/r/archlinux/comments/6k7go4/how_could_i_excecute_specific_commands_from_a/

sed -n 1p file.txt | bash

Turn screen off

https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling

i3lock -c 000000 & xset dpms force off

Programs

writepid /etc/openvpn/mv.pid

for OpenVPN and i3bar

Network-manager replacement in Arch

nmtui

Pacman-wrapper for downloading faster

powerpill [1] (seems a bit like axel and apt-fast)

Resources

See also Category:CLI