Use xmgrace to plot a curve skipping the first row

Sometimes the file that is read by xmgrace has a header like below:

Ratio
0.67
0.52
...

If use xmgrace directly, we cannot plot the curve as expected.

I haven’t found the way of using xmgrace only. Instead, I only found how to specify columns using xmgrace.

With the help of other tools, here is a way to work around.

tail -n +2 a.txt | xmgrace -pipe

or

sed 1d a.txt | xmgrace -pipe

Check and enable firewalld in Linux

Firewalld is a firewall management solution provided by Linux.

Check if firewalld is running:

sudo firewall-cmd --state
running

Disable firewalld:

sudo systemctl disable --now firewalld

Check its state again:

sudo firewall-cmd --state
not running

Enable firewalld:

sudo systemctl disable --now firewalld
or
sudo /usr/sbin/firewalld