Search Results

Search: Posts Made By: mr-synapse
Forum: Solaris 07-03-2008
6,537
Posted By mr-synapse
An initial installation :-(
' sorry 'bout that I didn't see that was an automated / initial installation where the "plumb" operation is irrelevent.

Cheers:b:
Forum: Solaris 07-02-2008
6,537
Posted By mr-synapse
Are you sure you "plumbed" the interface?
It's very easily to overlook, but did you plumb the interface?

e.g. #ifconfig "interface" plumb

I've always had a problem entering interface data when switching between Solaris & LINUX for...
20,246
Posted By mr-synapse
The /etc/passwd & /etc/shadow entry
T,
The "*", asterisk, is used a as general "wildcard" placeholder in UNIX/LINX,
if placed in an /etc/passwd file in place of the password entry it would allow any password to gain access to that...
3
Rcs
2,698
Posted By mr-synapse
RCS vs. RSC question
Hello,
The RCS software is used by primarily by UNIX hardware for software revisioning, i.e. keeping track of sensitive files that get changed a lot by perhaps many people. There are RCS...
2,571
Posted By mr-synapse
RSC question?
Has anyone had a message after attempting a telnet to an RSC server of:
"Console session already in use." I'm attempting to access this server to setup a user account, and I'm having some problems....
3
Rcs
2,698
Posted By mr-synapse
RSC vs. rscadm etc.
RSC is part of every SUN UNIX box. It is found in the systems firmware. However, rscadm, is found on an accompanying disk. RSC runs independently of the OS, i.e. it doesn't need an OS to function....
1,869
Posted By mr-synapse
Cron
Have you considered using the system's "at" command that invokes your script?

Good Luck!

:)
48,266
Posted By mr-synapse
sed output...
sed does not change or alter the original file whatsoever, it copies the file supplied to it from the command line to a region of memory called the "pattern space" it uses this to perform its...
48,266
Posted By mr-synapse
Output from sed
sed does not impact or change the input file, it uses memory to duplicate the file, called "pattern space", it works by copying the input file to memory and does its work using the memory version of...
7,152
Posted By mr-synapse
Report from cron vs. command line
cron is pretty good about reporting to the user its status, i.e. whether it's running / active. If you're suspicious, then I would suggest placing an echo
statement (1.) in the/(a) cron script and...
12,527
Posted By mr-synapse
Link Name?
It appears as though you're not using the link command correctly, i.e. you need to specify a link name e.g.:

ln -s /file_to_link name - where name is name of link!

Good luck!

:)
5,497
Posted By mr-synapse
Running jobs remotely
If you're using HP-UX you should have remsh available. The "remsh" allows you to access remote machines, assuming you have authority to do so, and
execute programs, commands et al. You should...
10
3,597
Posted By mr-synapse
CRON not running properly
I suggest changing the default SHELL that cron is using, /bin/sh (I think?), to the SHELL your script is written in. You will have to dig, a little, i.e. man cron. But chaning the default SHELL...
9,591
Posted By mr-synapse
Incorrect output from script
To have the script include the "\" character I would re-write it so that the condition echo $line is replaced by echo "\$line\". In this way the reverse virgules should appear on either side of the...
31,739
Posted By mr-synapse
Ignore CASE/case in script...
The means I use to ignore case, as an example is the following snippet:

read -p "Enter Y/N to continue: " YN
y|Y|YES|Yes|n|N|NO|No=`echo $YN | tr [:lower:][:upper:]`

This allows anybody using...
5,434
Posted By mr-synapse
I suggest that you change the default SHELL that...
I suggest that you change the default SHELL that CRON uses ( /bin/sh ?). I would change it to the default SHELL that your script is written in. You need to perform a man on cron to find it though. ...
2,891
Posted By mr-synapse
I'm suggesting using the single backtick...
I'm suggesting using the single backtick character before and after the "find" command. The character I suggest using is located in the upper left of the
keyboard ( usually ) located on the same...
3,515
Posted By mr-synapse
User input from .logout
I would suggest just relogging in with the same user id. That should result in the history commands being available as per the pre-logout state.

The second issue of the SHELL timing out is a...
5,504
Posted By mr-synapse
Submit Meastro script
The first entry in your script is:
#!/bin/bash ( for a bash shell ) or,
#!/usr/bin/ksh ( for a ksh - usual location.)

The first part of the script you are entering variables e.g.:

read =p...
41,301
Posted By mr-synapse
Redirection
DogDay has the right idea, but a redirection character is need in his expression:

tar -cf archive.tar < `find . -name somefile`

This way the output of the find command supplies tar with files...
17,748
Posted By mr-synapse
To debug your script, the shell has a useful...
To debug your script, the shell has a useful feature, it is:set -xv. You can place this entry anywhere in the script to provide useful debug information when you run the script. I usually comment...
4,434
Posted By mr-synapse
Perl has a debug mode. I think its activated by...
Perl has a debug mode. I think its activated by appending the name with an
"-f", e.g. /usr/bin/perl -f. ' just a thought.

Mr-synapse
2,080
Posted By mr-synapse
The ^M is the EOL/CR in non UNIX files. If you...
The ^M is the EOL/CR in non UNIX files. If you wish to delete this there are
many methods using, SED, or VI, or more simply you can use the dos2unix
command. I suggest using your man page for...
6,982
Posted By mr-synapse
UNIX Oracle
You could continue the script with an if statement. For example, if the exception is: except, then you could insert an "if" statement in the script for
handling it:

if [[ $except -ne or -eq for...
12,532
Posted By mr-synapse
Shell Timeout
YGOR's correct. If your shell is timing out you need to set the TMOUT env variable. TMOUT=60;export TMOUT should do it. You can check it by using
echo $TMOUT or env | grep -i TMOUT.

Mr-synapse
Showing results 1 to 25 of 32

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