07-06-2007
Hi,
Also please note I have files like
-rw-r----- 1 ftpuser users 348738 Jul 6 14:38 ./APRIL 2007/patna/4976DW07.04B
i.e. between APRIL 2007, there is a space.
Regards,
Ronald.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to know how to enter a unix path in a cgi script for a guest book:
example:
My URL is http://www.kitachi.info
I have an html file in the main folder on my site, the file is called :
gbook.html
what would the correct unix path for this file be ???
the part of the script... (1 Reply)
Discussion started by: akitachi
1 Replies
2. Solaris
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
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Can anyone please help me in unix command
Query:
====
File contains data along with date and time stamp like,
..
Date: 08:23:2005 01:00:00
method: xyz
init variables
Date 08:23:2005 01:00:01
method: xyz
finished init variable
.... (2 Replies)
Discussion started by: thaduka
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Can anyone please help me in sort out the command to get the following command
say File abc.log contains
....
......
This is the first line
This is the second line
This is the third line
This is the fourth line
This is the fifth line
This is the first line
This is the... (7 Replies)
Discussion started by: thaduka
7 Replies
5. UNIX for Advanced & Expert Users
Hi All,
Please help me in writting the script
File contains:
=========
11424444, <basicpage>
jfalfksf
<dateofbirth>10/02/2005</dateofbrith>
jkaklgja
lg'd
....
11423224444, <basicpage>
jfalfksf
<dateofbirth>11/02/2005</dateofbrith>
jkaklgja
lg'd
11433523224444, <basicpage>... (1 Reply)
Discussion started by: thaduka
1 Replies
6. Shell Programming and Scripting
Hi guys,
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
7 Replies
7. Cybersecurity
Hi,
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.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
8. 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
7 Replies
9. Shell Programming and Scripting
Hi Firends,
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
2 Replies
10. 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.
Eg:
Find the text UNIX in the below file and need to return Test 8 & Test 9
Test 1
Test 2
Test 3
Test 4
UNIX
Test 5
Test 6
Test 7
Test 8
Test 9
Result can... (8 Replies)
Discussion started by: Arunkumarsak4
8 Replies
PEEKFD(1) User Commands PEEKFD(1)
NAME
peekfd - peek at file descriptors of running processes
SYNOPSIS
peekfd [-8,--eight-bit-clean] [-n,--no-headers] [-f,--follow] [-d,--duplicates-removed] [-V,--version] [-h,--help] pid [fd] [fd] ...
DESCRIPTION
peekfd attaches to a running process and intercepts all reads and writes to file descriptors. You can specify the desired file descriptor
numbers or dump all of them.
OPTIONS
-8 Do no post-processing on the bytes being read or written.
-n Do not display headers indicating the source of the bytes dumped.
-c Also dump the requested file descriptor activity in any new child processes that are created.
-d Remove duplicate read/writes from the output. If you're looking at a tty with echo, you might want this.
-v Display a version string.
-h Display a help message.
FILES
/proc/*/fd
Not used but useful for the user to look at to get good file descriptor numbers.
ENVIRONMENT
None.
DIAGNOSTICS
The following diagnostics may be issued on stderr:
Error attaching to pid ...
An unknown error occured while attempted to attach to a process.. you may need to be root.
BUGS
Probably lots. Don't be surprised if the process you are monitoring dies.
AUTHOR
Trent Waddington <trent.waddington@gmail.com>
SEE ALSO
ttysnoop(8)
Linux APRIL 2007 PEEKFD(1)