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”
Author Archives: Farzand Ali
Understanding Open Source Software and Licensing
Freedom and Business: -Sell service and support -Open source option with commercial addons (e.g. AD connector) -One product open source, others for profit -Hardware vendor might make OS drivers
Sticky bit
[Linux] Difference between /tmp and /var/tmp The /tmp and /var/tmp directories are both used to store temporary files, but their use is slightly different. The differences When a program writes temporary files in /tmp, don’t expect to find it at the launch of another program.. Indeed this directory can be cleaned out anytime. In theContinue reading “Sticky bit”
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”
syslog and dmesg
How To View and Write To System Log Files on Ubuntu Linux logs a large amount of events to the disk, where they’re mostly stored in the /var/log directory in plain text. Most log entries go through the system logging daemon, syslogd, and are written to the system log. Ubuntu includes a number of waysContinue reading “syslog and dmesg”
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”