Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: jpradley
2,438
Posted By jpradley
Filter your quote-laden file through sed...
Filter your quote-laden file through

sed 's;*;;g'
3,124
Posted By jpradley
How did you change the file? If you edited it...
How did you change the file? If you edited it directly, that's incorrect. Try crontab -e.
2,014
Posted By jpradley
The 'who' command will report all logins. Pipe...
The 'who' command will report all logins. Pipe it through 'sort', then do a bit of homework: type 'man sed' and see how to condense that output to unique users.
1,717
Posted By jpradley
Use the right tool, which in your case is awk,...
Use the right tool, which in your case is awk, not sed.
Forum: SCO 08-21-2010
2,277
Posted By jpradley
I never saw an /etc/xorg.conf file on any release...
I never saw an /etc/xorg.conf file on any release of OSR 5. It does show up on OSR 6.
11,243
Posted By jpradley
Not sed at all. Use awk. If a line has _ in it,...
Not sed at all. Use awk. If a line has _ in it, print it once. If not, print it twice.
2,126
Posted By jpradley
In vi, :1,15s/^/# will insert # in...
In vi,

:1,15s/^/#

will insert # in front of the first fifteen lines.
Forum: SCO 08-04-2010
1,851
Posted By jpradley
Get the latest version of patchck from ...
Get the latest version of patchck from ftp://ftpput.sco.com/pub/tools/patchck.tar.Z

Run patchck to get the latest sysinfo. Sysinfo will save a lot of information for you.
Also run my...
2,998
Posted By jpradley
man printf
man printf
Forum: SCO 07-31-2010
16,629
Posted By jpradley
You grabbed the wrong ISO imzage. 507v is for use...
You grabbed the wrong ISO imzage. 507v is for use with VMWare. You want the 50-7 ISO, not 507V.

---------- Post updated at 04:43 PM ---------- Previous update was at 04:42 PM ----------

You...
Forum: SCO 07-29-2010
3,543
Posted By jpradley
Go poke around in SCO's knowledge base. You'll...
Go poke around in SCO's knowledge base. You'll find that the default filesystem type is HTFS.
3,150
Posted By jpradley
while ($reply ne ' ') : you are testing if the...
while ($reply ne ' ') : you are testing if the string $reply contains a space.
I think you want to test if it contains nothing.
6,720
Posted By jpradley
Why not simply wc -lw...
Why not simply

wc -lw /path/to/directory/*

?
6,042
Posted By jpradley
To delete empty directories under/top/level/dir...
To delete empty directories under/top/level/dir using find:

find /top/level/dir/* -type d | xargs rmdir
1,177
Posted By jpradley
set -- `ls -l foo` l | grep -e $1
set -- `ls -l foo`
l | grep -e $1
3,336
Posted By jpradley
You don't need grep. Sed alone will do the job.
You don't need grep. Sed alone will do the job.
2,086
Posted By jpradley
Scott's answer, date +%D | sed 's/\///g' is...
Scott's answer, date +%D | sed 's/\///g'
is perfectly correct, but not as readable as date +%D| sed 's-/--g

But why can't you just use date +%m%d%y ?
1,910
Posted By jpradley
If you want output to go to a file instead of to...
If you want output to go to a file instead of to your screen, then redirect it to a file.
5,983
Posted By jpradley
The late. lamented Bob Stockler of Louiville , KY...
The late. lamented Bob Stockler of Louiville , KY left behind his brilliant collection of scripts that do arithmetic with dates.

They're on my ftp site, ftp.jpr.com, in the /pub directory under...
1,910
Posted By jpradley
Assuming your names are in the file "list" and...
Assuming your names are in the file "list" and your four lines of codng are in the file "code"


awk '
BEGIN {
FS=OFS=":"
for (N =...
Forum: SCO 10-19-2009
3,509
Posted By jpradley
Does TA 102268 [OpenServer 5.0.7 does not...
Does TA 102268 [OpenServer 5.0.7 does not recognize the full drive capacity on HP
logical drives] not apply here?
Forum: SCO 10-19-2009
2,444
Posted By jpradley
This is straight out of the VFS manual: ...
This is straight out of the VFS manual:


Example
A Windows 2000 server meringue shares a printer named color. If the UNIX
superuser types this:
visionfs print --install salesprinter meringue...
Forum: SCO 10-19-2009
1,898
Posted By jpradley
TA 105312 does seem to have been withdrawn. ...
TA 105312 does seem to have been withdrawn.

Try typing 'tools' at the boot: prompt; you should move along until you get to an option to get a shell prompt on the ramdisk, at which point you can...
Forum: SCO 10-19-2009
2,364
Posted By jpradley
Did you just install the nd package, and not MP$?...
Did you just install the nd package, and not MP$?

In any case, I've been running an Intel pro 1000 card since the day OSR 6 came out, before even MP1 was available. When I first booted OSR 6, I...
Forum: SCO 08-29-2009
3,316
Posted By jpradley
1) what is your TERM setting, and which MP have...
1) what is your TERM setting, and which MP have you installed
2) use 'dtox'
Showing results 1 to 25 of 64

 

Featured Tech Videos

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