Category: Linux tutorials

Linux Bash Shell Useful Commands

Create a new tar archive. $ tar cvf archive_name.tar dirname/ Extract from an existing tar archive. $ tar xvf archive_name.tar View an existing tar archive. $ tar tvf archive_name.tar Check if remote port is...

Basic CLI Tips and Tricks II

Basic CLI Tips and Tricks II

This article is a continuation of our previous article – 40 Basic Command Line Tips and Tricks. The terminal is a really powerful tool when it comes to Linux, anything and almost everything on Linux can...

40 Basic Linux CLI Tips and Tricks

40 Basic Linux CLI Tips and Tricks

1.  Everything in Linux is a file including the hardware and even the directories. 2. # : Denotes the super(root) user 3.  $ : Denotes the normal user 4.  /root: Denotes the super user’s directory /home: Denotes the normal...

Permanent redirect (301) with .htaccess

To set a permanent redirection from with example.com and www.example.com to example1.com, the following code shall help you RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule ^(.*)$ “http\:\/\/example1\.com\/$1″ [R=301,L] Just put the...

Seven “must read” Linux tutorials

If you’re going to have long relations with Linux Operating System and use it as efficiently as possible I suggest to read the following howtos and guides that will help you on the way to...