10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have requirement to search for a text in the file and retrieve required lines that is user defined with unix command.
Find the text UNIX in the below file and need to return Test 8 & Test 9
Result can... (8 Replies)
Discussion started by: Arunkumarsak4
2. Shell Programming and Scripting
I wanted to extract the first record of the file which starst with character say "X". And I tried an awk command which works when i try to execute it individually:
awk 'substr($1,1,1)=="X"' inputfile.txt
But when I use the same command in my script for which I am passing the... (2 Replies)
Discussion started by: Ajay Venkatesan
3. Shell Programming and Scripting
My data is something like shown below.
date1 date2 aaa bbbb ccccc
date3 date4 dddd eeeeeee ffffffffff ggggg hh
I want the output like this
date1date2 aaa eeeeee
I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Vishwas (2 Replies)
Discussion started by: loggedout
5. Shell Programming and Scripting
I want to find the number of records in a particular file and store that value in any other variable. I am trying this below command but it is not working and giving me an error "Uninary Operator Expected".
say I have taken a variable name 'count' in which I have to store the no. of... (7 Replies)
Discussion started by: dtidke
6. UNIX for Advanced & Expert Users
In a file I have data like...
-rw-r----- 1 ftpuser users 1036695 Jul 6 14:59 ./APRIL 2007/Ujjain/My Disc (D)/9565DW07.04B
-rw-r----- 1 ftpuser users 124080 Jul 6 14:59 ./APRIL 2007/Vadodara/vad_APRIL07/2082DW07.04B
The above data is extracted using "find . -name... (12 Replies)
Discussion started by: ronald_brayan
7. UNIX for Advanced & Expert Users
Please help me in writting the script
11433523224444, <basicpage>... (1 Reply)
Discussion started by: thaduka
8. UNIX for Dummies Questions & Answers
Can anyone please help me in unix command
File contains data along with date and time stamp like,
Date: 08:23:2005 01:00:00
Date 08:23:2005 01:00:01
finished init variable
.... (2 Replies)
Discussion started by: thaduka
I need to get a few details from the command line. I need to get the kilobytes per second that my server is transfering to another or has available and I need to test the connection to make sure that its a sound connection. I also need to keep track of the response time.
I have been playing... (1 Reply)
Discussion started by: nowayin
10. UNIX for Dummies Questions & Answers
I need to know how to enter a unix path in a cgi script for a guest book:
My URL is http://www.kitachi.info
I have an html file in the main folder on my site, the file is called :
what would the correct unix path for this file be ???
the part of the script... (1 Reply)
Discussion started by: akitachi