Skip to content
Advertisement

Tag: linux

How to generate a PAX Tar archive with an Global Extended Attributes (‘g’) initial entry?

In Linux, I am trying to generate an uncompressed PAX archive containing a Global Extended Attributes entry using either one of the following commands: A) Specifying the pax options (implies –xattrs): B) Specifying xattrs support (implies –format=pax): Both commands generate a file successfully, but when I open the file with my hex editor, the first entry has the ‘x’ type,

B.A.T.M.A.N ad-hoc WiFi nodes cannot ping each other

I am working to connect 2 Linux machines, each with this USB Dongle: https://www.tp-link.com/us/home-networking/usb-adapter/archer-t2u-nano/, to an ad-hoc WiFi network managed by B.A.T.M.A.N ( batman-adv ). When run, these scripts show that both devices are joined to the same ad-hoc/IBSS network. I statically assigned IP addresses and routes to both ‘bat0’ devices. However, I cannot ping or otherwise use the connection

Where can I get node exporter metrics description?

I’m new to monitoring the k8s cluster with prometheus, node exporter and so on. I want to know that what the metrics exactly mean for though the name of metrics are self descriptive. I already checked the github of node exporter, but I got not useful information. Where can I get the descriptions of node exporter metrics? Thanks Answer There

Not able to start redhat httpd service

When I try to start the httpd service it is failing with the error : output of journalctl -xe . output of systemctl status httpd.service I tried to change the port number in httpd.conf file. But I got the same error. Can anyone please help? Answer try check your config, validate from command apachectl configtest

Getting bad substitution error in shell script

I have a variable COUNTRY=”INDIA” and another sets of variables:- INDIA_POPULATION=”5,00,00,000″, CHINA_POPULATION=”6,00,00,000″. In script I am trying to call them using command:- echo ${ ${COUNTRY}_POPULATION } But I am getting bad substitution error. Can someone please tell how to solve it ?? Answer You misplaced a bracket: {$COUNTRY}_POPULATION should be ${COUNTRY}_POPULATION. But even then it would not work as you

Advertisement