9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to figure out how to speed up the following as I want to use multiple commands to search thousands of files.
is there a way to speed things up?
Example I want to search a bunch of files for a specific line, if this line already exists do nothing, if it doesn't exist add it... (4 Replies)
Discussion started by: f77hack
2. Shell Programming and Scripting
I have a test file with the following format, It contains the username_date when the user was locked from the database.
$ cat lockedusers.txt
I'm writing a ksh script and faced with this difficult scenario for my... (11 Replies)
Discussion started by: humble_learner
3. UNIX for Dummies Questions & Answers
This is my first posting. I have read the rules of this forum. I have searched many various threads and haven't found one that applies to my situation or suggestions to fix the issue. I do appreciate the help.
I am trying to execute a basic UNIX script in a Solaris... (4 Replies)
Discussion started by: dqrgk0
4. Shell Programming and Scripting
I recently built a replicated DRBD, Heartbeat, & iSCSI Target Initiator storage server on Ubuntu 10.04 to offer shared storage to server Vmware ESX and Microsoft Clusters. Everything works flawlessly, however I wanted to make a script to create, remove, grow volumes to offer ESX... (6 Replies)
Discussion started by: Aeudian
5. Shell Programming and Scripting
I need help with a maybe total simple issue but somehow I am not getting it.
I am not able to etablish a sed or awk command which is adding to the first line in a text and removing only from the last line the ",".
The file is looking like follow:
TABLE99,... (4 Replies)
Discussion started by: enjoy
6. Shell Programming and Scripting
I have a xml file and requirement is to remove the line feed and add line feed after some element.
<?xml version="1.0" ?>
... (8 Replies)
Discussion started by: sreejitnair123
7. UNIX for Advanced & Expert Users
<html>ta da....unique file name I want to give file=>343...</html>
<html>da ta 234 </html>
<html>pa da 542 </html>
and so on...
and so on, each line in File 1 one also corresponds with each line in File 2
I have tried several grep, sed, while .. read, do,... (4 Replies)
Discussion started by: web_developer
8. Shell Programming and Scripting
I need a sed command that remove last 10 characters of a line start from 3rd line.
Thanks you (7 Replies)
Discussion started by: minifish
9. Shell Programming and Scripting
I am new to using sed, and I need to extract from the string data after : delimeter.
Can you help me please with the sed command?
Here's the input:
Expected Output:... (7 Replies)
Discussion started by: racbern