Tag: linux
If you can ping an IP but you can’t ping a domain name e.g. the “apt update” doesn’t work, most likely, this is due to inaccessible DNS settings. You …
In Linux, there are several ways to exchange data between processes (Inter Process Communication IPC). Here are some of the commonly used methods: Process Sharing/Exchanging Data using Pipes Pipes …
The parameters can be passed as command line to the shell scripts as $1, $2 etc. However, if there are many parameters, passing via command line is not ideal …
On Linux, we can cat the file “/proc/meminfo” to display memory related information: $ cat /proc/memoinfo MemTotal: 32939372 kB MemFree: 31155452 kB MemAvailable: 31269760 kB Buffers: 242964 kB Cached: …
We can use the dd command to generate a file size of given bytes however the parameters are not straighforward. The “if=” specifies the input data (usually from /dev/zero …