Sponsored Content
Top Forums Shell Programming and Scripting Need help!! Am just starting to learn UNIX Post 302288443 by zaxxon on Tuesday 17th of February 2009 08:47:04 AM
Old 02-17-2009
What did you try so far?
 

9 More Discussions You Might Find Interesting

1. Programming

What to learn in Unix

Hi I've landed an entry level job in a s/w company.I've not yet started working.But they told me it would be good if i know unix very well.I don't have any idea abt unix.and now i realise it is very vast.It would be nice if somebody can tell me what i should be learning in unix.I don't think i'll... (5 Replies)
Discussion started by: liiza
5 Replies

2. UNIX for Dummies Questions & Answers

I want to learn more about Unix

Hi, can some one advice me of a book or online tutorail for some one new to Unix. Right now I only know few commands, and I dont have a clue regarding the different names like Solaris ...etc. thanks, i think this is a great forum.:) (3 Replies)
Discussion started by: BAM
3 Replies

3. OS X (Apple)

Want to learn Unix on PB

I've got a 15" PB running Panther and I truly want to delve into the Unix base. I want to learn what is going on under my system and I want to learn how to be able to work in the Unix environment. I've had some experience with Redhat and Mandrake Linux, so I'm not afraid of the shell prompt. I'd... (2 Replies)
Discussion started by: MortonM33
2 Replies

4. UNIX for Dummies Questions & Answers

To Learn Unix..

What Os Should I Install? Thanks. (4 Replies)
Discussion started by: dhkkim
4 Replies

5. UNIX for Dummies Questions & Answers

want to learn unix

Hi, I am a new joinee.i want to know completely about unix.could you give me some links or soft copies so that i can be good at subject. thank you. (5 Replies)
Discussion started by: mohanp
5 Replies

6. UNIX for Dummies Questions & Answers

want to learn unix

Hey guys, I would like to learn unix but first i need to start to load unix OS into my computer but i dont know where to start or get the CD to load...help appreciated...thanks (2 Replies)
Discussion started by: rxsonny
2 Replies

7. UNIX for Dummies Questions & Answers

Want to learn unix

Hello everyone, I would like to learn and administrate unix operation system. For training purposes, i would to install at home an unix system on my windows machine (using vmware player or virtual box.) I would like you to advise me on which exactly operation system can i install for learning... (2 Replies)
Discussion started by: stunaz
2 Replies

8. Shell Programming and Scripting

Need help!! Am just starting to learn UNIX

Dear ALL! i have just started learing UNIX. Can anyone pls let me how to write a program using command line to give product of two numbers /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman;... (1 Reply)
Discussion started by: chature
1 Replies

9. UNIX Desktop Questions & Answers

Best way to learn Unix....

Hello- I talked to a friend the other day....he said learning Linux is a boon to my Windows Server Support career. I know linux comes from Unix so I am wondering if I should start by learning Unix. I have a MAC with OSX on it that I can use. Will this work for learning line command? My goal is... (1 Reply)
Discussion started by: digitalayon
1 Replies
log(8)							      System Manager's Manual							    log(8)

NAME
log - Records input and output from a program SYNOPSIS
/usr/sbin/log <logfile> <command> OPERANDS
The file in which to record the interaction being logged. The command to execute. DESCRIPTION
The log program runs <command> and logs the input to and output from <command> to the <logfile> file. Input and output are logged until <command> exits, the log program exits, and the exit status of <command> is returned. The log program is used by the system installation procedure and the it(8) command to create the /var/adm/smlogs/install.log and /var/adm/smlogs/it.log installation log files. RESTRICTIONS
Because the log program is used in the installation standalone environment, program size was the greatest concern in its implementation. The log program does not search for the PATH variable to locate <command> and error messages are terse. The log program causes <command> to take standard input from and write standard output and standard error to UNIX pipes. Some commands will not be able to operate in this environment; therefore, it is suggested that you use the script(1) command instead. UNIX shells will not issue prompts when run from log unless the shell is started with an explicit interactive switch (-i for most shells). For example, log foo.tmp /sbin/sh -i In the previous example, foo.tmp is the name of <logfile>. The log program intercepts end-of-file (usually Ctrl/d). Therefore programs which normally receive end-of-file as an exit command must exit by some other means. ERRORS
Log open error Explanation: The log program was unable to open <logfile>. Verify that the directory exists and that ownerships and permissions are set correctly. Exec Error Explanation: The log program was unable to execute <command>. Verify that you specified a full pathname for <command> and that <command> is an exe- cutable file. Fork Error Explanation: The log program was unable to create one of the processes it requires to log data. SEE ALSO
Commands: it(8), script(1) log(8)
All times are GMT -4. The time now is 09:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy