11-13-2001
get system() answer ?
Hi ,
how can i get the system reply from a system() command ?
is it possible to evaluate the return of a system command ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Please explain what does '$*' mean.
what does the command cd /~abc do, especially what does '~' mean?
cheers. (1 Reply)
Discussion started by: uni_ajay_r
1 Replies
2. Programming
Q.1 Diffrence between terminal and pseudo-terminal ?
Q.2 What is terminal login ? What is a netwok Login ?
Q.3 What is meant by baud rate of a terminal ?
Q.4 which structure is used for job control in Unix/Linux ?and where these structure are means in which directory ? (2 Replies)
Discussion started by: mobile01
2 Replies
3. Solaris
Hi i am trying the threads concept in unix environment using C...
but i am getting error of "wait_fd: Couldn't find procinfo for fd 24"...
what does this error mean.....
help me in solving this issue...
Thanks in advance
shivamasam (3 Replies)
Discussion started by: shivamasam
3 Replies
4. UNIX for Dummies Questions & Answers
i know by posting this people are going to get mad at me but, when i try to download unix for my Windows XP i find a whole bunch of files that i dont know what to do with, so please help, sorry if this has already been posted... or is a stupid question :o (9 Replies)
Discussion started by: DarkestEvil
9 Replies
5. UNIX for Dummies Questions & Answers
Try to answer these questions on Unix:
1.what will be the segment() function do?
2.How Unix is more powerful than Windows?
3.Where ownership details will be stored of a particular file in Unix?
4.State different uses of ^ symbol in regular expressions.
5.What does export command used for?... (5 Replies)
Discussion started by: dreambig
5 Replies
6. Programming
How do I get the answer of a system call that is printed in the terminal?
for example:
I execute system("pwd");
and get the answer /home/user/
But because I need to send this result to somewhere, I need to store it in a string.
Thanks in advance. (7 Replies)
Discussion started by: eldaran
7 Replies
7. Shell Programming and Scripting
Hello everyone
I update my question.
Thanks for your reply joeyg
If I type the last command and send to a text file. I get this
last >usuarios.txt
root pts/0 160.40.35.277 May 22 11:08 still logged in.
root pts/0 alopez02 May 22 09:23 - 10:11 (00:47)
root pts/0 160.40.35.277 May 20... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,,
I am new to the forum...but not to Unix.
I have gathered few questions from my mates who attended interviews in various companies as I have to attend one on dec 3rd for Sys admin position. Please respond with the answers you know and also help with various other interview... (2 Replies)
Discussion started by: impawan
2 Replies
9. Solaris
Hello :) !
i've few doubts.
1) how can we find the newly attached disk in SOLARIS ?
2) how to change port number of a service ?
3) how can we find that autofs is running in our system without using
svcs and prstat commands ?
4) we know that there are several types of dns servers in... (0 Replies)
Discussion started by: vamshigvk475
0 Replies
LEARN ABOUT HPUX
create_sysfile
create_sysfile(1M) create_sysfile(1M)
NAME
create_sysfile - create a kernel system file
SYNOPSIS
[outfile]
DESCRIPTION
The command creates a kernel configuration description file (system file) which can be used as input to the commands kconfig(1M) or mk_ker-
nel(1M). The system file that is generated is of type version 1 (see system(4)) and is built according to the drivers required by the cur-
rent system hardware. This command is intended for use during the install process when the system does not have a system file.
The command uses the ioscan(1M) command to scan the system hardware and adds all drivers it can identify to run the existing hardware. If
outfile is specified, the resulting system file is sent to outfile. If outfile is not specified, the output is placed in the file
RETURN VALUE
Upon completion, returns with one of the following exit values:
0 Successful.
1 One or more errors were reported.
DIAGNOSTICS
Errors are sent to stderr. Most of the diagnostic messages from are self-explanatory. Errors cause to halt immediately.
WARNINGS
is obsolete and will be removed in a future version of HP-UX.
AUTHOR
was developed by HP.
SEE ALSO
ioscan(1M), kconfig(1M), mk_kernel(1M), system(4), kconfig(5).
create_sysfile(1M)