In this post we will discuss how to mount ISO in Linux VM running inside Virtualbox or VMware.
Solved: Install and use rsync in Linux and Solaris – Tips and Tricks
rsync is a very useful utility which can be used to take backup or copy data from one filesystem to other. The best part with rysnc is that it considers incremental data while copying and syntax is easy.
rsync is popular with Linux and included in most versions by default. If you don’t have rsync in machine you can simply install it by following commands:-
Ubuntu / Debian
sudo ap-get update sudo apt-get install rsync
RHEL / CentOS
yum install rsync
Continue reading “Solved: Install and use rsync in Linux and Solaris – Tips and Tricks”
Solved: How to use nmcli for adding new IP and managing network in Redhat Linux
In our last post we have seen how to use nmtui for network management. In this post we will see how to use nmcli for doing the same activity.
“nmcli” is a command line interface. Benefit with both nmtui and nmcli is that you don’t have to update the network configuration files manually. All the required changes are done by nmtui and nmcli themselves.
Good thing with nmcli is that you don’t have to install any extra package like nmtui. nmcli is generally included with NetworkManager.
Continue reading “Solved: How to use nmcli for adding new IP and managing network in Redhat Linux”
Solved: How to change hostname using nmtui or nmcli in redhat linux
In our last post we have seen how to change hostname manually or with hostnamectl .
In this post we will discuss how to change hostname with nmtui and nmcli tools.
Continue reading “Solved: How to change hostname using nmtui or nmcli in redhat linux”
Solved: How to use nmtui and nmcli tool to configure network in Redhat Linux
In this post we will see how to use nmtui for network management. This can be a very useful tool for starters in Redhat Linux 7.
Continue reading “Solved: How to use nmtui and nmcli tool to configure network in Redhat Linux”
In what sequence startup and shutdown RC scripts are executed in Solaris
We can use RC (Run Control) scripts present in /etc/rc* directories to start or stop a service during bootup and shutdown.
Each rc directory is associated with a run level. For example the scripts in rc3.d will be executed when the system is going in Run Level 3.
Continue reading “In what sequence startup and shutdown RC scripts are executed in Solaris”
Solved: How to create a soft link in Linux or Solaris
In this post we will see how to create a softlink.
Execute the below command to create a softlink.
Continue reading “Solved: How to create a soft link in Linux or Solaris”
What are the maximum number of usable partitions in a disk in Linux
Linux can generally have two types of Disks. IDE and SCSI.
IDE
By convention, IDE drives will be given device names /dev/hda to /dev/hdd. Hard Drive A (/dev/hda) is the first drive and Hard Drive C (/dev/hdc) is the third.
Continue reading “What are the maximum number of usable partitions in a disk in Linux”
Solved: How to scan new LUNs in Redhat Linux
In this post we will discuss how to scan new LUNs allocated by storage team to a Redhat Linux system.
There are two ways of scanning the LUNs
Continue reading “Solved: How to scan new LUNs in Redhat Linux”
Solved: How to add swap space in Redhat or Ubuntu Linux
In this post we will see how we can add a file as swap space in Linux. Same steps are to be followed for Redhat and Ubuntu Linux.
Type the following command to create 100MB swap file (1024 * 100MB = 102400 block size):
dd if=/dev/zero of=/swap1 bs=1024 count=102400
Secure swap file
Continue reading “Solved: How to add swap space in Redhat or Ubuntu Linux”