Absolute Pathnames An absolute pathname begins with a slash (/). The Absolute path defines the location of a Directory or a file from the root file system (/). The absolute path contains the full path to the directory or file. Examples of Absolute Path /usr/share/doc (Absolute path for a Directory) /usr/share/doc/bash/README (Absolute path for a […]
Archives for September 2021
What is Anacron and usage of Anacron in Linux
Anacron is a service that runs after every system reboot, checking for any cron and at scheduled jobs that were to run while the system was down and hence, have not yet run. It scans the /etc/cron.hourly/anacron file for three factors to determine whether to run these missed jobs. The three factors are the presence […]
Check successful and unsuccessful user login attempts in linux
For Linux System admins it is very important to know successful & unsuccessful user login attempts on their Linux boxes. In this post, we will discuss the commands that will help Linux system admins to determine successful & unsuccessful user login attempts. last command The last command shows the history the successful user login attempts […]
Difference between soft links and hard links in Linux
Soft Link A soft link (symbolic link or a symlink) makes it possible to associate one file with another. It is similar to a shortcut in MS Windows where the actual file is resident somewhere in the directory structure but you may have multiple shortcuts or pointers with different names pointing to it. This means […]
cpio command – copies, lists & extracts files to and from archives
Linux/UNIX cpio (copy in/out) command copies, lists, and extracts files to and from a single file or archives. Some of the options available with cpio command are listed in the below table. The cpio command requires that one of the o, i, or p options must be specified. Option Description -o Copies data. -i Extracts […]
10 Sed (Stream Editor) Command Examples
Sed is a stream editor in a UNIX-like operating system that is used for filtering and transforming text. Sed is derived originally from the basic line editor ‘ed’, an editor you will find on every Unix system but one that is rarely used because of its difficult user interface. How sed Works? As sed is […]
Configure Network Bonding in Ubuntu Server
Network bonding is the aggregation or combination of multiple LAN cards into a single bonded interface to provide high availability and redundancy. Network bonding is also known as NIC teaming. In this article, we will discuss how to configure network bonding in Ubuntu 14.04 LTS Server. In my scenario, I have two Lan Cards: eth0 […]
DHCP Interview Questions and Answers
What is DHCP? DHCP stands for “Dynamic Host Configuration Protocol”. How can I prevent unauthorized laptops from using a network that uses DHCP for dynamic addressing? This would have to be done using a mechanism other than DHCP. DHCP does not prevent other clients from using the addresses it is set to hand out nor […]
SAP Interview Questions and Answers
What is SAP? SAP is software that was built up in the year 1972 by Five German Engg., as they were working in IBM, SAP (System, Application, And Product In data processing) is Worlds largest ERP (Enterprises Resource Planning) software. What is ERP? ERP is a package with the techniques and concepts for the integrated […]
LDAP Interview Questions and Answers
What is LDAP? LDAP stands for Lightweight Directory Access Protocol. In plain and simple terms, it is a database whereby it has all the details of all the organizations, individuals, and other resources such as files and devices in a network, whether on the Internet or on the corporate intranet, and whether or not you […]