Linux tutorials, tips, and guides for desktop and server users.
-
GRUB2 — how to change the boot menu timeout on Linux
—
How to change the GRUB2 boot menu timeout in /etc/default/grub and apply the change with update-grub on Debian, Ubuntu, and other Linux systems. -
SSH troubleshooting — fix common connection problems on Linux
—
How to diagnose and fix the most common SSH connection failures on Linux: refused connections, key errors, permission problems, and firewall blocks. -
Backup files over SSH with rsync — a practical guide
—
How to back up files between servers using rsync and SSH, with key-based authentication and automatic scheduling via cron -
chgrp — change the group of a file on Linux
—
How to use the chgrp command on Linux to change the group ownership of files and directories, with practical examples and a comparison with chown -
xrandr — change screen resolution from the Linux command line
—
How to use xrandr on Linux to change screen resolution, refresh rate, orientation, and manage multiple monitors from the terminal -
Bash history expansion — reuse commands without retyping
—
How to reuse commands from Bash history using !N, !!, !string, Ctrl+R, and other history expansion shortcuts on Linux -
Bash tab completion — make it case insensitive
—
How to configure Bash tab completion to ignore case on Linux using ~/.inputrc or /etc/inputrc, with other useful readline settings -
basename — strip directory and suffix from file names
—
How to use the basename command on Linux to extract file names from paths and strip extensions, with practical shell scripting examples -
GoAccess — real-time web log analyzer for Apache, Nginx, and Caddy
—
How to install and use GoAccess to analyze web server access logs in real time, both as an interactive terminal dashboard and as a self-contained HTML report -
bc — GNU Linux command line calculator
—
How to use bc, the GNU Linux command line calculator, for basic and advanced arithmetic directly from the terminal or inside shell scripts -
How to change the default text editor on Debian and Ubuntu
—
How to change the default text editor on Debian and Ubuntu using update-alternatives, select-editor, and the EDITOR environment variable -
How to add a user to a group in Linux
—
How to add a user to a group in Linux using usermod, useradd, and gpasswd — with examples for existing users, new users, primary groups, and multiple groups at once -
chown — change file owner and group on Linux
—
How to use the chown command on Linux to change the owner and group of files and directories, with practical examples -
chage — manage password expiry and aging on Linux
—
How to use the chage command on Linux to set password expiration policies, force password changes, and manage account expiry for users -
at — schedule one-time tasks from the Linux command line
—
How to use the at command on Linux to schedule commands and scripts to run once at a given time, with practical examples -
Bash for loop — a practical guide
—
Learn how to use the bash for loop in scripts and the command line, with practical examples including counters, ranges, break and continue -
apt-get and aptitude — package management and orphan cleanup on Debian and Ubuntu
—
Understand the difference between apt-get and aptitude on Debian and Ubuntu, and how autoremove keeps your system clean from orphan packages -
How to change the hostname on Linux
—
How to change the hostname on Linux permanently using hostnamectl on systemd systems, and also the traditional method for older systems -
checkinstall — create a .deb or .rpm package from source code
—
How to use checkinstall to compile software from source and install it as a proper .deb or .rpm package, making it easy to track and remove later -
diff — Linux command to compare files
—
How to use the diff command in Linux to compare files and directories, with examples for unified output, patches, and recursive directory comparison. -
df — Linux command line tool to display disk space usage
—
How to use the df command on Linux to check disk space usage, free space, filesystem types, and inode usage -
du — Linux command line to display disk usage per file and directory
—
How to use the du command on Linux to find which files and directories are using the most disk space -
iotop — monitor disk I/O in real time on Linux
—
How to use iotop to monitor disk read and write activity per process in real time on Linux -
htop — an improved top for Linux
—
How to use htop to monitor processes, CPU, and memory on Linux — a friendlier and more powerful alternative to top -
grep — Linux command line, search for patterns in files
—
How to use the grep command on Linux to search for strings and patterns in files, with practical examples -
history — the Linux command to manage your command line history
—
How to use the history command on Linux: search, re-run, configure and get the most out of your shell history -
tail — Linux command line to display the end of a file
—
How to use the tail command on Linux, including the -f option to follow log files in real time -
Varnishlog filter the records for debugging
—
Varnishlog filter the records for debugging -
Remove spaces from file names with Linux
—
Remove spaces from file names with Linux -
Use varnish to avoid hot linking or image leeching
—
Use varnish to avoid hot linking or image leeching -
Secure Apache and PHP, hide version numbers
—
How to secure your Apache installations by hiding version numbers of Apache and PHP -
Wordpress dashboard problem with Ajax, CSS and Javascript
—
Dashboard Ajax / CSS / Java not working. Something not working on the Wordpress dashboard, here how to solve it -
Farewell to Microsoft
—
My own experience about how I managed to get rid of Microsoft Windows. I do not need it anymore for any task -
Varnish and virtual Hosts configuration (Apache and Nginx)
—
Configure Varnish with Apache and Nginx virtualhost -
Instantiation failed for module 'eap'
—
How to solve Freeradius errors Instantiation failed for module 'eap' and Failed to load module 'eap' in file /etc/raddb/eap.conf -
Install fail2ban to protect your site from DOS attacks
—
How to protect your web server from DOS attacks with fail2ban -
Restart sshd linux (service, daemon)
—
How to restart the sshd daemon in Linux -
Restart sshd daemon on Linux
—
How to restart the ssh service, sshd daemon on Linux, Ubuntu, CentOS, Arch, Slackware -
Configure varnish logs (varnishnsca), logrotate and awstats
—
How to install and configure awstats to work with Varnish logs from varnishnsca and Logrotate on Ubuntu Linux -
Nginx+Varnish compared to Nginx
—
Comparing how is the performance of Nginx+Varnish vs Nginx alone -
Save Battery on Android with Tasker
—
How to use tasker to save your Android's battery -
How to format a usb drive with FAT32 file system on Linux
—
Learn how to format your usb drive using with FAT32 file system, using Linux tools. -
My top five ssh tips and tricks a small cheatsheet
—
My favorite ssh tips together here, also some scp common tricks -
How to copy files and sync files between Linux or Mac computers with rsync
—
How to use rsync to backup or copy files between Linux or Mac computers -
How to share files with Windows using samba and no password
—
How to install and configure Samba server on Linux to share files with Windows without the need to enter a password -
How to use find with boolean operators AND, OR, NOT
—
Using boolean operators (AND, OR and NOT) with nix (Linux) find command -
Vim search and replace tips
—
How to search and replace with vim -
Linux and BSD security. Limit time of idle ssh sessions
—
Limit idle ssh sessions time, avoid unattended ones, ClientAliveInterval & ClientAliveCountMax -
SysCTL command for Linux
—
Introduction to Sysctl command on Linux and how to use it -
Look for a string, word, or sentence in a file with Linux grep command, recursively
—
How to find a word, sentence or any string with Linux grep command and do it recursively -
How to enable IP forwarding in Linux
—
How to enable ip forwarding for Linux using different ways, temporary and permanent -
Classifying Linux Distributions
—
Classifying different Linux Distributions based on applications -
How to upgrade Debian Lenny to Squeeze (5.0 to 6.0)
—
Step by step Debian upgrade tutorial. This tutorial needs access to the console, and it is great to upgrade servers. This is meant for the upgrade of Lenny to Squeeze, but may work with other releases as well -
VBoxManage control and manage Virtualbox from command line
—
Control VirtualBox virtual machines from the command line terminal -
How to kill a not responding application on Linux
—
If you have an application that is not responding on Linux, you need to terminate it, here is how to do that -
Get Slack
—
Small review of Slackware Linux, the oldest still active distribution -
How to setup a DNS server master - slave with BIND
—
How to install and configure a DNS server master, slave with BIND -
Four years with Debian
—
Review of Debian Linux, after four years of use and testing it -
Number of proccesses per user on Linux
—
How to know How many processes each user is running in Linux -
Replicate file permissions
—
How to copy or replicate file permissions from one file to another in Linux shell -
How to install Linux Kernel headers on Debian or Ubuntu
—
How to install kernel headers to Ubuntu or Debian Linux, and keep them up to date -
How to find which process is eating RAM in Linux
—
Check which process is using your RAM in Linux, list all processes by RAM usage -
Nginx | Create custom 404 page not found error page
—
How to create custom 404 not found error page with Nginx -
How to block, lock, or deny access to a user into Linux
—
How to deny the access to a user into Linux. When you need to temporary lock or block a user -
Interview with Debian Developer Raphaël Hertzog: is Ubuntu beneficial for Debian?
—
Interviewing Raphael Hertzog. A Debian developer and active Linux community member -
cmatrix, The Matrix screen on a Linux terminal
—
Make your Linux terminal console looks like The Matrix from the movie. -
How to find open ports in Servers in your Network with Linux
—
How to find which ports are opened in your Network with Linux and nmap -
How to erase, blanck or wipe your disk, or usb memory stick
—
How to completely and securely wipe a USB key memory to protect your privacy -
Break and Continue in Bash For Loop
—
How to break a bash for loop, and how to continue the loop -
Run commands on remote server via ssh
—
How to run commands on remote servers using a temporary ssh connection, the ssh connection closes when the command is finished -
Slackware review
—
In depth review of Slackware Linux -
Too Many Linux Distributions
—
Analisys, are there too many Linux Distributions? -
mkfs.vfat and mkfs.ntfs Arch Linux
—
How to format a FAT32 file system with Arch Linux -
Install Development Tools in Linux (GNU GCC Compiler and others)
—
How to install GNU GCC and other development tools in Debian, Fedora or Arch Linux -
Gwibber and Hotot review
—
Review of two Twitter Linux clientes, Gwibber and Hotot -
How to send mail from command line with Gmail and Mutt
—
How to send email from command line in Linux with Mutt using your Gmail account -
ssh public key only login - authentication
—
ssh public key only login - authentication -
Ubuntu 10.10 maverick meerkat best 10 reviews
—
Review of Ubuntu 10.10 Maverick Meerkat reviews -
Do you agree with LibreOffice fork?
—
Talking about LibreOffice fork from OpenOffice -
Convert html to pdf with Linux
—
How to donwload an html page and convert it to pdf for printing and distribution -
New branch on Debian?
—
New Branch on Debian, exploring the possibility of a Rolling release -
Movable Type vs Drupal with boost
—
Performance comparison of static site generated by Movable Type and Drupal with boost module -
Two new Linux Distributions I have tested
—
A small review of two new GNU Linux distributions I have been testing. Linux Mint Debian Edition and Crunchbang -
Arch Linux Review (2010)
—
Review of the most famous rolling release Linux distribution, Arch Linux -
Movable Type
—
Talking about Movable Type in 2010 -
Quo vadis Linux?
—
Where is Linux going? Analysis of Linux future -
First post on MovableType platform
—
First post with MovableType platform, starting and testing a new and old bloging platform -
client denied by server configuration Apache error
—
How to fix Apache client denied by server configuration error -
Share files using python or php Web Server
—
How to use python or php server to share files in a network easily -
UUID on Linux fstab file
—
UUID on Linux fstab file -
Secure ssh access with now password
—
How to securely log into a unix like server (like Linux or BSD) without the need of a password using ssh using rsa key -
Nginx with gzip static (gzip_static) support on Ubuntu
—
How to install Nginx with gzip static support on Ubuntu -
How to benchmark, Stress, your Apache, Nginx or IIS server
—
How to perform stress tests on Web servers. Works for Apache, Nginx, Cherokee, IIS or any other -
Add a second ip to Ubuntu Linux
—
How to add a secondary IP to Ubuntu Linux editing file /etc/network/interfaces -
ls -l explained
—
What is the meaning of the output in the Linux command ls -l -
Increase MySQL performance with query cache query_cache
—
How to increase the performance of MySQL using query cache -
Nginx with gzip static (gzip_static) support on Arch Linux ABS
—
How to install Nginx with gzip static support on Arch Linux, using ABS -
Linux, How to clear a printer queue
—
How to clear the printer queue in Linux -
How to install nslookup on Arch Linux
—
How to install the nslookup tool on Arch Linux -
How to use Arch Linux pacman through a proxy
—
How to configure Arch Linux to pass through a proxy while upgrading or installing with pacman -
last - See any user login history
—
How to see las login logs in Linux and other Nix operating systems with last command -
Arch Linux Review (2009)
—
Arch Linux review, My favorite GNU Linux Distribution -
How to find the fastest ArchLinux mirrors
—
How to configure ArchLinux to use the fastest mirrors for Pacman -
How to update and upgrade Arch Linux
—
How to upgrade your Arch Linux installation to keep it up to date -
adduser vs useradd: Ubuntu, Debian, Gentoo, Fedora, CentOS
—
Difference between adduser and useradd when you are working on Ubuntu or Debian, and CentOS or Fedora and Gentoo -
Define a static IP on Linux, and assign a Default Gateway
—
How to set a static IP on Nix sytems like Linux and also assign a default Gateway to the box -
ps - How to check the running processes on Linux
—
Using ps command to show running processes under bash for Linux or Mac OS X -
CTRL Z, stop and restart Linux jobs
—
Take control of Linux jobs, stop and resume them any time using CTRL Z -
Broadcast to all users on Linux
—
How to use wall command to broadcast a message to all users in a Linux box -
Kill any users processes and logout the user
—
How to kill user's processes -
whowatch - Monitor who is doing what on your Linux
—
Whowatch let you know what all other users in a Linux powered system. Is a console application -
How to find which service is listening on a given port
—
Find which services or programs are listening on different ports -
Resume downloads, limit speed and more with wget
—
How to limit speed, resume downloads, run in background, and more tricks of wget -
vnstat - Command Line Tool to check how much bandwidth you use
—
vnstat, a tool that helps you monitor the Internet traffic you use on your Linux -
Cut or trim mp3 files with Linux, mpgsplit and mp3cut
—
Cut or trim mp3 files using the command line in Linux -
How to install the startx command
—
How to install the startx command in Linux -
cpufreqd, How to configure you cpu speed
—
How to control de CPU speed of your computer with Linux -
nmap - how to scan hosts of networks for open ports
—
Using nmap to scan ports on Linux or Mac OS X, and some graphical front ends of it for Linux -
Rename Multiple Files with Linux
—
How to rename lots of files in Linux at once from the command line -
Check your Laptop Battery status from the command line
—
How to check the status and state of your laptop battery on Ubuntu Linux from the console terminal -
What is my public IP | Linux
—
Different ways to find your public IP with Linux. Using the console command line -
Debian - Origin of the names -
—
List of the origin of Debian releases' names -
How to create mp3 ringtones with Linux
—
How to cut mp3 songs to create ringtones with Linux to use on your smartphone -
Ten useful uses of command find
—
Ten useful examples of the find command. You can use on bash on Linux, Mac or BSD -
configure: error: C compiler cannot create executables
—
How to solve 'configure: error: no acceptable C compiler found in $PATH' problem in Debian Linux -
How to transfer files via bluetooth on Linux
—
How to transfer files between smartphones and Linux using bluetooth -
wget - Downloading from the command line
—
Most used wget commands, for recursive download, following external links, limit rate -
Boost your Internet browsing - Install Polipo
—
How to boost your internet browsing by installing a personal proxy -
Get a faster browsing experience using a local caching DNS
—
How to improve the user experience, and improve Internet browsing speed -
Clean up your grub menu from the kernels you do not use
—
How to get rid of unused kernel images in Ubuntu, and clean up your grub menu -
fail2ban - Free of dictionary attacks
—
Put brute force attackers away of your server with fail2ban -
Sabayon Linux
—
Review of Sabayon Linux -
Set the time and date in Linux systems
—
How to set time and date in Linux from console and from Desktop -
Show the beginning of file, with bash on Linux or Mac
—
How to show only the first lines or the beginning of a file under Linux or Mac using bash and the head command -
find command on Linux
—
How to use find command on Linux to well, to find files in the disk -
Counting lines, words, characters in text files with Linux with wc
—
How to know the number of lines, words or chars in a text file on Linux -
Which Distro to choose? - Comparison -(Not a Debian vs Ubuntu vs Fedora vs Centos)
—
Comparing Unbutu, Debian, CentOS and Fedora based on number of packages, easy of upgrade and more -
Configure Sendmail and Exim to Send Email with Smarthost
—
How to configure Sendmail and Exim to sendmail through a SmartHost for Linux Debian or Ubuntu -
VMware Server on Etch (Debian 4)
—
How to install VMWare server on Debian 4.0 Etch. Step by step explanation -
Root Password Recovery for Fedora
—
Easy steps to recover the root password of a Fedora password installation -
Protect your server with DenyHosts
—
How to protect your server from attackers with DenyHosts -
Firewall with Linux script
—
Bash script to set a Linux firewall