Category: Linux

Linux Server Managment

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…

Linux find largest file in directory recursively using find/du nixCraft

I have 500GB SSD installed on my Linux server. My web server is running out of the disk space. I need to find a biggest or largest file concerning file…

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…
blank

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…
blank

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…
blank

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…
blank

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 https://example.com/data/api/$key/hash.html. However, the curl command is…
blank

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…
blank

Secure Nginx with Let’s Encrypt on Ubuntu 18.04 with DNS Validation nixCraft

How do I install and secure Nginx with Let’s Encrypt on Ubuntu 18.04 with DNS validation API? My domain DNS hosted with Cloudflare. How do I install Let’s Encrypt to…
blank

Install and Configure TigerVNC server on Ubuntu 18.04 nixCraft

How do I install and configure TigerVNC server on Ubuntu 18.04 for remote desktop access? How to enable Remote Desktop connection between two Ubuntu Linux systems (server and client) to…