Search Results

Search: Posts Made By: nani1984
1,775
Posted By Perderabo
Some additional explanation might be helpful. ...
Some additional explanation might be helpful. The awk program is going to process the first file all the way through and then it will process the second file. NR is the total number of records seen...
1,292
Posted By vgersh99
awk 'FNR==NR {f1[$0];next} !($1 in f1)' file1...
awk 'FNR==NR {f1[$0];next} !($1 in f1)' file1 file2
1,292
Posted By vgersh99
it should output to the screen. You can redirect...
it should output to the screen. You can redirect that to a file of your choice:

awk 'FNR==NR {f1[$0];next} !($1 in f1)' file1 file2 > myOutputFile
7,295
Posted By Perderabo
Try it out. Even or odd in this sense has...
Try it out. Even or odd in this sense has nothing to do with the day of the month. It is the number of weeks since a startpoint.

And yes, change Monday to Friday if you want it to run on Fridays.
2,595
Posted By Corona688
chmod -R 660 /path/to/dir will change the...
chmod -R 660 /path/to/dir will change the permissions of all folders and files inside the folder '/path/to/dir', including /path/to/dir itself.

To do just folders: find /path/to/dir -type d -exec...
5,154
Posted By methyl
One way is to use egrep and count the results. ...
One way is to use egrep and count the results.
The escaped $ (\$) means "end of line" in case the program outputs numbers above zero with leading zeros.

found_count=`egrep "Number of agencies...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy