03-18-2009
.
Yes. May be the C code implementation of ls command so that i can understand what happens in background..
Thanks for your reply
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hey i have to implement copy command in parallel in c language.
i dont know how to create a new directory in destination.
if anything u know related to this help me (1 Reply)
Discussion started by: rajsekhar28
1 Replies
2. Programming
Hi all,I'm reading <Advanced programming in the UNIX environment>,that book asked the reader to implement a function which has same functions with dup2 without calling fcntl.Could anyone give me a tip?Any help will be appreciated.:) (8 Replies)
Discussion started by: homeboy
8 Replies
3. Linux
Hi
I'm trying to implement CAPWAP protocol for my application.i'm able to configure my server side but i'm getting error at client(WTP) side as IOCTL error.while running the command
#./WTP /mnt/cf/capwap/
: wlan2
Starting WTP...
# WTP Loads... (0 Replies)
Discussion started by: ran789
0 Replies
4. UNIX for Dummies Questions & Answers
Hi everybody,
i've been googling for ages now and gotten kinda desperate... The question, however, might be rather trivial for the experts: What is it exactly, i.e. physically, the POSIX function (for a file) "lseek" does? Does it trigger some kind of synchronization on disk? Is it just for the... (4 Replies)
Discussion started by: Humudituu
4 Replies
5. Linux
Hi,
I am trying to execute a program with pipes to run a few basic commands by forking children. When I try to run commands in the child process without pipe, I am unable to run the command as execv fails. However for commands that are given with pipes execute successfully.
for example:... (1 Reply)
Discussion started by: mmurali2
1 Replies
6. UNIX for Advanced & Expert Users
How can i implement Ipsec between two machines in linux_ ubuntu?
any link?? suggestion?? (0 Replies)
Discussion started by: elinaz
0 Replies
7. Shell Programming and Scripting
Is there any command to take create back up of a file as soon as when it is created?If not is it possible to create something like that? (3 Replies)
Discussion started by: Sindhu R
3 Replies
8. Shell Programming and Scripting
I want to know about the time command flow of execution.
I have a doubt in the time calculation for the command execution.
Whether the real time is sum of (time taken to open the unix window + execute the command given infront of the "time" command + close the unix window)
or Just the time... (1 Reply)
Discussion started by: sateesh Solapur
1 Replies
9. Programming
I have this code from a programming book:
#include <stdio.h>
#include <string.h>
char buf; /* input line buffer */
char* field; /* fields */
char* unquote( char* );
/* csvgetline: read and parse line, return field count */
/* sample input:... (3 Replies)
Discussion started by: totoro125
3 Replies
10. UNIX for Advanced & Expert Users
I have a running service which runs in background.
It execute shell commands by function system(cmd)
I need to report fail when command execution takes more than 60 seconds.
Parent doesn't need to wait for 60 seconds of time if the cmd execution completed already.
runCommand()
{
pid_t... (3 Replies)
Discussion started by: techmonk
3 Replies
LEARN ABOUT DEBIAN
rfstat
RFSTAT(1) Rfio User Commands RFSTAT(1)
NAME
rfstat - get information about a file or directory
SYNOPSIS
rfstat directory
rfstat filename
DESCRIPTION
The rfstat program provides an interface to the shift remote file I/O daemon (rfiod) for getting information about a remote directory or
file. The filename or directory argument is either a remote file name of the form:
hostname:path
or a local file name (not containing the :/ character combination). The output from the rfstat command gives information similar to that
of the ls -il command for listing local files or directories, one field per line.
EXAMPLE
rfstat /tmp
Device : 802
Inode number : 2
Nb blocks : 16
Protection : drwxrwxrwt (41777)
Hard Links : 13
Uid : 0 (root)
Gid : 0 (root)
Size (bytes) : 4096
Last access : Wed Jun 15 07:18:10 2011
Last modify : Wed Jun 15 07:18:10 2011
Last stat. mod. : Wed Jun 15 07:18:10 2011
SEE ALSO
rfio_stat(3), rfiod(1)
NOTES
rfstat does not support regular expressions (regexp(5)) in the directory or filename argument.
AUTHOR
LCG Grid Deployment Team
LCG
$Date$ RFSTAT(1)