Test
My blog contains solutions of problems i have faced during working with computers and servers
Wednesday, September 30, 2015
What I learned today sep 30th 2015
I find out that search and replace for an file using SED editor
sed -i 's#055#007#' /etc/login.defs ; grep UMASK /etc/login.defs
above command replaces 055 value in login.defs to 007,
this may looks like simple, but it is more powerfull stuff
Subscribe to:
Posts (Atom)
Certifications in Hiring: Valuable but Not Always Necessary
In today's competitive job market, certifications have become a common currency for both employers and job seekers. They serve as standa...
-
Normaly we think if an ADS/LDAP user unable to login means , the problem is with ADS/LDAP server , Guess what it is not Login cou...
-
While doing that above task , you may end up getting this bellow error Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: F...
-
1. If you want to rename an file with host name of an server, just do an simple command #mv oldfilename newfilename$(hostname) ...