How do I count lines if given word or string matches for each input file under Linux or UNIX operating systems?
{ 0 comments }
Q. How do I reverse lines of a file under Linux / UNIX bash shell? A. You need to use the rev utility or command. It copies the specified files to the standard output, reversing the order of characters in every line. If no files are specified, the standard input is read. Display one line [...]
{ 18 comments }
Q. How do I change DNS search order in Linux? In order to improve performance I need to make changes. A. Under Linux you need to use /etc/nsswitch.conf file which is used by system databases and Name Service Switch configuration file Various functions in the C Library need to be configured to work correctly in [...]
{ 0 comments }
Q. How do I Move or migrate user accounts to from old Linux server a new Cent OS Linux server including mails? This new system a fresh installation. A. You can migrate users from old Linux server to new Linux sever with standard commands such as tar, awk, scp and others. This is also useful [...]
{ 64 comments }