after instal vim , there is a problem to launch vim from command prompt we have to add a path to our user variables , first have to find folder where is our vim executable … go to «environment variables» edit «path» in user […]
Category: Uncategorized
open port in TERMUX
pkg update pkg upgrade pkg install openssh sshd #by default open 8082 port , can specify desired port following command sshd -p 2222 ssh user\ [email protected] -p 2222 #slash is use to scape space , phone name > configuration , about phone pkill sshd
Determine current DNS resolver service
to flush/clean DNS , have to know your DNS resolver service cat /etc/resolv.conf «systemd-resolve» and «systemd-resolved» ARE NOT THE SAME «systemd-resolve» is a command line tool for interacting with the «systemd-resolved» service and «systemd-resolved» is the actual DNS resolver service sudo systemd-resolve –flush-caches sudo […]
Linux commands : FIND-GREP
Es un dia como cualquier otro cualquier persona mkdir -p dir1/sub_1/z_1 find -mindepth 3 -type d -exec touch {}/file_{1..3}.txt \;