Tuesday, November 15, 2022

Command to test sample email & printer settings OS Level

 

 

Command to check email command :

 

sudo chattr -i /etc/hosts

 

TEST Email from servers :

 

echo "This is test"| mailx -S smtp=smtpgw1.xxx.com -v -s "TEST" abcd@rtgc.com

 

=====================================================================================

 

 

 

To Check the printer configured on server :

 

[psoft@vxxxxxx1 pscfg]$ lpstat -p

 

printer datadistck1 is idle.  enabled since Wed 20 Nov 2019 04:13:26 PM PST

 

working printers in HRTST, datadistck1 & movemain1

No comments:

Post a Comment