The command 'xwininfo' gives you information on the window that you click on.
zaterdag 2 april 2022
vrijdag 25 maart 2022
Special man command
If you use less as pager for man you can try
LESS="+/^\s+-b" man wget
where
+symbol to execute next operation afterlesshas opened/command to start search^\s+-bregexp to match-bfrom start of line
So if you like you can arrange the apropriate function for shell
function rman {
#USAGE: rman programm.name option.to.search (with "-" symbol)
LESS="+/^\s+$2" man "$1"
}
and add it into ~/.bashrc for example.
zondag 6 februari 2022
SimpleHTTPServer
python3 -m http.server 8080
1. go to the relevant directory in your terminal and type this command
2. type ip and find the 192.168. etc.
3. go to the other computer and type into the browser: 192.168.x.x:8080
1. go to the relevant directory in your terminal and type this command
2. type ip and find the 192.168. etc.
3. go to the other computer and type into the browser: 192.168.x.x:8080
dinsdag 22 juni 2021
gunzip all files recursively in a target directory?
For zip-files:
find <path_of_your_zips> -type f -name "*.zip" -exec unzip {} -d <out> \;
https://askubuntu.com/questions/620571/how-do-i-gunzip-all-files-recursively-in-a-target-directory
zondag 6 december 2020
dinsdag 17 november 2020
maandag 16 november 2020
Abonneren op:
Posts (Atom)
Enlarging Libreoffice window completely with command
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
Als je een goede pdf wilt maken van een Volkskrant artikel, moet je als volgt te werken gaan. Open de Volkskrant pagina, waar je een pdf van...
-
You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.
-
The mount point must be placed in the media folder: /media/porter/mount_point otherwise the file manager won't discover the extra hard ...