Tag: Linux
.DS_Store – BASH shell – Linux/OSX = Find & Remove Files
SOURCE: https://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/ find . -type f -name “FILE-TO-FIND” -exec rm -f {} \; FIRST RUN FIND!! WIthout the command to check the results. If all OK, then run with “-exec … Read More
VirtualBox Ubuntu network NAT + host-only
VBOX Settings in preferences for host-only network VBOX Settings for Guest guest network settings EDIT: /etc/network/interfaces 12345678910111213141516171819source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # … Read More
DietPi.com minimal SBC Debian images with presets
SOURCE: Homepage of :: DietPi.com DietPi-Software DietPi-Software allows you to install optional “ready to run” and optimized software for your device. As well as automating the linux installation and configuration … Read More
Ubuntu HEADLESS screen resolution for VNC / TeamViewer
1234567xrandr –newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr –addmode VIRTUAL1 1920x1080_60.00 xrandr –output VIRTUAL1 –mode 1920x1080_60.00 xrandr –output LVDS1 –off Source: https://askubuntu.com/questions/679135/how-do-i-set-new-screen-resolution-for-a-headless-server-using-teamviewer-10
NextCloud on Ubuntu 16.04
SOURCE: https://bayton.org/docs/nextcloud/installing-nextcloud-on-ubuntu-16-04-lts-with-redis-apcu-ssl-apache/ Installing Nextcloud on Ubuntu 16.04 LTS with Redis, APCu, SSL & Apache Jun 1, 2017 A few weeks ago the self-hosted community witnessed the public launch of Nextcloud, … Read More
Skype indicator in Ubuntu 17.04
copy the application desktop file from /usr/share/applications/ to ~/.local/share/applications/, then edit the file and change the “Exec” line by adding “env XDG_CURRENT_DESKTOP=Unity” (without the quotes) immediately after “Exec=”. ** And … Read More
Linux Terminal – hardware drive info – Ubuntu
Get drive Manufacturer, Model number, serial number, etc..: If we are concerned with the first drive in the system (/sda): 1sudo hdparm -i /dev/sda To see what volumes exist: 1sudo … Read More
Linux kill programs via terminal
get the process id of the application 1ps aux | grep [name of program to close] kill the application 1kill [process id] check process to ensure its gone 1rerun: ps … Read More
Printing VirtualBox Linux host Windows guest
Printing from Windows GUEST in Linux HOST – VirtualBox via CUPS HOST (Linux): 1.a: add printer to CUPS @ http://localhost:631/admin 1.b: virtualbox guest connects through BRIDGED networking GUEST (Windows): 2.a: … Read More