10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Running Oracle Linux 6 (derivative of RHEL 6)
Given this snippet of code in a shell script:
#-- reset oratab to use 11.2 home for dwdev
#-- normally we'd just use sed to do this sort of thing, but that would
#-- require permissions that we don't have in the /etc/ directory, so we
#-- ... (3 Replies)
Discussion started by: edstevens
3 Replies
2. Shell Programming and Scripting
Hi Linux Community
I would like to ask about how to compare files in deferent server with date.
Those A and B servers has the same folder, I have write a sample script to "ls" both folders and "diff" them, and then "rsync" the missing files.
It was running well, both A and B are sync, until... (2 Replies)
Discussion started by: lunaticdawn
2 Replies
3. Solaris
I have a custom auditing class configured for these events but it doesn't seem to be catching it when I do a "echo hey > test.txt" Any ideas on why that is?
---------- Post updated at 06:04 PM ---------- Previous update was at 05:47 PM ----------
Scratch this topic, it looks like it's because... (0 Replies)
Discussion started by: thmnetwork
0 Replies
4. Shell Programming and Scripting
hello,
I have problem with writing/adjusting a shell script.
I searched forum and unfortunately couldn't write scipt based on the information I found.
I never wtire such so it's hard for me and I do need to modify one script immediately.
case looks like:
1. 'file' that needs to be modified... (3 Replies)
Discussion started by: bipbip
3 Replies
5. Shell Programming and Scripting
Hi,
Ths is the code I wrote:
#!/bin/bash
tr "nameofTheCITY" $1
lynx -dump "http://www.theweathernetwork.com/index.php?product=search&pagecontent=results&prodtype=city&prodname=nameofTheCITY"|grep $1|head -1000>>temp.txt
the program in supposed to change the last part of the website to... (1 Reply)
Discussion started by: andrew1400
1 Replies
6. Programming
Hi,
the following code comes from Unix Linux dialog utility project.
Unfortunately, this project is no more actively maintained.
Unix Linux dialog utility is made of widget boxes.
One of them is mixedgauge.c
In the following example I would like to get rid of flickering
when run in... (0 Replies)
Discussion started by: jack2
0 Replies
7. Shell Programming and Scripting
Hi all
Can anyone suggest me a good solution ? My requirement is as follows
I have a plain text file similar to this...
sending data to 0003345234
here is the output...
,..........
...........
.......
sending data to 00033452ab
here is the output...
,..........
...........
.... (5 Replies)
Discussion started by: ./hari.sh
5 Replies
8. Shell Programming and Scripting
Hello,
I got this question which tells me to customize my login script. Some people in the forums suggested to modify the .profile file in my home directory. I did so, but none of my customizations show up when I open the terminal after.
So, I tried to modify other files in my home directory,... (1 Reply)
Discussion started by: Hyunkel
1 Replies
9. Shell Programming and Scripting
I want to filter an "ls -al" command so it only shows me files with modify dates older than two weeks. What is the best way of doing this? (2 Replies)
Discussion started by: millerdc
2 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to find a way to print the date that a file was modified on.
Using ls -l gives me to much information! All i need is the date. There must be a simple way to do this, but i cannot find it anywhere.. can someone give me some advise? (2 Replies)
Discussion started by: tine
2 Replies