Category: Linux

Linux Server Managment

Regular Expressions In grep examples nixCraft Updated Tutorials/Posts

How do I use the grep command with regular expressions on a Linux and Unix-like operating systems? How do I use grep and regular expressions to search for text/ words in Linux?Linux…

Download a file with curl on Linux / Unix command line nixCraft Updated Tutorials/Posts

I am a new macOS Unix user. I am writing a small bash shell script. How do I download files straight from the command-line interface using curl?…
blank

Change Shell To Bash in Linux / Unix nixCraft Updated Tutorials/Posts

How do I switch from a ksh shell to bash on Linux or Unix system? How to change shells on Unix-like system?A shell is nothing but a command that provides a text-only user interface (also known as “command line interface”) for Linux, MacOS, and Unix-like operating systems.…
blank

How To Install EPEL Repo on a CentOS and RHEL 7.x nixCraft Updated Tutorials/Posts

How do I install the extra repositories such as Fedora EPEL repo on a Red Hat Enterprise Linux server version 7.x or CentOS Linux server version 7.x?You…
blank

How to install and activate Cockpit web console on RHEL 8 nixCraft

How do I install and enable Cockpit that makes GNU/Linux and RHEL 8 for web management purpose? How do I see and manage my RHEL 8 based server in a web browser and perform system tasks with a mouse?Introduction:…
blank

How to configure a static IP address on RHEL 8 nixCraft

I am a new sysadmin and RHEL 8 user. My system is configured to use DHCP. How can I switch from DHCP to a static IP address on RHEL 8 system?…
blank

How to add bash auto completion in RHEL 8 (Red Hat Linux) nixCraft

I set up a new RHEL 8 VM from cloud images, but my auto-completion of bash shell commands are not working. How do I enable autocomplete feature in RHEL 8 (Red Hat Enterprise Linux 8)?…
blank

How to remove hidden files in Linux nixCraft

I am a new Linux sysadmin and Ubuntu Linux user. How can I remove hidden files in Linux? How do I delete hidden files in Linux starting with .…
blank

How do I find out what shell I am using on Linux/Unix? nixCraft Updated Tutorials/Posts

Both Linux and Unix provides various shell out of the box. One can find bash (Bourne Again shell), ksh (Korn shell), csh (C shell)/tcsh (TC shell), sh (Bourne shell) and more installed by default.…
blank

Bash foreach loop examples for Linux / Unix nixCraft

I used foreach on a Unix operating system and csh shell loop. Now, I am a Linux operating system. How do I use foreach loop in bash shell running on Linux?The…