am a new Linux user and not familiar with crontab syntax. How do I use a cron job to restart server process if not running on a Linux or Unix-like system?
y default, my ntpd/NTP server listens on all interfaces or IP address i.e 0.0.0.0:123. How do I make sure ntpd only listen on a specific IP address such as localhost or 192.168.1.1:123 on a Linux or FreeBSD Unix server?
deleted a package using the ‘pkg remove foo
‘ command. However, it left over 30+ dependencies. Theses dependencies not needed by any other package on a FreeBSD Unix system and just taking space on my hard drive. How do I remove unwanted or unused dependencies in FreeBSD 11.x server?
am a new Linux system user. How do I reset a password for a user account named jerry using mysql command line option? Continue reading “MySQL reset password for user account”
defined mount bash shell alias as follows on my Linux system: alias mount='mount | column -t'
However, I need to bash bypass alias for mounting the file system and another usage. How can I disable or bypass my bash shell aliases temporarily on a Linux, *BSD, macOS or Unix-like system?
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?