Latest News: Linux shell script to change you ssh port

Latest Page 6

VPS List AgentShare the best VPS relate with you

Play With Directory Stack
Tutorial

Play With Directory Stack

willing 2Year(s) Ago (2017-03-14) 328 View(s) 0 Comment(s)

Sometimes we work with long paths in directories and it is hard to remember all of them. What about popping them when we need them? There is a solution to this, it is called directory stack. As the name suggests, a directory stack is a stack in which we can push and pop directories when we need them. The directory stack is based on the principle of LIFO. What is LIFO? LIFO means last in, first out. The last directory pushed in the stack will be the first directory which will go out of the stack....

10 ‘cat’ Command Examples for Beginners
Tutorial

10 ‘cat’ Command Examples for Beginners

willing 2Year(s) Ago (2017-03-14) 367 View(s) 0 Comment(s)

“cat” is one of the commands that is used mostly in our everyday activities, so far as the terminal is concerned. It is mostly used with text files for displaying, combining (concatenating) and creating new ones. Here are 10 useful examples of such cat commands for beginners. 1. Creating a new file The most common use of cat is viewing text files even though you can do this by using a GUI text editor like gedit, this is faster and saves you from all those double clicking. To create a new file yo...

Easy Navigation Through Your Folders
Tutorial

Easy Navigation Through Your Folders

willing 2Year(s) Ago (2017-03-14) 303 View(s) 0 Comment(s)

Tired of typing long path names? Me too. I have a very good solution that will save you time and energy. Type less, be more productive. Forget the parent directory, if you want to go to a sub-directory just type ‘cd subdirectory’ in the terminal (without quotation marks). But how does this work? The trick here is the CDPATH environment variable, which is a variable that works only with the cd command. It is just like PATH environment variable, but the difference between PATH and CDPATH is that P...

How to Monitor Network Bandwidth with vnstat
Tutorial

How to Monitor Network Bandwidth with vnstat

willing 2Year(s) Ago (2017-03-14) 327 View(s) 0 Comment(s)

There are many tools available to monitor our network bandwidth usage at a particular date and time. Those tools will collect and send the bandwidth usage to system or network admins to find out what’s going on in there network infrastructure. We have already shown you how to monitor network bandwidth using iftop tool. Well, today i have come back with a tool called vnstat. vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected in...

Scrot: A Command-Line Screenshot Tool
Tutorial

Scrot: A Command-Line Screenshot Tool

willing 2Year(s) Ago (2017-03-14) 364 View(s) 0 Comment(s)

There are a lot ways to take screenshot in Linux. scrot is a very useful command-line tool for taking screenshots. scrot is pre-installed in most Linux distributions. When it is not installed, just run the basic installation command in your terminal. For Ubuntu: [crayon-5bcd02ca06794989574388/] How do you use scrot to take screenshot? scrot takes screenshots quickly and silently. Take a screenshot of the whole desktop Open a terminal and type scrot then hit Enter. [crayon-5bcd02ca0679c701035044/...

How to Compile and Install a Linux Software from Source Code
Tutorial

How to Compile and Install a Linux Software from Source Code

willing 2Year(s) Ago (2017-03-14) 351 View(s) 0 Comment(s)

Most often we do install software from the terminal by the help of  apt-get, rpm, yum, Ubuntu Software Center (GUI) and other forms on various Linux distributions. Sometimes it is good to download the source code of the software and compile it yourself. Most Linux newbies find this very difficult, since most of them are likely to have moved from Microsoft Windows OS, where they only surf the web and download executable files. Today we are going to learn how to make this difficult task very easy....

Ten ‘Find’ Command Examples for Beginners
Tutorial

Ten ‘Find’ Command Examples for Beginners

willing 2Year(s) Ago (2017-03-14) 357 View(s) 0 Comment(s)

find command is used for locate files in a directory hierarchy on Linux/Unix systems. You can search for files according to name, owner, group, type, permissions, date and other criteria. The search is recursive in that it will search all sub directories too. If you are a beginner, the following examples will make you clear about the find command. 1. Find full path of all files in the current and its sub-directories The following commands locate and display the full path names of all files in th...

Install LEMP Server (Nginx, MariaDB, PHP) On CentOS, RHEL, Scientific Linux 6.5/6.4/6.3
Tutorial

Install LEMP Server (Nginx, MariaDB, PHP) On CentOS, RHEL, Scientific Linux 6.5/6.4/6.3

willing 2Year(s) Ago (2017-03-14) 339 View(s) 0 Comment(s)

LEMP is a combination of operating system and open-source software stack. The acronym LEMP is derived from first letters of Linux, Nginx HTTP Server, MariaDB database, and PHP/Perl/Python. In this tutorial, let us see how to setup LEMP server on RHEL/CentOS/Scientific Linux 6.x. Here x stands for version such as 6.1, 6.2, 6.3, 6.4, 6.5 etc. My testbox hostname and IP address are server.unixmen.com and 192.168.1.200/24, respectively. Install Nginx Nginx (pronounced engine-x) is a free, open-sourc...

Install LAMP Server (Apache, MariaDB, PHP) On CentOS, RHEL, Scientific Linux 6.5/6.4/6.3
Tutorial

Install LAMP Server (Apache, MariaDB, PHP) On CentOS, RHEL, Scientific Linux 6.5/6.4/6.3

willing 2Year(s) Ago (2017-03-14) 480 View(s) 0 Comment(s)

LAMP is a combination of operating system and open-source software stack. The acronym LAMP is derived from first letters of Linux, Apache HTTP Server, MariaDB database, and PHP/Perl/Python. In this tutorial let us see how to setup LAMP server on RHEL/CentOS/Scientific Linux 6.x. Here x stands for version such as 6.1, 6.2, 6.3, 6.4, 6.5 etc. My testbox hostname and IP address are server.unixmen.com and 192.168.1.200/24, respectively. Install Apache Apache is an open-source multi-platform web serv...

Enable root Login On FreeBSD 10
Tutorial

Enable root Login On FreeBSD 10

willing 2Year(s) Ago (2017-03-14) 305 View(s) 0 Comment(s)

When I was testing my new FreeBSD 10 RC, I was not able to connect from remote machine using root user. So I decided to make a tutorial about this, may be it will help some people who is having the same problem. [crayon-5bcd02ca0777a721589855/] How  to enable root login  on FreeBSD 10 ? [crayon-5bcd02ca07782716577732/] Find this line: [crayon-5bcd02ca07784643079724/] and change it to: [crayon-5bcd02ca07785682760617/] Now Restart sshd [crayon-5bcd02ca07787616164271/] Now  you are Ready : [crayon-...