1834045 Members
2699 Online
110063 Solutions
New Discussion

batch installation

 
SOLVED
Go to solution
kacou
Regular Advisor

batch installation

y'ello all,
i haven't got batch on my hpux server. someone can help me to configure it
bests regards
15 REPLIES 15
Robert-Jan Goossens
Honored Contributor

Re: batch installation

Hi,

Batch as in an at or a cron job?

add your username to the
/usr/lib/cron/at.allow
or the
/usr/lib/cron/cron.allow

Robert-Jan
kacou
Regular Advisor

Re: batch installation

i want to use the 'tabulation key' to re-call the comands i type on my keybord
Ganesan R
Honored Contributor

Re: batch installation

Hi,

did you mean batch or patch installation?

batch - schedules a job for execution immediately

at - schedules a job for execution at a specified time.

cron - executes commands at specified dates and times.
Best wishes,

Ganesh.
kacou
Regular Advisor

Re: batch installation

sorry, it's 'bash'which permit me to re-call a command i type on my keybord
Ganesan R
Honored Contributor

Re: batch installation

Hi,

You need to download it here and install it.

http://hpux.connect.org.uk/hppd/hpux/Shells/bash-4.0/
Best wishes,

Ganesh.
Robert-Jan Goossens
Honored Contributor
Solution

Re: batch installation

Hi,

One advice! Do not setup the root account with bash, otherwise you system will not boot to multi-user.

Kind regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: batch installation

Actually, don't bother with bash - be a real SysAdmin and use the Posix shell and learn the vi editor so the commands to recall your keyboard entries are second nature and you will be used to using the most portable editor there is.

You'll need to set up a couple environment variables. Set HISTFILE (HISTFILE=/tmp/.sh_history.$whoami) and then set the editor (set -o vi) in your .profile. You can then recall your previous commands with and edit them, search through them, etc., etc. And you'll also be taking a large step towards being a real SysAdmin.


Pete

Pete
kacou
Regular Advisor

Re: batch installation

ok my pbm is half resolved (thanks a lot).
But when i search a file, i don't want to write all paths.
I want to use the tabulation key to liste all file system's path.
bright image
Frequent Advisor

Re: batch installation

Filename completion can be done with esc esc. (the escape key twice)
kacou
Regular Advisor

Re: batch installation

super!!! thanks a lot!!!!!!!!
kacou
Regular Advisor

Re: batch installation

this method doesn't work in the version 11iv3, but it works in the 11iv2

How can i implemente it on 11iv3 server?
help me please
Pete Randall
Outstanding Contributor

Re: batch installation

It should work on 11.31 - try entering "set -o vi" and then try it.


Pete

Pete
kacou
Regular Advisor

Re: batch installation

i type 'set -o vi' after that i enter the syntax in .profile, but it's doesn't work
Pete Randall
Outstanding Contributor

Re: batch installation

echo $HISTFILE
echo $HISTSIZE


Pete

Pete
Tingli
Esteemed Contributor

Re: batch installation

exec ksh -o vi (which takes you out of bash unfortunately)