Search Results

Search: Posts Made By: SixSigma1978
11,948
Posted By SixSigma1978
Corona : Muchas Gracias!! That did it!!! ...
Corona : Muchas Gracias!! That did it!!!
Specifically the following:

/usr/ucb/ps -auxw

will display the ENTIRE process command line without truncating anything!!!
11,948
Posted By SixSigma1978
Tried all three:( didnt work!! COLUMNS=65535...
Tried all three:( didnt work!!

COLUMNS=65535 ps -ef | grep java
and
ps -ef | grep java > out.txt
and
ps -ef | cat

UID PID PPID C STIME TTY TIME CMD
root 6020 3822 0 ...
11,948
Posted By SixSigma1978
Show the entire line using ps
Using the vanilla
ps -ef

I noticed that the CMD (or command) line gets cut off after 90 characters
UID PID PPID C STIME TTY TIME CMD
root 6020 3822 0 Jun 19 ? ...
1,941
Posted By SixSigma1978
Alister - that did it. Tho am pretty sure...
Alister - that did it. Tho am pretty sure everyone was pretty much right in the end as well!! Sucks to be newb!!! :b:

Thanks all!!!
1,941
Posted By SixSigma1978
Changed it to FILES=$(ls *.log) for f...
Changed it to


FILES=$(ls *.log)
for f in $FILES
do
>"The file : $f"
done


It throws
syntax error at line 1: `FILES=$' unexpected

this is odd since
FILES=$(ls *.log) works...
1,941
Posted By SixSigma1978
Emptying files in a loop
I'm trying to write a script that will empty all contents in a set of files in a directory - without deleting the files themselves.
I know the command (at BASH prompt) is: > (filename)

I'm...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy