Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
How to stop/Interrupt cp or mv Linux or Unix command
To stop or interrupt the cp or mv command in Linux or Unix, you can use the CTRL + C keyboard combination. CTRL + C sends the SIGINT signal to the process, which tells it to stop its execution immediately. If the cp or mv command is in the middle of copying or moving a file, the process will be
rpmbuild: error: Installed (but unpackaged) file(s) found Solution
The error “Installed (but unpackaged) file(s) found” in rpmbuild typically occurs when you are building an RPM package and there are files that are installed on the system, but they are not specified in the RPM specification file ( .spec file). This means that the files will not be inclu
RHEL 6 / CentOS 6: Install Adobe Flash Player For Firefox Browser
To install Adobe Flash Player on Red Hat Enterprise Linux (RHEL) 6 or CentOS 6 for the Firefox browser, you can follow these steps:rn rn Install the required dependencies: rn rn rn rn $ sudo yum install nspluginwrapper alsa-plugins-pulseaudio libcurlrn rn rn rn Download the Adobe Flash Player for Li
CentOS / RHEL: Install gpass Password Manager For GNOME2 Desktop
To install gpass password manager on CentOS or Red Hat Enterprise Linux (RHEL) with the GNOME2 desktop environment, you can follow these steps:rn rn Install the required dependencies: rn rn rn rn $ sudo yum install gnome2-devel gnome-keyring-devel libgnome-keyring-dev gtk2-develrn rn rn rn Download
Mac OS X: Move the Dock and Menu Bar To External Display
In Mac OS X, you can move the Dock and the menu bar to an external display by following these steps:rn rn Connect your external display to your Mac. rn Click the Apple menu, and then choose "System Preferences." rn Click "Displays" to open the Displays preferences. rn Select the external display fro
Linux / Unix: Convert AVI To MOV Format Using ffmpeg Command
To convert an AVI file to MOV format using the ffmpeg command in Linux or Unix, you can use the following syntax: n n n ffmpeg - i input .avi -c copy output .mov n n n Here, input.avi is the name of the input AVI file, and output.mov is the name of the output MOV file. The -c copy option tells ffmpe
Linux / Unix: Bash Shell Assign Printf Result To Variable
You can assign the result of a printf command to a variable in the bash shell by using command substitution. Command substitution allows you to execute a command and capture its output as the result of the substitution. To assign the result of a printf command to a variable, use the following syntax
Linux Command To Detect Display Card Chipset
There are several ways to detect the display card chipset on a Linux system. Here are a few methods:rn rn Using lspci : The lspci command is a utility that lists all PCI devices on a Linux system, including display cards. To get information about the display card chipset, run the following command:r
JBD: Barrier-based Sync Failed On md0-8 – Disabling Barriers Error and Solution
The "barrier-based sync failed" error message in JBD (Journaling Block Device) can occur when the file system encounters an issue with writing data to disk. Barriers are used to ensure that data is written to disk in the correct order and to prevent data loss in the event of a system crash. When a b
RHEL / CentOS Linux: Mount and Access NTFS Partition
To mount and access an NTFS partition on a Red Hat Enterprise Linux (RHEL) or CentOS system, you will need to install the NTFS-3G driver, which provides support for NTFS file systems. Here's how you can do it:rn rn Install the required packages:rn rn rn sudo yum install ntfs-3grn rn rn Create a moun
Linux: NFS4 mount Error reason given by server: No such file or directory
The "No such file or directory" error when mounting an NFS4 file system typically indicates that the client is unable to access the NFS server or the shared directory on the server. This error can be caused by several factors, including:rn rn Incorrect server address: The client may be using an inco
Debian / Ubuntu Linux: Setup NFSv4 File Server
Here's how you can set up an NFSv4 file server on a Debian-based Linux system (such as Debian or Ubuntu):rn rn Install the necessary packages:rn rn rn sudo apt - get update rnsudo apt - get install nfs - kernel - serverrn rn rn Create a directory that will be shared over NFS. This directory will be
Find Out What tty I’m Using tty command under Linux / Unix
You can use the tty command to find out what terminal you are currently using in a Linux or Unix-like system. The tty command returns the name of the terminal that is connected to the standard input (stdin), standard output (stdout), and standard error (stderr) of the current process. Here's how
Linux / Unix: Bash Find Matching All Dot Files
You can use the find command in a bash shell to search for matching files, including files that start with a dot ( . ), which are considered hidden files in Unix-like systems. To find all dot files (files starting with a dot) in the current directory, you can use the following command:rn rn rn find
How to move a folder in Linux using mv command
In Linux, you can move a folder from one location to another using the mv command. The basic syntax for moving a folder using the mv command is: n n n mv source_folder destination n n n For example, if you have a folder named myfolder in your current directory and you want to move it to the /tmp dir
SSH: Agent Admitted Failure To Sign Using The Key Error And Solution
The error message "Agent admitted failure to sign using the key" occurs when you try to use an SSH key that has been added to your SSH agent, but the agent cannot use the key to sign the connection. This can happen for several reasons, including:rn rn The key is passphrase protected: If the key has
Debian Linux: Change Hostname / Computer Name Permanently
To change the hostname (computer name) on a Debian Linux system permanently, you can follow these steps:rn rn Open the /etc/hostname file:rn rn rn sudo nano /etc/hostnamern rn rn Replace the existing hostname with your desired hostname. For example:rn rn rn mynewhostnamern rn rn Save and close the f
KSH: Import File With Variables and Functions
In Korn shell (KSH), you can import variables and functions from a file using the . (dot) command. The . command reads the contents of a file and executes it as if it were part of the current shell. n Here’s an example of how you can use the . command to import variables and functions from a f
Linux / Unix: Tarball Delete ( remove ) File
To remove a file from a tar archive in Linux or Unix, you can use the tar command with the --delete option. Here's the basic syntax:rn rn rn tar --delete -f <tar archive file> < file (s) to be deleted>rn rn rnFor example, to delete a file named file1.txt from a tar archive my_archive.
Linux / UNIX: How To Empty Directory
In Linux/Unix, there are several ways to empty a directory: n n Using the rm command: n n n n rm -rf <directory-name>/* n n n This command will recursively remove all files and subdirectories in the specified directory ( <directory-name> ). Be cautious when using the rm command, as it ca
2,685 guides published.
