recently switched to a Ubuntu/Debian Linux server from a CentOS/RHEL 7.x. How do I install mkfs.xfs command on a Debian/Ubuntu Linux server? How do I create and manage file XFS file system on a Ubuntu or Debian Linux LTS server?
am trying to delete a user named vivek using the userdel command as follows
userdel -r vivek
userdel: user vivek is currently used by process 749
How do I fix this problem and delete username vivek on a Debian Linux 9.x server?
am a new Linux server user. I cannot figure out how to find out the source code of a bash function named foo() which is defined. How to locate the file where a bash function is defined and how to view the source code of foo() from shell prompt itself?
ow do I monitor disk I/O latency in real time on Linux, FreeBSD, OpenBSD, and MacOS operating system?
need to find an IP address in the sshd_config file and replace with a fresh one for over 100+ VMs. How do I use Ansible to do so? Is it possible to search replace single string or IP address? Continue reading “How to find and replace text/IP address with Ansible”
am a new FreeBSD server user and moved from netfilter on Linux. How do I setup a firewall with PF on FreeBSD server to protect a web server with single public IP address and interface?
am a new Linux system user. How do I delete file containing a character ‘a’ or ‘z’ in their filename or digit such as ‘4’ or ‘2’ in their filename on Linux or Unix bash shell prompt?