Category: Linux

Linux Server Managment

How to change the ssh port on a Linux server

FAQ: How do I change the SSH Port for my Linux or Unix server using command line option? You can easily change the SSH Port for Your Linux or Unix server. The ssh port defined in sshd_config file. This file...

/ 20 March 2019

How do I know if my Linux is 32 bit or 64 bit? nixCraft

I need to find out if my Linux server is running on 32-bit or 64-bit system. How do I know if my Linux is 32 bit or 64 bit? To check if your Linux server is running a 32-bit or...

/ 18 December 2018

5 Tips To Speed Up Linux Software Raid Rebuilding And Re-syncing nixCraft Updated Tutorials/Posts

It is no secret that I am a pretty big fan of excellent Linux Software RAID. Creating, assembling and rebuilding small array is fine. But, things started to get nasty when you try to rebuild or re-sync large size array....

/ 15 December 2018

Ubuntu 18.04 LTS change hostname permanently nixCraft

I am a new Ubuntu Linux 18.04 LTS cloud server user. By default my serer name to ‘localhost’ during installation but now I would like to change the computer name to ‘u1804-nixcraft’. Can you tell me how do I remove...

/ 24 October 2018

Ubuntu Linux Install Nvidia Driver (Latest Proprietary Driver) nixCraft

I am a new Ubuntu Linux user. My laptop has Nvidia GPU. How do I install Nvidia drivers on Ubuntu Linux 16.04, 18.04, 18.10? Introduction: Nvidia graphics processing units (GPUs) used for gaming and professional use in offices. Nvidia GPUs...

/ 3 October 2018

Ubuntu Enable & Setup Automatic Unattended Security Updates nixCraft

I have minimal Ubuntu Linux 18.04 LTS server setup in the cloud. I read that one can configure Ubuntu Linux to download and install security updates when released automatically. How can I set up automatic security updates on Ubuntu Linux...

/ 20 September 2018

CentOS / RHEL See Detailed History Of yum history Commands nixCraft Updated Tutorials/Posts

I would like to see detailed information on the history of yum transactions such as updates, deleted packages, and other information. How do I see history of yum commands on a CentOS Linux/ RHEL 6.x or 7.x based server? How...

/ 20 September 2018

Bash get basename of filename or directory name nixCraft

I need to extract file basename in bash running on Linux. How can I use bash to get basename of filename or directory name for given path?Introduction: One can extract filename and extension in bash shell using built-in commands or...

/ 19 September 2018

Linux / Unix Find All The Files Owned By a Particular User / Group nixCraft Updated Tutorials/Posts

How do I list or find all the files owned by a particular system user or group under Linux or UNIX like operating systems using command line options?You need to use the find command to search for files in a...

/ 5 September 2018

Unix / Linux Print Environment Variables Command nixCraft Updated Tutorials/Posts

I am a new shell user. How do I print or list environment variables on Linux and Unix-like operating system using shell prompt? In Linux and Unix, how can I print values of all my environment variables?You can use shell...

/ 28 August 2018

curl hide progress bar output on Linux/Unix shell scripts nixCraft

I am a new Ubuntu Linux user. I am writing a shell script and using the curl command to grab URL output using curl$key/hash.html. However, the curl command is outputting complete progress information that my script does not need...

/ 28 August 2018

How To Create Disk Image on Mac OS X With dd Command nixCraft Updated Tutorials/Posts

How do I create or write to images to disk on Apple Mac OS X (macOS) Unix operating system with dd command?You can use dd command to: Create new disk images from USB or SD card Write images to disk...

/ 27 August 2018