Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Display full command (including options) information in running Post 302625627 by happy_lotus on Wednesday 18th of April 2012 04:05:07 AM
Old 04-18-2012
Thanks. Methyl and vbe. I ran the following command. Sorry for my large fonts.

uname -a
It says:
Linux AWSKPC01.uk.GSK.COM 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

I understand now it is difficult to obtain full information. Thank you both anyway.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

display full process name

hi, everytime i use the "ps -elf" command to monitor the processes, i always encounter one problem. some process names are just to long and was truncated. what command should i use to display the full command/process that is running. pls help me. urgent. thanks:rolleyes: (1 Reply)
Discussion started by: champion
1 Replies

2. UNIX for Dummies Questions & Answers

display full unix path as part of the command line

Hi all, Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am? thanks Ocelot (3 Replies)
Discussion started by: ocelot
3 Replies

3. SuSE

inconsistent ls command display at the command prompt & running as a cron job

Sir, I using the following commands in a file (part of a bigger script): #!/bin/bash cd /opt/oracle/bin ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out If I run this from the command prompt the result is: 2007-05-16 if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies

4. UNIX for Dummies Questions & Answers

xterm display options

Hello everyboby, can someone write me all options for Xterm option -name. For example, I know that @d give me server ip... but, how to write something like ${USER}@${HOST}: ${PWD}$ on title bar ? I use a connection line like this @(XTerm, method=stdappdb) -fn 6x13 -bg AliceBlue -fg blue... (2 Replies)
Discussion started by: gogol_bordello
2 Replies

5. Shell Programming and Scripting

Run a bash script, display on the screen and save all information in a file including error info

Hi all, How to: Run a bash script, display on the screen and save all information in a file including error information. For example: I have a bash script called test.sh now I want to run the test.sh and display the output on the screen and save the output including error info to a file. ... (1 Reply)
Discussion started by: Damon sine
1 Replies

6. UNIX for Dummies Questions & Answers

Shell Scripts - Show all directories with full information ( and no files)

Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do that. I believe I need to do some variation of ls -l but need to figure out how to take out the... (5 Replies)
Discussion started by: citizencro
5 Replies

7. UNIX for Dummies Questions & Answers

Running set options from the command line and bash command

I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing set you can also use them "on the command line when running a script..." and it lists this in a small table: set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies

8. Shell Programming and Scripting

ps command showing full code of running script

Hi, I have a script running while rsync command is fired to push some files. The output of rsync cmd has been redirected to the script which is used to generate log files containing progress info with formatting. when I enter ps -ef | grep rsync it shows the full scripting code on the cmd line... (2 Replies)
Discussion started by: rajeevra
2 Replies

9. Shell Programming and Scripting

How to display information of the script while its running?

how to display the messages on screen IN PERL such as " 1. Entering while loop" if the script enters a while loop. 2. Checking FILENAME. etc... 3. Print statement is also not helpful.... (1 Reply)
Discussion started by: Rashid Khan
1 Replies

10. Shell Programming and Scripting

Passing new options to a running command

I was just wondering if there is a way to pass an new option or argument to an already running command or program. Let us say you run "zenity --list <options>" and you like to add a title or change the title you used on it while it is already running, is it possible to do that? (1 Reply)
Discussion started by: cryogrid
1 Replies
PASSTHRU(3)								 1							       PASSTHRU(3)

passthru - Execute an external program and display raw output

SYNOPSIS
void passthru (string $command, [int &$return_var]) DESCRIPTION
The passthru(3) function is similar to the exec(3) function in that it executes a $command. This function should be used in place of exec(3) or system(3) when the output from the Unix command is binary data which needs to be passed directly back to the browser. A common use for this is to execute something like the pbmplus utilities that can output an image stream directly. By setting the Content-type to image/gif and then calling a pbmplus program to output a gif, you can create PHP scripts that output images directly. PARAMETERS
o $command - The command that will be executed. o $return_var - If the $return_var argument is present, the return status of the Unix command will be placed here. RETURN VALUES
No value is returned. NOTES
Warning When allowing user-supplied data to be passed to this function, use escapeshellarg(3) or escapeshellcmd(3) to ensure that users can- not trick the system into executing arbitrary commands. Note If a program is started with this function, in order for it to continue running in the background, the output of the program must be redirected to a file or another output stream. Failing to do so will cause PHP to hang until the execution of the program ends. Note When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable. Warning With safe mode enabled, the command string is escaped with escapeshellcmd(3). Thus, echo y | echo x becomes echo y | echo x. SEE ALSO
exec(3), system(3), popen(3), escapeshellcmd(3), backtick operator. PHP Documentation Group PASSTHRU(3)
All times are GMT -4. The time now is 05:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy