Show Docker container logs
How to print Docker container logs from the Host
How to print Docker container logs from the Host
How to print a specific string of text that is between specific characters
What is the equivalente to build-essential in Arch Linux
How to upgrade CentOS from 8.0.1905 to 8.1.1911
How to edit Ubuntu Linux files using Windows editors like Notepad++ or any other of your preference
How to upgrade Middleman static site generator to the latest stable version on Ubuntu Linux
How to reboot or turn off a Linux powered computer, server or workstation, works on laptops too.
How to copy files on Linux or BSD like systems (Mac OS X, FreeBSD) from one location to another on same computer
How to change permissions to files recursively for Owner, Group and Other the easy way
How to redirect all 404 errors to backend on Nginx so an application can take care of those errors
How to make MySQL bind all network interfaces and not only localhost, so it can be accessed from the external network
How to search and find packages on Ubuntu or Debian using apt from command line
How to compress and optimize jpeg or jpg and png files for fast loading websites
How to make Firefox to wrap PRE html tags
How to list all installed packages in Ubuntu or Debian
How to clean MySQL from unused databases and users
How to compile software from ports in FreeBSD with more option when it was already installed
How to install Nginx on FreeBSD operating system
MySQL Select From Range of Dates
How to use the SELECT statement in MySQL WHERE there are multiple conditions
How to install the latest version of Jekyll on Ubuntu 14.04
How to install VirtualBox Guest Additions for Ubuntu
How to insert data from csv file into MySQL database's table
How to test PHP and Apache server with phpinfo script
Insert lines to text files with sed editor
Remove ^M characters from text files with vim
Replace words in files with sed
How to type commands in shell and prevent them from being logged or recorded on bash history
How to insert sudo in front of commands when you have already run it
How to flush the queue of Postfix MTA and free all emails not already sent
How to show the contents of a file under Linux or any other Unix like system like Mac OS X
How to compile and run programs written in C on Ubuntu or Debian Linux
How to change the password of the current user or another user in Unix like systems. Linux or Mac OS X
How to know the users that belongs to a group in Debian or Ubuntu Linux
How to install a deb file in Ubuntu, Debian, Mint or some other Debian derivative
How to show full headers of email in Outlook 2011 on Mac OSX
How to run wget in background, limit rate and continue broken or interrupted downloads
Limit wget download rate, so others can share the bandwidth in your home of office, otherwise wget will use all it can
How to resume a broken download, and continue downloading the file from the place it was interrupted
Solved PHP, Wordpress error 'Warning: Creating default object from empty value in wordpress'
How to backup a bare git repository over ssh on another server automatically and periodically
How to count files recursively in a folder when you are using BSD, Linux or Mac OS X
How to access root, or switch to root account from another one when on FreeBSD
How to change FreeBSD pkg_add ftp source site, and also the folder where it looks for packages
How to display environment settings for FreeBSD, also how to set new variables for it.
How to delete spaces in filenames in Linux or Mac, actually Unix kind operating systems
How to delete or drop one or more tables from MySQL database, using mysql interactive shell or command line
How to remove files ending with tilde, or starting and ending with hash symbol. Those are usually vim or emacs backup files
If you need to install gsl ruby gem on Ubuntu, here is how to. I had to install in order to run Jekyll with --lsi modifier
Simple steps to create and display a custom 404 Not Found page, when you are running a static website, powered by either Nginx or Apache
In case you have a Django application needing a PostgreSQL server, you can use this to install it under Ubuntu server
Solved. Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
How to upgrade, Ubuntu to a new version using the terminal and ssh connection
How to undo 'git add' before the commit command
How to spell check on emacs for Linux or Mac. Works for ReStructuredText and LaTeX
How to prepare a video to be uploaded to an HTML5 compliant site. You need to resize and convert to mp4 and ogg formats
Change quality and resize pictures in batch using imagemagick convert command in Linux or Mac
Bash: How to rename files from uppercase to lowercase with one command
How to look for a string recursively in all files using grep command line in bash for Linux or Mac OS X
How to start or stop a KVM or QEMU virtual machine from the host command line
Ubuntu. Configure two network interfaces, one only for Internal resources and the other for Internet
How to set up proxy settings in Ubuntu Desktop. Unity or Gnome shell
How to create a file in Linux where the name or part of it is the current date and hour
How to measure or monitor the traffic on a eth or wireless LAN interface on a Unix-like OS. Linux or Mac OS X
How to open a port to one (or more) specific IP address using iptables rules
How to forbid or avoid your pages to be cached using htaccess and Apache
Log into ssh servers (Mac OS X or Linux) without passwords, using ssh key. How to generate them with ssh-keygen and install on the server
How to increase Ubuntu Linux server memory, create and add swap space with swap file
how to install fastcgi on Ubuntu server when. cant install fastcgi ubuntu server: Package libapache2-mod-fastcgi is not available
how to migrate a MySQL database to a new server, or between two servers, using scp and mysqldumb
Stop Varnish cache server from caching 404 error pages. Or make it cache them for only a short period of time
How to clone a bootable usb key, or copy to disk for storage. Useful to create copies of bootable usb memory
How to solve: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Little tools to help you switch from Jekyll to Pelican. Change YAML Front Matter to Markdown headers
Git on Mac ignoring changes in filenames from uppercase to lowercase due to ignorcase option set to true
How to install perl library using CPAN tool, on Ubuntu Linux
How to revert files and folders to its state at the last commit in git
Resize a lot of photos at the same time, using imagemagick, you can also change the image quality on the same command. Working with bash for loop and imagemagick tool this is an easy task
Using one liner bash for loop to rename files to lower case names, works on Linux and Mac OS X
How to use rsync to copy only a specific type of file, making use of the include and exclude options
How to disable a daemon such a Nginx, Apache, MySQL or any other from starting at boot time. We will disable them from startup scripts, read more to learn how
A good way to speed up a static site when using Apache to serve it, is to permit your users' browsers and the cache servers in the middle to save a copy of the pages. And you can add Cache-Control header on Apache on a per file type basis
If Wordpress ask for FTP user and password when you try to install new plugin or theme. You may need to follow this instructions to make Wordpress let users install plugins and themes without FTP credentials
Using mkdir and curly brackets, you can create multiple directories using only one command, you can create complex nested folder structure with mkdir, here is how
It is very important to know the version of Linux and the version of the distribution you are using. If CentOS is what you are using, this will tell you what version of CentOS you are running
htop is not installable by default on CentOS. If you want to install it fast, the best way is downloading the rpm file. Here is how I install htop on CentOS servers
How to use .htaccess file for 301 redirect
How to exclude and single file or folders or multiple files or folders when working with rsync
How to enable mod rewrite module on Apache2
Check Nginx and Apache gzip encoding with curl headers
gzip --keep does not work: Here is how to gzip a file and keep the original untouched
How to enable mod headers module on Apache2
How to completely flush the cache of reverse proxy server Varnish Cache
Find and replace with bash. Using find and sed commands. Useful for Linux and Mac OS X
How to install Middleman static blog / site generator on Ubuntu Linux
How to install Jekyll (static blog generator) on Ubuntu
How to install Nvidia drivers on Ubuntu
Install Google Chrome on Ubuntu the easy way
Shows you how to use useradd to create a new user under Ubuntu or other Linux distribution
How to set or unset "manually/auto installed" flag on Ubuntu or Debian Linux
How to solve the "could not be synced because the sync session failed to start" problem with iPod, iPhone or iPad
How to delete all files of a given type in a folder structure, recursively. Useful in Linux, Mac OS X and Unix.
How to clear a complete folder structure, Deleting all files, but not folders
How to install a .deb (Debian package) from the command line
How to install development tools in Debian and Ubuntu
How to minify and combine (merge) css files using ruby juicer. Works on Linux and on Mac
Small tip to undo and redo changes in the great text editor vim
How to calculate MD5 hash of a file on Mac OS X. MD5 is important when you download files from the Internet, and you need to check if the the file is OK
Sometimes you need not only the logical status of an ethernet port, but also the physical status of it, here is how you test the physical estatus of an ethernet port in Linux, I have tried it on Ubuntu
Small tutorial to teach you how to use perl pie, or actually perl -pi -e to substitute a string in lots of files at the same time. All from the command line of your Mac or Linux
Download a list of links in a file from a file using the terminal and wget
Create a new database and a new user on MySQL and set privileges and rights to the user over the newly created database - Using the terminal
How to recover MySQL root password using the terminal
Good link that shows you how to get Slackware on a MacBook Pro configured
Angry Birds now available for Chome, Online or Offline | Enjoy playing it
A nice cat picture
Just the picture of a nice duck