10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
noted down (44 Replies)
Discussion started by: mirwasim
44 Replies
2. Shell Programming and Scripting
HI,
I have one file which is as below
cat /var/tmp/test1 | awk '{ print $3}'|grep -v affected
Data
----------
200.4
. The above 200 value is changable by the database script.
Now I need a script that checks the value 200.4 and the script shoud give out put if value is more than 225 (2 Replies)
Discussion started by: phani4u
2 Replies
3. Shell Programming and Scripting
Dears,
the output of this command
df -h | tr -s ' ' | cut -f5 -d' '
is
capacity
24%
0%
0%
0%
0%
1%
0%
24%
24%
0%
93%
1% (4 Replies)
Discussion started by: xxmasrawy
4 Replies
4. Shell Programming and Scripting
Hi guys, i am new to perl. I started reading the perl documents and try to come up with some logic.
I am trying to create a script that would go into a location, search for todays files, then searches for all .txt files from today.
If todays not found, its an error
If file size is less... (26 Replies)
Discussion started by: DallasT
26 Replies
5. Windows & DOS: Issues & Discussions
Hi,
I need to check the file size using a batch script.
Pls advise. (0 Replies)
Discussion started by: krackjack
0 Replies
6. Shell Programming and Scripting
Hi,
I have a file by redirecting some contents in unix shell.
Even when there is no content that is being redirected, the file size still shows greater than zero.
but even if there is no matching pattern the file APPRES has size greater than 0bytes.
awk -f AA.awk $logfile>APPRES... (3 Replies)
Discussion started by: justchill
3 Replies
7. Shell Programming and Scripting
HI,
Can any tell me how to filter the list of files greater than the size specified by user. The size should be provided by user as an input.
Regards
shiva (6 Replies)
Discussion started by: shivu
6 Replies
8. Shell Programming and Scripting
I want to find the size of particular file exists in a particular directory
and i wnt to zip it.
In the below mentioned code it should check the MQ.log in the
particular directory.Please correct my code so that it will check
for particular MQ.log but i could not able to check whether
the... (9 Replies)
Discussion started by: Balachandar
9 Replies
9. Shell Programming and Scripting
Can I find wether a particular file exist and size greater than zero in one line command.
similar to this
if &&
something in one if test .... e.g. if
1.) is it possible ? ... if yes how
2.) what would be the return type in case there is success or failure. I mean if both are... (4 Replies)
Discussion started by: guhas
4 Replies
10. Shell Programming and Scripting
ok I want to know how to touch a file and find out that it is greater than 0 then if it is not I want to fail the job other wise I want to success amnd go on. Can anyone help.
Thanks
Shannon Kammer (1 Reply)
Discussion started by: skammer1234
1 Replies