1) Unix Command to Check 32 bit or 64 bit -
uname -m
2) find 30 days older files in a directory?
use find along with -mtime
3) Find the files inside the directory and subdirectories?
4) Finding duplicates in a file?
use sort along with uniq
5) sort the file based on a certain column?
sort command with -c
6) Check if the files exist or not?
-f in if statement
7) Check if the file is greater than the 0 bytes?
-s in if statement
8) Difference between grep and find command?
9) No. of parameters passed in the script?
$#
10) how to Check the Status of the last executed Command?
$?

No comments:
Post a Comment