Posts Tagged ‘solaris’

Check if a directory exists in Linux or Unix shell

Tuesday, May 21st, 2019

Check if a directory exists in Linux or Unix shell

I need to check if a directory exists or not, within a shell script running on Linux or Unix-like system? How do I check if a directory exists in a shell script?

The post Check if a directory exists in Linux or Unix shell appeared first on nixCraft.

Halal Database

Powered by WPeMatico

How to check hard drive health on FreeBSD

Monday, May 20th, 2019

How to check hard drive health on FreeBSD

How do I read my hard disk/SSD health using smartctl command on FreeBSD operating system? How can I hard drive health on FreeBSD and find out if my disk is dying?

The post How to check hard drive health on FreeBSD appeared first on nixCraft.

Halal Database

Powered by WPeMatico

Find out what processes are running in the background on Linux

Monday, May 20th, 2019

Find out what processes are running in the background on Linux

I am a new CentOS Linux server sysadmin. How do I find out what processes are running in the background on Linux operating systems?

The post Find out what processes are running in the background on Linux appeared first on nixCraft.
Halal Database

Powered by WPeMatico

Linux/UNIX: Bash Read a File Line By Line

Sunday, May 19th, 2019

Linux/UNIX: Bash Read a File Line By Line

How do I read a text file line by line under a Linux or UNIX-like system using KSH or BASH shell? How do I read a file line by line in bash script?

The post Linux/UNIX: Bash Read a File Line By Line appeared first on nixCraft.
Halal Database

Powered by WPeMatico

How to rename multiple folders in Linux using command line

Sunday, May 19th, 2019

How to rename multiple folders in Linux using command line

I am new to Linux programming and bash shell commands. I have a folder structure as dir1, dir2, dir3 and I would like to rename it as dir001, dir002, dir003. How do you rename multiple folders in Linux?

The post How to rename multiple folders in Linux using command line appeared first on nixCraft.

Halal Database

Powered by WPeMatico

How to compile and install Linux Kernel 5.1.2 from source code

Wednesday, May 15th, 2019

How to compile and install Linux Kernel 5.1.2 from source code

Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things and then type a couple of commands. This step by step howto covers compiling Linux kernel version 5.1.2 under Linux OS.

The post How to compile and install Linux Kernel 5.1.2 from source code appeared first on nixCraft.
Halal Database

Powered by WPeMatico

Use oathtool Linux command line for 2 step verification (2FA)

Saturday, May 11th, 2019

Use oathtool Linux command line for 2 step verification (2FA)

I do not wish to use Google Authenticator or Authy app that generates 2 step verification (2FA) codes on my iOS/Android phone. Is there any way I can produce 2FA codes from Linux command line for popular sites such as Gmail, Twitter, Facebook, Amazon and more?

The post Use oathtool Linux command line for 2 step verification (2FA) appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

How to upgrade Fedora 29 to Fedora 30

Tuesday, April 30th, 2019

How to upgrade Fedora 29 to Fedora 30

How do I upgrade to Fedora 30 from Fedora 29 Using the dnf command? How can I update F29 to F30? Can you tell me the procedure to upgrade Fedora 29 to Fedora 30?

The post How to upgrade Fedora 29 to Fedora 30 appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Debian Linux 9.9 released and here is how to upgrade it

Monday, April 29th, 2019

Debian Linux 9.9 released and here is how to upgrade it

The Debian GNU/Linux project has released an updated version of its stable Linux distribution Debian 9. You must upgrade to get corrections for security problem as this version made a few adjustments for the severe issue found in Debian version 9.9. Debian is a Unix-like (Linux distro) operating system and a distribution of Free Software. It is mainly maintained and updated through the work of many users who volunteer their time and effort. The Debian Project was first announced in 1993 by Ian Murdock.

The post Debian Linux 9.9 released and here is how to upgrade it appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

How do I Find Out Linux CPU Utilization?

Wednesday, April 17th, 2019

How do I Find Out Linux CPU Utilization?

Whenever a Linux system CPU is occupied by a process, it is unavailable for processing other requests. Rest of pending requests must wait until the CPU is free. This becomes a bottleneck in the system. Following command will help you to identify CPU utilization, so that you can troubleshoot CPU-related performance problems on a Linux-based system.

The post How do I Find Out Linux CPU Utilization? appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico