This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo lshw -C disk | |
| lsblk | |
| sudo mount -l | grep sdb1 | |
| sudo umount /dev/sdb1 | |
| sudo mkfs.ext4 /dev/sdb1 | |
| sudo mkdir /media/$USER && sudo mkdir $_/usb-backup | |
| sudo chown $USER:$USER /media/$USER | |
| sudo cp /etc/fstab "/etc/fstab.bkup."$(date '+%Y%m%d_%H%M%S')"" | |
| echo -e "/dev/sdb1\t/media/$USER/usb-backup\text4\tdefaults\t0\t2" | sudo tee --append /etc/fstab | |
| sudo mount /media/$USER/usb-backup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo add-apt-repository ppa:pinta-maintainers/pinta-daily | |
| sudo apt-get update | |
| sudo apt-cache show pinta | |
| sudo apt-get install pinta -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsync -avz /local/source /local/destination |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo crontab -e | |
| 40 * * * * rsync -avz /local/source /local/destination >> /var/log/cron/name-of-local-source.log 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ifconfig -a | grep Ethernet | |
| sudo cp /etc/network/interfaces /etc/network/interfaces.original | |
| sudo vi /etc/network/interfaces | |
| # insert new lines of configuration data to the file | |
| # -------------------------------------------------- | |
| # eth0 is the typical NIC name. p3p1 is also another common one. Use the name | |
| # found from line 1 above | |
| # address: 192.168.0.99 is arbitrary | |
| # netmask and broadcast: are patterns that will work for the address above | |
| # gateway and dns-nameservers: assumes your router address is 192.168.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update && sudo apt-get -y dist-upgrade | |
| sudo apt-cache show ubuntu-desktop | grep "Depends" | |
| sudo apt-get -y install --no-install-recommends ubuntu-desktop | |
| sudo apt-get -y install unity-lens-applications unity-lens-files unity-lens-music unity-lens-video unity-scope-musicstores unity-scope-video-remote indicator-datetime indicator-messages indicator-power indicator-session nautilus-dropbox firefox git openssh-server powerwake rsync cups awscli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install unity-lens-applications unity-lens-files unity-lens-music unity-lens-video unity-scope-musicstores unity-scope-video-remote |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install network-manager | |
| sudo mv -fv /etc/network/interfaces.original /etc/network/interfaces | |
| sudo shutdown -r now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get -y install nautilus-dropbox firefox git openssh-server powerwake rsync cups awscli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://wiki.ubuntu.com/LibreOffice | |
| sudo apt-get install libreoffice-calc libreoffice-math libreoffice-writer libreoffice-help-en-gb libreoffice-pdfimport |