Category ‘Linux’
- TECHPULP |
How to free cached memory and dirty pages in Linux
When an application reads a file, Linux kernel keeps cache of file contents in memory. The Linux keeps the cache even after application closes the file to improve performance for further read operations of same file. This cache is freed... - TECHPULP |
How to run multiple commands at once in bash shell
All commands can be just appended using a semicolon (;) to make the bash to run all the commands one after the other as shown below. [liz@techpulp ~]# make config; make; make release The above command is equivalent to running... - TECHPULP |
How to solve ‘Stale NFS file handle’ error while accessing or unmounting a NFS volume
This error is typically seen in a system which has active NFS mount point. The NFS protocol doesn’t define any automatic way of communication for any change of NFS server configuration. For example, if a client system mounts an NFS... - TECHPULP |
How to change the order of network card detection in Linux
There are multiple issues you would notice when you have more than one Ethernet card (NIC) in your system. The NICs may not get detected in the order you want it to be. The on-board Ethernet port may get detected... - TECHPULP |
How to merge two files using text mode in Linux
The Linux provides a command “vimdiff” which can open two files using standard “vim” editor but in two separate logical windows. This is a text-mode based tool. This tool highlights the differences between two files so that the user can... - TECHPULP |
How to export a NFS volume in Fedora or RedHat Linux
NFS stands for Network File System and is a easy way to share files across Linux systems. However the downside of NFS file sharing is that shared folder can’t be protected with a password. But you can limit access to... - TECHPULP |
Fedora 11 (LEONIDAS) gets ready to hit the road by end of May
The upcoming Fedora 11 release, named Leonidas, is scheduled to be released towards end of May. This release comes up with all latest versions of desktops like KDE, GNOME, XFCE and popular applications like Firefox, OpenOffice.org etc. The following are... - TECHPULP |
How to get a shell with root access in Ubuntu similar to “su” in RedHat or Fedora Linux
In RedHat or Fedora systems, you will separate passwords and separate user accounts for root and non-root user. But in Ubuntu, the default user already has root privileges but not allowed to run any command that requires root privileges directly.... - TECHPULP |
How to enable auto login for SSH
This article assumes that the host name of server is “server1.techpulp.com” and that of client machine is “client1.techpulp.com“. You can replace these with your own domain names or IP addresses to suit your needs. Login to the server system to... - TECHPULP |
How to safely remove a file that contains sensitive data in Linux
Typically a file removal operation, in Linux or any other operating system, doesn’t actually erase all contents of the file. Though the file is logically deleted and doesn’t appear to the be present, its contents still present in the hard...