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 […]
Author: awodore
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 […]
Cisco Packet Tracer 8.2 (64 bit)
Download resource https://www.netacad.com/portal/resources/packet-tracer cd Downloads sudo dpkg -i filename.deb #run following command if there is some error during installation sudo apt –fix-broken install #to fix some error during installation about dependencies , run following sudo apt install -f to launch the packet or simply […]
extension for browsers
extract all links from a web page , for chrome for Firefox autorefresh a web page , simple extension , ideal to web develop using Vim
Cowsay
stdin and stdout for linux using cowsay tool … To generate a 10 digits random number #to get a 10 digits random number in terminal shuf -i 1000000000-9999999999 -n 1 #to execute it 5 times add a for loop for i in {1..5}; do […]
Firefox don’t «focus» new tab
open a new tab without «focus» in new tab … stay in «main» page about:config browser.tabs.loadInBackground true
audio SPLIT – mp3splt-gtk 0.9.2
SASS – CSS
Sass for building more complex web pages installing process sudo apt-get install nodejs sudo apt-get install npm sudo npm install -g sass now , you can compile Sass files using : sass styles.scss styles.css
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 \;