Category: OS

Information about OS technologies Unix/Windows

images (16) 0

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...

remove-files-image 0

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...

Image of Clock 1

Number of seconds since midnight till now in unix

Had a requirement to find out the number of seconds since midnight till now in unix. Basically the requirment was more to this, it was to find the latest file created after midnight having specific...

Unix 0

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...