Skip to content

Commit ebf25aa

Browse files
authored
Merge pull request #55 from cure/patch-1
avoid the string 'UID' in Activity.log
2 parents 4e75949 + d1ab9ff commit ebf25aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ A collection of linux sysadmin/devops interview questions. Feel free to contribu
275275
* How to send an email without a mail client, just on the command line?
276276
* Write a ```get_prim``` method in python/perl/bash/pseudo.
277277
* Find all files which have been accessed within the last 30 days.
278-
* Explain the following command ```(date ; ps -ef | awk '{print $1}' | sort | uniq | wc -l ) >> Activity.log```
278+
* Explain the following command ```(date ; ps -ef |tail -n +2 | awk '{print $1}' | sort | uniq | wc -l ) >> Activity.log```
279279
* Write a script to list all the differences between two directories.
280280
* In a log file with contents as ```<TIME> : [MESSAGE] : [ERROR_NO] - Human readable text``` display summary/count of specific error numbers that occurred every hour or a specific hour.
281281

0 commit comments

Comments
 (0)