Tag: linux

  • Linux do-release-upgrade Checklist Recover from Broken Pipe

    Before a do-release-upgrade in Ubuntu Linux, here’s a quick checklist of todo’s: Backup important files (apache sites / log files / conf files, PHP .ini files, databases, cron scripts, .bash_aliases, .profile, upstart scripts) Clear up enough space for upgrading (usually around 1GB) Open up a secondary SSH window and alternate port for firewall if you get…

  • Linux copy all hidden files directories keep permissions

    cp -rp /source-dir/. /destination/ -r = recursive -p = preserve /source-dir/. = dot means the entire directory contents, including hidden files

  • Bash move-jump word forward backward iTerm

    In bash terminal, to skip forward or backward whole words you need to send meta + f and meta + b, but Mac’s don’t have alt keys, rather option. iTerm allows you to change option to meta under profiles (or globally in Keys).  Change option key to meta shown below and you’ll be able to…

  • aptitude package manager – how to use tutorial

    Debian / Ubuntu linux visual package manager, a step-up from apt / apt-get command line for installing your LAMP server. Navigating aptitude with hot keys ? – help screen with partial list of hot keys l – filter packages (lower case L), shows only packages / – search, places cursor (within context of all packages)…