cron is a utility which is used to schedule and execute the command at the scheduled time. crontab (cron table) is the file which contains the entries of the scheduled jobs. Each user can have their own crontab. Users can be restricted from manipulating crontab files through /etc/cron.allow and /etc/cron.deny files. – If cron.allow exists, […]
Category: Linux
Check memory usage in Linux/Ubuntu
There are various tools available which can be used to check and troubleshoot memory usage on a Linux/Ubuntu/Photon OS machines. I have tried listed few of them here. Please note all of the command line tools have the same source: the proc/meminfo virtual file. – top :- The top command is useful to check live/real time memory […]
Install a Debian (Ubuntu) package
To install a downloaded Debian (Ubuntu) package (.deb) :- # sudo dpkg -i packagename.deb # sudo dpkg -i /home/jay/Downloads/net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb Selecting previously unselected package net-tools. (Reading database … 197399 files and directories currently installed.) Preparing to unpack …/net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb … Unpacking net-tools (1.60+git20181103.0eebece-1ubuntu5) … Setting up net-tools (1.60+git20181103.0eebece-1ubuntu5) … Processing triggers for man-db (2.10.2-1) … # To […]
All you need to know about User Management in Linux
A group is a set of users to whom a name is assigned. For example, group of ‘students’, ’employees’, ‘actors’, ‘developers’. A user can be part of one or multiple groups. In unix, all users are part of at least one group, called the user’s primary group. – /etc/passwd file :- In unix you will […]
Read More “All you need to know about User Management in Linux”
Networking Performance Troubleshooting in Linux
– ping : This command is used to test network connectivity. It sends a 32 bytes ICMP (Internet Control Message Protocol) packet to the destination host. If the destination host is unreachable due to any issue, you will notice packet loss. ping is also used to check the network latency as it shows the RTT(Round Trip […]