wget --user-agent="Mozilla" https://www.domain.com/file.extension
or
wget --user-agent="Mozilla" https://domain.com/file.extension
or
wget --user-agent="Mozilla" www.domain.com/file.extension
wget --user-agent="Mozilla" https://www.domain.com/file.extension
or
wget --user-agent="Mozilla" https://domain.com/file.extension
or
wget --user-agent="Mozilla" www.domain.com/file.extension
Method -1:
Create file /etc/sysconfig/network-scripts/ifcfg-eth0:0 with the following content:
DEVICE=eth0:0# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
or
# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.epel.cloud|g' /etc/yum.repos.d/CentOS-Linux-*
sudo dnf install vsftpd
sudo mv /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf_original
sudo vi /etc/vsftpd/vsftpd.conf
Add the following code to vsftpd.conf:
-------------------------------
anonymous_enable=NO-------------------------------
cat /etc/vsftpd/vsftpd.conf
sudo firewall-cmd --zone=public --add-service=ftp --permanent
sudo firewall-cmd --reload
sudo systemctl restart vsftpd
sudo useradd -m testftpuser
sudo passwd testftpuser
sudo bash -c "echo TO CHECK WORKING OF FTP > /home/baycombd/FTP_CHECK"
chown -R testftpuser /home/testftpuser
Note: Up to this user can access FTP files via ftp client application like FileZilla
The following function is for generating 8 digit unique number in excel and masked with 123:
=RANDBETWEEN(12300000,12399999)
=RANK(number,ref,[order]) To rank in descending order, we will use the formula =RANK(B2,($C$5:$C$10),0) If we want unique ranks, we can use...