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
| # http://www.cyberciti.biz/faq/how-do-i-find-the-current-connections-to-a-samba-server/ | |
| smbstatus -u |
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
| $ csshx site1.com site2.com site3.com |
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://help.ubuntu.com/community/CronHowto | |
| # Open crontab to edit | |
| $ crontab -e |
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
| $ cat /var/log/auth.log | grep -b3 -a4 -i WBC_ERR_AUTH_ERROR |
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
| # http://askubuntu.com/questions/84501/how-can-i-change-convert-a-ubuntu-mbr-drive-to-a-gpt-and-make-ubuntu-boot-from | |
| Terminology | |
| ----------- | |
| BIOS = Basic Input/Output System | |
| (U)EFI = (Unified) Extensible Firmware Interface | |
| MBR = Master Boot Record | |
| GPT = GUID Partition Table | |
| UEFI / EFI / BIOS = Firmware interface | |
| MBR / GPT = How the computer knows (per hard disk) what partitions are on the drive and how to boot from them. |
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
| # Installing htop | |
| # Followed this: http://www.youtube.com/watch?v=le8o7Lu5RDY | |
| $ sudo apt-get install htop | |
| # Alexey suggested Munin | |
| # http://munin-monitoring.org/ | |
| $ sudo apt-get install munin | |
| # http://munin-monitoring.org/wiki/CgiHowto <-- finish |
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://coderwall.com/p/oqtj8w | |
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| set show-all-if-ambiguous on | |
| set completion-ignore-case on |
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://github.com/documentcloud/underscore | |
| http://angularjs.org/ | |
| http://www.cheatography.com/proloser/cheat-sheets/angularjs/ | |
| http://joelhooks.com/blog/2013/05/22/lessons-learned-kicking-off-an-angularjs-project/ | |
| http://iffycan.blogspot.com/2013/05/angular-service-or-factory.html |
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
| y@seacrest:~$ sudo useradd -m rmillikan | |
| y@seacrest:~$ id rmillikan | |
| uid=1001(rmillikan) gid=1001(rmillikan) groups=1001(rmillikan) | |
| y@seacrest:~$ sudo passwd rmillikan | |
| Enter new UNIX password: | |
| Retype new UNIX password: | |
| passwd: password updated successfully | |
| # Add User to Group (secondary group) | |
| sudo usermod -a -G <group> <user> |
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
| http://bigocheatsheet.com/?utm_source=statuscode&utm_medium=email |