I'm not that familiar with the environment-modules package (never run it myself), but I would have expected that /usr/share/Modules/init/ksh should end up sourcing $HOME/.kshrc if you have one.
So I added
Code:
. $HOME/.kshrc;
to the bottom of the file and it fixed it. Thank you all for helping me with this error.
An odd problem using .kshrc, if I run with this in my home login directory it works fine other than if I use 'man', where each word of the manual entry is on a seperate line ?. I'm using AIX 5.3 (it worked fine on 5.2). Anyone seen this before ? (3 Replies)
How to get the current working directory as part of the command prompt? Every time I chage the folder, my command prompt path shoud change. I am using Korn Shell. Any help is greatly appreciated. (3 Replies)
Hi,
I am facing two problems in my environment. Anyone can help on this?
Thanks in advance.
Problem 1
---------
When i login into my new unix system, only the .profile is executing.
.kshrc is not executing. But my default shell is .ksh
Any setup to be changed ?
Problem 2... (7 Replies)
In my .profile, my prompt is set like this:
set -o vi
PS1=`logname`@`hostname -s`:'$PWD>'
Is there a way to show what the history number would be of the command I'm typing in the prompt? For example, I frequently run commands then run 'history' to pull up the history number of a command... (2 Replies)
When I use "/" to look for a particular command that I typed in the current session it says
D02:-/home/user1/temp> /job
ksh: /job: not found.
D02:-/home/user1/temp>
previously it used to fetch all the commands which had job in it..
for example subjob, endjob, joblist etc...
may I... (7 Replies)
Greetings!
I have to work with a NFS user id between two hosts: A running Ksh 93 and B running pdksh 88.
My problem has to do with the custom prompt I created on A: it works like a charm and display colors:
PS1="$'\E
But I switch over to B, it all goes to hell (private info... (4 Replies)
I am trying to create my custom prompt and I have almost succeeded. Right now I have PS1='\n\\$\ '
What I have not figured out is how to make the directories bold when I'm using commands ls or ls -la.
Any idea how to do it???
Many thanx. (2 Replies)
I have used this color prompt on my servers for long time, in file ~\.bashrc
Black="\"
Dark="\"
Blue="\"
LBlue="\"
Green="\"
LGreen="\"
Cyan="\"
LCyan="\"
Red="\"
LRed="\"
Purple="\"
LPurple="\"
Brown="\"
Yellow="\"
LGray="\"
White="\"
Reset="\"
PS1="$Yellow\u@\h $LBlue\w... (4 Replies)
Hi,
I'm trying to customize the ksh prompt for users on a RHEL 6.6 system for having user@host pwd : $ and user@host pwd # in red color for root.
I think it's possible but i do not even succeded for a non root user :
I added in my ~/.kshrc :
PS1="Hello : " and it works
but when i... (4 Replies)
Hi,
I am trying to run this command to connect to each server without being prompted for the password. How can I do this in Linux redhat 7.2:
for HOST in $VIPS; do
su - Myadminid -c "ssh -o ConnectTimeout=10 $HOST 'date; hostname; pkill -9 -f -u Myadminid xx00 ; ps -ef |grep Myadminid'" ... (7 Replies)
Discussion started by: mrn6430
7 Replies
LEARN ABOUT DEBIAN
paw-demos
PAW-DEMOS(1) General Commands Manual PAW-DEMOS(1)NAME
paw-demos - run PAW demonstrations
SYNOPSIS
paw-demos [options] [example_num [test_num]]
DESCRIPTION
paw-demos is a script to run the demonstrations of PAW in the paw-demos package. It will create a demo directory (by default
$HOME/paw-demos), copy the demos from /usr/share/paw-demos to this directory, and run them. Both examples and tests are available.
example_num is the number of the example to start with; examples are skipped if example_num > 31. test_num is the number of the test to
start with; tests are skipped if test_num > 8. Note that the first example is numbered 1 but the first test is numbered 0.
OPTIONS --batch
Run demos in batch mode; output to PostScript. The resulting output files are placed into a "linux" subdirectory of the demo direc-
tory.
--clean
Clean the demo directory given by the --dir option (or the default directory if --dir is not given). This option causes exam-
ple_num, test_num, --batch, and --driver to be ignored.
--dir dir
Specify the directory in which to run the PAW demos, relative to $HOME. If it does not already exist, it will be created and the
demos copied to it from the directory /usr/share/doc/paw-demos/examples. The default is $HOME/paw-demos.
--display display
Specify the display to use. The default is the current value of the $DISPLAY environment variable.
--driver driver
Specify a graphics driver. Available options are "X11" for pawX11 and "++" for paw++.
--help Show a summary of options.
FILES
/usr/share/paw-demos contains the PAW demonstrations.
$HOME/paw-demos is the default directory in which to run the demos.
SEE ALSO paw(1), paw++(1)
AUTHOR
This manual page and the paw-demos script that it describes were written by Kevin McCarty <kmccarty@debian.org> for the Debian GNU/Linux
system (but may be used by others). The demos themselves were written by various PAW contributors.
COPYRIGHT
(C) Copyright Kevin McCarty, 2003.
April 23, 2003 PAW-DEMOS(1)