Category ‘Operating Systems’
- TECHPULP |
How to unzip files with .7z extension in Fedora Linux
There is an open source tool names 7zip which creates compressed files with .7z extension. Fedora Linux provides a package in its repository to install the application if required. First of all, you need to install “p7zip” package in the... - TECHPULP |
How to show desktop pop-up notification in Linux using notify-send command
It is very useful when you are about to start a bulk job and want to get notified asynchronously after its completion. That helps you continue with other work without having to check for its completion periodically. Of course if... - TECHPULP |
How to configure a network interface in Linux
Linux provides “ifconfig” command to configure network interfaces. To display list of available interfaces: [root@techpulp ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:65:23:5E:D4:3C inet addr:192.168.191.1 Bcast:192.168.191.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:261958 errors:0 dropped:0 overruns:0 frame:0 TX packets:201967... - TECHPULP |
How to lock and unlock an user account in Linux
Any user account can be locked or unlocked only by Administrator (i.e root user). This is done using passwd command as explained below. When an user account is locked, Linux sets a irrecoverable password for that account so that login... - TECHPULP |
How to get standard 80×25 console instead of SVGA console in Fedora Linux
If you want to get good old 80×25 console in text mode of Fedora, you need to pass “nomodeset” option to the kernel. Open the file /etc/grub.conf or /boot/grub/grub.conf file and “nomodeset” option to the “kernel” line of the active... - TECHPULP |
How to disable graphical boot in Fedora
To disable graphical boot in Fedora, you need to modify system configuration. Open the file “/etc/sysconfig/init” and change the line “GRAPHICAL=yes” to “GRAPHICAL=no“. This only disables Fedora from using graphics mode during start up. So Fedora shows the text bar... - TECHPULP |
How to change home directory of a user in Linux
Ensure you have shadow-utils package installed. yum install -y shadow-utils Use the following command to set new home directory /home/newhome for user “myuser”. usermod -d /home/newhome myuser ... - TECHPULP |
How to change user login name in Linux
Ensure you have shadow-utils package installed yum install -y shadow-utils Then run the following command to change an existing login name “olduser” to “newuser”. usermod -n newuser olduser ... - TECHPULP |
Simple usage of sed command
The following examples show you how sed command can be used as a powerful alternative to general commands like head, tail etc. Let us consider the below input file for all the examples explained here. [neo@techpulp ~]# cat input.txt Line1... - TECHPULP |
How to resolve xinetd startup errors in Linux
The best way to solve any service start up errors in Linux is to run them manually with debug mode on. The difficulty comes from finding exact command line arguments to be passed (as if it were started by Linux...