Search Results

Search: Posts Made By: kuliksco
Forum: Solaris 07-03-2018
2,210
Posted By kuliksco
Printer printing control codes
Solaris 10:

Having some trouble with a new printer printing control codes. This is an HP MFP M632.

Tried a few ppd files and without a ppd file using commands similar to the follow:

lpadmin...
5,848
Posted By kuliksco
Need help converting df output to gigabytes
I need some help converting the disk space values in kilobytes to gigabytes. I can't use df -h because the report has to be in megabytes for some disk space tracking software the customer is using....
19,186
Posted By kuliksco
help using EOF inside a for loop
I'm having problems with this example:


#!/bin/bash

for i in server1 server2 server3
do
ssh $i <<EOF >> logfile.txt
dat1=`date '+%m/%d/%y'`
hst=`hostname`
df -Ph |...
Forum: SCO 04-19-2010
3,824
Posted By kuliksco
yes
yes
Forum: SCO 04-16-2010
3,824
Posted By kuliksco
thanks but i couldn't find them in there. looks...
thanks but i couldn't find them in there. looks like the standard:

# @(#) login.dfl 26.1 95/05/16
#
# Copyright (C) 1988-1995 The Santa Cruz Operation, Inc.
# All...
Forum: SCO 04-16-2010
3,824
Posted By kuliksco
Help finding where certain environment variables are set
i have two machines that should be identical but on one system there are some oracle environment (ORACLE_SID, ORACLE_HOME, etc...) variables that are not being set for the users.

I am trying to...
2,029
Posted By kuliksco
they work great! thank you for your help.
they work great! thank you for your help.
2,029
Posted By kuliksco
grabbing filename from text file....should be easy!
Quick question...I'm trying to grab the .tif file name from this output from our fax server. What is the best way i can do this in a bash script? I have been looking at regular expressions with bash...
2,433
Posted By kuliksco
thanks for the reply. I ended up setting it up...
thanks for the reply. I ended up setting it up how you mentioned but the script is not working. It seems like the attachment is being lost after piping it in to the shell script. Do I need to add...
2,433
Posted By kuliksco
help redirecting output from mailbot
Hello...I'm having problems redirecting output from a script from a mailbot. It is a perl script that has the email sent to op_shipper piped into it.

I am receiving the email with sendmail and...
Forum: SCO 12-02-2009
3,989
Posted By kuliksco
Restrict user from breaking out of login script
I have a login script similar to where the user's shell in /etc/passwd is set to csh:

echo "In .login"
setenv SHELL /bin/csh

/bin/sh -c trap "" 1 2 3 5 6 7 8 15

/path/to/application...
27,833
Posted By kuliksco
thanks this worked great! any good ideas on...
thanks this worked great!

any good ideas on an easy way to filter out the . and .. ?
27,833
Posted By kuliksco
get file name from find command
how can i get the find command to display the filename without the path.

example:

find /tmp/test

/tmp/test1
/tmp/test2
/tmp/test3

should return

test1
test2
test3

i'm using...
8,346
Posted By kuliksco
ugh look like i missed a " above the esac. I got...
ugh look like i missed a " above the esac. I got it working!
8,346
Posted By kuliksco
sh -help with case statement (should be simple)
I'm having an issue running multiple commands in a case statement. If i only run one command it works fine. Am I supposed to use double semi-colons after each statement or do i not need any at all?...
Forum: Solaris 11-13-2007
10,199
Posted By kuliksco
thanks i got it!
thanks i got it!
Forum: Solaris 11-13-2007
10,199
Posted By kuliksco
help forwarding display over vpn
my and the other unix administrator have never been able to get our DISPLAY forwarded over vpn. on our redhat linux boxes we can just use:

ssh -X server1

and it works with no problems.
...
11,921
Posted By kuliksco
ok got it working. i ended up using: for...
ok got it working. i ended up using:

for FILE in `cat $1`
do
LIS=`tar -tf $FILE | grep ./status_`
tar -xvf $FILE $LIS
done

easier than i thought. not sure if there was a better...
11,921
Posted By kuliksco
hmm...i tried with the quotes but the ./status_*...
hmm...i tried with the quotes but the ./status_* still isnt finding a match. here is the contents of one of the tar files:

tar -tf /export/home/psxfer/history/archive/history.20070101.tar...
11,921
Posted By kuliksco
bash - batch script for extracting one file from multiple tar files
so i have hundreds of files named history.20071112.tar
(history.YYYYMMDD.tar)

and im looking to extract one file out of each archive called status_YYYYMMDDHH:MM.lis

here is what i have so far:...
Showing results 1 to 20 of 20

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