Difference between revisions of "CLI"
From Fiamma
Jump to navigationJump to searchLine 14: | Line 14: | ||
== Programs == | == Programs == | ||
+ | <pre> | ||
+ | writepid /etc/openvpn/mv.pid | ||
+ | </pre> | ||
+ | for OpenVPN and i3bar | ||
== Resources == | == Resources == |
Revision as of 14:05, 29 July 2017
Various bash/zsh/CLI tips.
Contents
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
Resources
See also Category:CLI