The xargs command transforms standard input into a sequence of arguments for another command xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is echo) one or more times w...

At certain times, it is necessary to duplicate a single file across various locations on our system. There is no need to use the cp command repeatedly.

echo [destination1] [destination2] [destination3]..... | xargs -n 1 cp [/location/samplefile]

The echo command is used to feed the xargs comman...

The ip command is used to display or configure networking and to assign an address to a network interface on Linux operating systems. It replaces the ifconfig command now deprecated.

list all network interfaces and show all ip address associated

 ip a
or
ip addr

to specify one interface :

...
Renew IP using dhclient

Suppose our network interface is eth0 :

 sudo dhclient -v -r eth0
using ifup and ifdown
sudo ifdown eth0
sudo ifup eth0
using systemd
 sudo /etc/init.d/networking restart 
 or
 sudo systemctl restart network.service

Arch Linux is a lightweight Linux distribution that supports x86-AMD64 architecture, it is based on KISS principle but intended for the proficient Linux user or anyone with sufficient willingness to read the documentation, and use online help.

Arch Linux Arm is dedicated to arm architecture and is...