Category: Linux

Linux Server Managment

Linux Find Out Graphics Card Installed In My System

I am a new Linux system user. I am using Ubuntu Linux. I do not want to open up the computer hardware to just see the make and model of the graphics card in a system. How do I find...

/ April 17, 2019

How do I check if a port is in use on Linux?

I am a new Linux system user. I need to find out which process is listening on a port on Linux using the command line. How do you find out which process is listening on a port on Linux operating...

/ April 17, 2019

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...

/ March 20, 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...

/ December 18, 2018

How to update LXD container Ubuntu image from 16.04 to 18.04 nixCraft

I run my app inside Ubuntu Linux 16.04 LTS lxd Linux container. To upgrade Ubuntu 16.04 to 18.04 LTS container, I run do-release-upgrade command, but I am getting the error message that read as “Must be connected to a terminal.”...

/ December 15, 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....

/ December 15, 2018

Linux / UNIX: Check If File Is Empty Or Not Using Shell Script nixCraft Updated Tutorials/Posts

How do I check if a file is empty or not using bash or ksh shell script under a UNIX / Linux / macOS / OS X / BSD family of operating systems? How do I check if a file...

/ December 13, 2018

How to setup a UFW firewall on Ubuntu 16.04 LTS server nixCraft Updated Tutorials/Posts

How do I setup a firewall with UFW (uncomplicated firewall) on an Ubuntu Linux 16.04 LTS server to restrict traffic on my personal web-server that hosts my pictures and blogs for my family members?UFW is an acronym for uncomplicated firewall....

/ December 8, 2018

How to find out Raspberry Pi GPU and ARM CPU temperature on Linux nixCraft Updated Tutorials/Posts

I am using a Raspberry PI 2/3 credit size computer. How do I find out my Raspberry PI GPU or CPU temperature from Linux operating system command line option? How do I monitor the core temperature of my Raspberry Pi...

/ December 8, 2018

Bash get exit code of command on a Linux / Unix nixCraft

I am a new Linux system user. How do I get the exit code of a command? How do I get the exit code or status of Linux or Unix shell command and store it into a shell variable?Introduction –...

/ December 4, 2018

Bash read file names from a text file and take action nixCraft

I need to read a list of file names from a text file named input.txt and take action each file name. How do I read file names from a text file and say run /bin/foo command on each file? How...

/ December 4, 2018

How to set up a firewall using FirewallD on RHEL 8 nixCraft

I am a new Red Hat Enterprise Linux sysadmin. How do I set up a firewall using FirwallD on RHEL 8? Introduction – A Linux firewall used to protect your workstation or server from unwanted traffic. You can set up...

/ December 3, 2018

How to install and use Nginx on OpenSUSE Linux server nixCraft

How do I install and configure the latest version of Nginx web server on OpenSUSE Linux server using the CLI and host a static site?Introduction – Nginx [engine x] is free and open source high-performance web server. It also acts...

/ December 2, 2018

FreeBSD Install wget Utility To Download Files From Internet nixCraft Updated Tutorials/Posts

How do I install wget the non-interactive network downloader under FreeBSD operating systems? How do I install wget on FreeBSD 8.x/9.x/10.x/11.x/12.x? You can use any one of the following method to install GNU Wget non-interactive program on a FreeBSD operating...

/ December 2, 2018