OSUnix

df says disk is full, but it is not

df says disk is full (Disk space is 100%) but actually it is not having files contributing it to be 100%. There are various possibilities for the case as below: 1. Processes holding deleted files…

Read more
OSUnix

Removing Older files in Unix

Support analysts know it well 😉 We mostly have the requirement to remove the older files from the directory. Lets look at the quickest solution to achieve the task of Removing Older files Solution : find ….

Read more
Unix

Remove duplicate lines from file using awk

We mostly have the requirement to remove duplicate lines from file, support guys know the pain well 🙂 Lets look at the quickest solution to achieve this. Requirement:   Solution : awk ‘!x[$0]++’ file1.txt Explanation…

Read more