Gzip is a compression utility created by the GNU project.
You can use tail command with -f option. Following command will do the assigned task
#tail -f /var/log/messages
Ifconfig command can be used to assign IP address. Following command will do the given task. Ifconfig eth0 192.168.1.1 net mask 255.255.255.0
/var/log/wtmp log file keeps track of all user logins and logouts.
The first ATA/IDE hard drive is hda, so the command would be
# fdisk /dev/hda
/etc partition stores system configuration files in Linux.
The insmod command is used to load a module into the kernel.
The X Consortium at www.x.org controls the official release and updating of the X Window System.
The top command is used to monitor processes and resources in real-time.
To accomplish this task set up cron to run a script that will check the disk space daily at 7:00 p.m. The output will be e-mailed to the root account. You can compare the results from day to day to analyze disk space usage.
Your cron file should look similar to the following:
* 19 * * * df -kl.
Linux provides text base installation as the alternative method of GUI installation.
You can use killall httpd command to kill all httpd process. httpd process run web server.
Following command will do this task. Ifconfig eth1 192.168.1.10 net mask 255.255.255.0 broadcast 192.168.1.254.
Use ps -ef command to list all running process.
Killing a core process can potentially crash your system because many critical services rely on these core processes.
The fg command immediately moves the program to the foreground.
You can use #ps -au command to list all the process owned by user. Following command will do the assigned task
#ps -au summit
The standard command used to uncompress gzip files in gunzip.
First you need to determine the PID of send mail so it can be killed.
#ps -ef |grep send mail
Now you can use kill command to terminate the process associated with send mail.
You should follow these common steps:
The most common command used to remove an RPM package is rpm -evh. Following command will remove the given package
#rpm -evh demofilename2.2-2.i386.rpm
Any failed login attempts for root are logged into the /var/log/messages file. It indicate that some has tried to login as root.
The cron command allows you to create recurring tasks.
To enable already configured interface use Ifconfig [interface] up command. For example to up eth0 interface use following command.
#Ifconfig eth0 up
The [esc] key is used to exit from the edit mode of VI editor.
You could use mkfs command to format partition with file system.
The Linux swap file is used for virtual memory to store additional information that cannot fit into current memory. This swap file allows information to be cached on disk, and can be retrieved very quickly. Heavy use of the swap file indicates a low memory condition.
Kernel panic error can cause a Linux system to crash. A kernel panic indicates that a kernel process has crashed. This is a very serious error that causes the entire Linux system to crash. These core dumps should be analyzed carefully to find the root cause of the problem.
PPP is most often used to create serial point-to-point connections.
In fdisk utility, the "p" command will print the partition table.
The most common command used to install an RPM package is rpm -ivh. Following command will install the given package
#rpm -ivh demo filename 2.2-2.i386.rpm
If administrators have no intention of keeping these files for debugging purposes, they should be deleted because they are wasting valuable disk space, and may cause system to run out of space.
You can use bg command to send a running process to the background.
Swap on command is used to activate a already created swap partition. It cannot be used to create a new swap partition.
The init process is the first process to be run. It is the parent process of all other Linux system processes, services, and daemons that are needed to run the system.
Kerberos is used for secure network logon.
The most common command used to update an RPM package is rpm -Uvh. Following command will update the given package and remove the old.
#rpm -Uvh demofilename2.2-2.i386.rpm
Tar is an archive utility that is used to create tape backups.
The automatically mounted file systems are listed in the file /etc/fstab.
MD5 is an encryption method that encrypts the password before saving.
A better method of password security is to create difficult-to-break passwords that are easy for the users to remember.
The log file that contains kernel boot messages is /var/log/dmesg.
PPID refers to the parent process identification number.
The command line switch for installing an RPM is -i.
To decompress use following command
#tar -zxvf demo.tar.gz
Use cp command to create the backup.
#cp /etc/fstab /backup
The process should be immediately killed before it consumes so many resources that the server cannot run properly and therefore crash.
Your first step is to identify the process, use ps command
#ps -au sanjay
Now run top command to compare the process running, and verify which one is using the most resources. After you have identified the problem process, you can use the kill command to terminate it. Because the user was unable to stop the process, you should probably force a kill signal to make sure that the process stops:
#kills -9 [PID of process]
Now, to verify that it has stopped, run the ps command again on the user:
ps -au sanjay