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

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


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


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


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


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


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


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


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


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


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


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