Linux Gentoo is now by default installing GRUB2 instead of GRUB, LILO is considered Legacy, yet still accessible emerge package. Install of GRUB2 on /dev/sda grub2-install --grub-s…
# последни коментари
# най-четени
How to generate random ascii art in shell: wget -qO - http://www.asciiartfarts.com/random.cgi | sed -n '/<pre>/,/<\/pre>/p' | sed -n '/<table*/,/<\/table>/p' |…
http://www.gnu.org/software/bash/manual/html_node/Searching.htmlTo search backward in the history for a particular string, type C-r. Typing C-s searches forward through the history…
OR $ grep "1\|2" 1.txt 1 2 $ grep -E "1|2" 1.txt 1 2 grep -E "^1$|2" 1.txt 1 2 grep -e 1 -e 2 1.txt 1 2 egrep "1|2" 1.txt 1 2 AND grep -E '1.*2' 2.txt 1 2 grep '1' 2.txt | grep '2'…
With AWK: awk '{ sub("\r$", ""); print }' windows.txt > unix.txt awk 'sub("$", "\r")' unix.txt > windows.txt With TR tr -d '\15\32' < winfile.txt > unixfile.txt  …
:~ ${HOSTNAME}$ cd Library/Application\ Support/Skype/${USERNAME}/ sqlite3 main.db sqlite> select * from messages sqlite> delete from messages where id > 2904; sqlite>…
dism /online /get-features DISM.EXE /enable-feature /online /featureName:IIS-WebServerRole;IIS-ASP;IIS-FTPserver;IIS-FTPsrv DISM.EXE /enable-feature /online /featureName:IIS-ASP DI…