zaterdag 29 september 2018
Making multiple directories at once
echo "augustus" "september" "oktober" "november" | xargs -n 1 mkdir
vrijdag 14 september 2018
No USB device available in Virtualbox
"Please add your user name to the 'vboxusers' group with this command:
sudo adduser [$USER] vboxusers
After that you must logout and login.
Please check this for more details:
https://help.ubuntu.com/community/VirtualBox/USB"
https://superuser.com/questions/956622/no-usb-devices-available-in-virtualbox
sudo adduser [$USER] vboxusers
After that you must logout and login.
Please check this for more details:
https://help.ubuntu.com/community/VirtualBox/USB"
https://superuser.com/questions/956622/no-usb-devices-available-in-virtualbox
woensdag 12 september 2018
Copying the same file to two locations
Copying the same file to two locations by using the cp command twice still seems logical but let us suppose we have to copy the file to three, five, or even more locations. Here is how a single command can achieve this purpose.
Syntax:
$ echo [destination1] [desctination2] [destiantion3]..... | xargs -n 1 cp [/location/sourcefile]
https://vitux.com/copying-one-file-simultaneously-to-multiple-locations-through-ubuntu-command-line/
Syntax:
$ echo [destination1] [desctination2] [destiantion3]..... | xargs -n 1 cp [/location/sourcefile]
https://vitux.com/copying-one-file-simultaneously-to-multiple-locations-through-ubuntu-command-line/
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.
-
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 ...
-
:s/\v(.*)/- \1/g (very magic) :s/\(.*\)/- \1/g The above commands do the same thing: adding a dash before the line. So, Wha...