Show line numbers in vi/vim editor.
Sometimes you need to find a specific line in a file, such as one identified by an error log. vi/vim can easily display or hide line numbers.
389 notes on Linux, tools and troubleshooting
Sometimes you need to find a specific line in a file, such as one identified by an error log. vi/vim can easily display or hide line numbers.
If Squid logs WARNING! Your cache is running out of filedescriptors in cache.log, it was compiled with a maximum of 1024 file descriptors.
This example reduces a 10 GB LVM volume to 8 GB, assuming it is mounted at /data, by shrinking the filesystem before reducing the logical volume.
Use grep to display configuration lines that begin with particular characters. This helps inspect comments and review configuration settings.
On systems with many users, users who leave without logging out waste system resources. This method addresses that and also improves security…
Linux normally mounts USB flash drives or thumb drives automatically when you plug them in. Sometimes it does not, which can frustrate new users…
Resolution: The Red Hat Enterprise Linux 5 Installation Number is a 16-character hexadecimal text string used during the installation process. The installation number enables a user to install the ful
Warning: check that your hardware supports CPU hot swapping before trying these commands; otherwise the hardware may be damaged.
This article may be useful to webmasters. It covers Linux commands for resizing JPEG, TIFF, PNM, GIF, and other Photo CD image formats. The procedure is straightforward…