9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a text file like below
in the above file i need to grep and print the lines if 14th to 18th... (4 Replies)
Discussion started by: aravindj80
2. UNIX for Dummies Questions & Answers
I have following line and want to search the exact match in text file.
30 6 * * * /data/abc/abc.ksh -f xya.sql -xyz@email -x -c -g
I have tried it many ways like grep -W ,sed,etc.... but could not find the solution.
The above line i am storing it in one variable called... (4 Replies)
Discussion started by: anyera
3. UNIX for Dummies Questions & Answers
Is there any way GREP command can return word and not complete line.
My file has following data:
Hello Everyone I am NitinrajSrivastava
Hi Friends Welcome VrajSrivastava
I am using grep 'raj' which is returning me complete line.However I want only the word having keyword 'raj'.
Required... (11 Replies)
Discussion started by: dashing201
4. Shell Programming and Scripting
I am reading data from a variable which has spaces in it. I want to get the data after first space, i.e. if my data line is "My Name is Ashish...", I want the data returned as "Name is Ashish". I am using #!/bin/sh shell. Please help me with the code to read the complete data after first... (8 Replies)
Discussion started by: gupt_ash
5. Shell Programming and Scripting
I want to split before reading the complete line as the line is very big and its throwing out of memory. can you suggest.
when i say
#cat $inputFile | while read eachLine
and use the eachLine to split its throwing out of memory as the line size is more than 10000000 characters.
Can you... (1 Reply)
Discussion started by: vijaykrc
6. UNIX for Dummies Questions & Answers
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
This allows... (0 Replies)
Discussion started by: Mithu
7. UNIX for Advanced & Expert Users
Hi Canone please provide me solution how can achieve the result below:
This is a test1
This is a test 2
sweet apple red (there is no pound symbol here)
green (1 Reply)
Discussion started by: Aejaz
8. UNIX for Dummies Questions & Answers
In the past on a different box (HP) I use to be able to complete something I was typing by entering a portion of the filename in the pwd and I would hit the Esc key and it would match the rest of the filename. I did this without understanding how it was setup.
Now I am on a new... (1 Reply)
Discussion started by: jxh461
9. UNIX for Advanced & Expert Users
Can anyone help me with the following:
I need to traverse subdirectories to create a list of files with the pathname. For example, here's what I get with a simple ls -alR command:
/MAIN/data/30007390 dte2>>ls -alR
drwxrwx--- 4 ecfadmin staff 96 Oct 24 18:35 .
... (2 Replies)
Discussion started by: condor4-2