Saturday, March 21, 2009

FIND command

find -iname filename.ext = find a file by name
find . = lists all files and subdirectories in the current directory
find . -size +200M = finds files more than 200M in size
find . -size +200M -ls = more details
find . -name *.txt -size +40K = finds .txt file names of more than 40 k in size
find /usr/share/docs | xargs grep -l 'keyword' = finds files that contain the keyword from documents
finger = log in details

1 comment:

  1. interior office design Bespoke Acoustic Interiors design and fit-out interiors to the highest standard. Their experience in acoustics and interior design is leveraged with every project.They understand that each client has individual requirements and requires unique solutions. They take pride in the relationships that they have built with their clients and the amazing projects that they have delivered.