10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends Need your expertise.
Command to check the difference and compare 2 files and remove lines . example
File1 is master copy and File2 is a slave copy . whenever i change, add or delete a record in File1 it should update the same in slave copy . Can you guide me how can i accomplish... (3 Replies)
Discussion started by: ajayram_arya
3 Replies
2. Shell Programming and Scripting
Hi folks,
As per mentioned in the title, how to create a shell script to delete those files from the server at 00000hrs every day?
Thanks in advance :) (2 Replies)
Discussion started by: kimurayuki
2 Replies
3. Shell Programming and Scripting
Hi All,
Can anyone please write a shell script to remove the empty files using an if condition.
please help me out , urgent
thanks (6 Replies)
Discussion started by: muthi_murali
6 Replies
4. Shell Programming and Scripting
Hello All
I want to delete the directory in my tree structure . all the filenames like this
dd-mm-yyyy
Example
30-01-2011
31-01-2011
01-02-2011
I want to grep the latest last four days created directorey by not using the find command . how do i do that ? (1 Reply)
Discussion started by: kvk_shell
1 Replies
5. Shell Programming and Scripting
Dear All,
I have multiple files having number of records, consist of more than 10 columns some column values are duplicate and i want to remove these duplicate values from these files.
Duplicate values may come in different files.... all files laying in single directory..
Need help to... (3 Replies)
Discussion started by: arvindng
3 Replies
6. Shell Programming and Scripting
how do you show each filename in a giving directory and delete the specific file in korn script
i was thinking using ls rm ? but i cant make it work (0 Replies)
Discussion started by: babuda0059
0 Replies
7. Shell Programming and Scripting
Hi,
I am pasring a file line by line. I need to check each field in line and remove particular line.
input file lines are,
02;ABC;PQR
03;aaa;rrr
04;ABC;ggg
09;eee;ABC
04;lmn;stu
I am looking for line containing "ABC" as field value. Now How can I remove this line from input file... (7 Replies)
Discussion started by: Poonamol
7 Replies
8. Shell Programming and Scripting
Hi Guys i'm looking for some help with creating a scripts:
Background - I run alot of testing which creates huge files. This fills up the diskspace over 3 weeks so needs constant deleting. but generally, I keep forgetting!!! so every 3 weeks it fails lol.
Basically i can't format the drive... (2 Replies)
Discussion started by: defamer
2 Replies
9. Shell Programming and Scripting
Hi,
I have shell script which is located in /opt/Test/test.sh
code in test.sh is as follows
#!/bin/sh
rm -rf /opt/Test
exit 0
when I tried to execute the above script from its location, it shows the following error
rm: Cannot remove any directory in the path of the... (2 Replies)
Discussion started by: raghu.amilineni
2 Replies
10. Shell Programming and Scripting
Hi,
I have a script that works on a unix box but am trying to get it working on a linux box that uses shell. I am not a programmer so this is proving harder than I imagined. I made some changes and ended up with the script below but when I run it I get the following messages. Any help would be... (4 Replies)
Discussion started by: yabai
4 Replies