Category: Linux

Linux Server Managment

Linux / UNIX: Bash Script Sleep or Delay a Specified Amount of Time nixCraft Updated Tutorials/Posts

How do I pause for 5 seconds or 2 minutes in my bash shell script on a Linux or Unix-like systems?You need to use the sleep command to add delay for a specified amount of time.…

How to install FFmpeg on Fedora Linux 28/29 using dnf nixCraft

When I type ffmpeg -i input output.mp4 on Fedora Linux, I get an error: “bash: ffmpeg: command not found…”. How do I install ffmpeg on Fedora Linux 28 or 29 workstations?Introduction…
blank

Linux / Unix Find Command Avoid Permission Denied Messages nixCraft Updated Tutorials/Posts

When I type find . -type d -name "foo" command I get Permission denied error messages. How do I exclude all “permission denied: messages from the find command under Linux or Unix like operating systems?The…
blank

How to install VirtualBox 6 on Fedora Linux 29 nixCraft

I am a new Fedora Linux user. How can I download and install Oracle VirtualBox 6 on my Fedora Linux 29 workstations?Introduction – Oracle VirtualBox is an open source and free hypervisor/virtual machine monitor for x86 based computers.…
blank

How to install Ansible on Fedora 29 for IT and server automation nixCraft

How do I install Ansible on Fedora 29 workstation? How can I set up and test Ansible playbooks using my Fedora Linux desktop?Introduction – Ansible is a free and open source configuration management tool.…
blank

Install Chromium browser in Fedora 29 using dnf command nixCraft

I am a new Fedora Linux user. I need to install and set up Chromium for testing purpose. How do I install Chromium browser in my Fedora Linux workstation?Introduction…
blank

Linux/Unix desktop fun: Simulates the display from ‘The Matrix’ nixCraft Updated Tutorials/Posts

The Matrix is a science fiction action movie from 1999. It was written and directed by the Wachowski Brothers. The film has falling green characters on screen.…
blank

How To Nginx Redirect All HTTP Request To HTTPS Rewrite 301 Rules nixCraft Updated Tutorials/Posts

I have setup nginx as a secure reverse proxy server. How do I redirect all http://example.com/ requests (traffic) to https://example.com/ under nginx web server? You can easily rewrite/redirect all http requests to https with Nginx web server.…
blank

How to create snapshots with lxc command for LXD nixCraft

I need to save the state of my existing app running on LXD before I push new Python-based app. How do I create snapshots with lxc command for LXD based Linux container?Introduction…
blank

How to set and use sudo password for Ansible Vault nixCraft Updated Tutorials/Posts

How can I set a sudo password for Ansible from the Linux or Unix cli? How can I store sudo password in a vault file and use it securely without exposing my details?You…
blank

How to hide files and directories in Linux nixCraft

I am a new Linux user. How do I hide files and directories in Linux operating systems using the command line interface?Introduction – In Linux and Unix-like systems, if a file or directory (folder) name starts with a period (.),…
blank

Linux / UNIX List Just Directories Or Directory Names nixCraft Updated Tutorials/Posts

How do I list just directory names on a Linux and UNIX-like operating systems? How can I list directories only in Linux?Linux or UNIX-like system use the ls command to list files and directories.…
blank