Basics of Linux Scripting

What’s the difference between the terms “Shell” and “Bash”? A “shell” is any software that provides an interface to an operating system. For instance, explorer.exeis the default shell in Windows (though alternatives exist), and on OS X Finder provides much of the same functionality. On Linux/*nix, the shell could be part of the desktop environmentContinue reading “Basics of Linux Scripting”

The Ultimate Linux Soft and Hard Link Guide (10 Ln Command Examples)

There are two types of links available in Linux — Soft Link and Hard Link. Linux ln command is used to create either soft or hard links. This article explains how to create soft link, how to create hard link, and various link tips and tricks with 10 practical examples. $ ls -l total 4Continue reading “The Ultimate Linux Soft and Hard Link Guide (10 Ln Command Examples)”

Linux logrotation

How To Manage Log Files With Logrotate On Ubuntu 12.10 About Logrotate Logrotate is a utility/tool that manages activities like automatic rotation, removal and compression of log files in a system. This is an excellent tool to manage your logs conserve precious disk space. By having a simple yet powerful configuration file, different parameters ofContinue reading “Linux logrotation”

ps and free commands

Important 10 Linux ps command Practical Examples As an Operating System which inspired from Unix, Linux has a built-in tool to capture current processes on the system. This tool is available in command line interface. What is PS Command From its manual page, PS gives a snapshots of the current process. It will “capture” theContinue reading “ps and free commands”

Linux Directory Structure and Important Files Paths Explained (File Hierarchy Standard) FHS

For any person, who does not have a sound knowledge of Linux Operating System and Linux File System, dealing with the files and their location, their use may be horrible, and a newbie may really mess up. This article is aimed to provide the information about Linux File System, some of the important files, theirusability andContinue reading “Linux Directory Structure and Important Files Paths Explained (File Hierarchy Standard) FHS”

Managing File permissions and ownerships

What we’ll cover in this article is how to identify permissions for files & directories and how to change them, as well as changing ownerships, groups, etc. Depending on what you want to do, you’ll want to make sure you have the appropriate permissions (obviously), so let’s find out how to change them. Let’s startContinue reading “Managing File permissions and ownerships”

cd and pwd command examples

15 Practical Examples of ‘cd’ Command in Linux In Linux ‘cd‘ (Change Directory) command is one of the most important and most widely used command for newbies as well as system administrators. For admins on a headless server, ‘cd‘ is the only way to navigate to a directory to check log, execute a program/application/script andContinue reading “cd and pwd command examples”