less is part of the GNU project and is free software. It is a program similar to more, but which allows backward movement in the file as well as forward movement. Also, less does not have to read the entire input file before starting, so with large input files it starts up faster than textContinue reading “less command in linux with examples”
Category Archives: Linux (Ubuntu/CentOS)
tcpdump command
12 Tcpdump Commands – A Network Sniffer Tool In our previous article, we have seen 20 Netstat Commands to monitor or mange Linux network. This is our another ongoing series of packet sniffer tool called tcpdump. Here, we are going to show you how to installtcpdump and then we discuss and cover some useful commandsContinue reading “tcpdump command”
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”
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”