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:
Comments (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...
-
Today we have some problem faced in our environment, that we have to check whether the LDAP port is opened or closed . usually we go with ...
-
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...