8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
A very basic query.
I am working on two different UNIX servers and I see different behaviours for my user id. This has to be a setting in the .profile, but I can't seem to find where :confused:
So, in one server if I type echo $XYZDD (a random variable), I get a blank line with no... (2 Replies)
Discussion started by: ALDonP
2 Replies
2. UNIX for Dummies Questions & Answers
I am wondering about the following:
stty columns 140
I have found that a number of times I need to set my display columns to a high number (such as 140) but I have to do this every time I login to use putty/ssh. Can we set this with an environmental variable so that it is permanent?
Also... (4 Replies)
Discussion started by: newbie2010
4 Replies
3. Shell Programming and Scripting
Hi
I don't have chsh option.
I want to launch bash instead of ksh ( or launch bash from ksh .profile)
how can I do this ? (1 Reply)
Discussion started by: Sivaswami
1 Replies
4. AIX
Hi all,
I am currently trying to tell /bin/ksh to behave like a login shell. I am invoking it from an interactive shell. In the documentation is stated, that calling it with
exec ksh -
it should behave like a login shell, work 1st on /etc/profile, ~/.profile and so on.
I tried that with... (0 Replies)
Discussion started by: zaxxon
0 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I've a problem with .profile on ksh.
I use exceed to connect as a user to my server.
When I'm connected, my PS1 variable is $, but on my .profile it is defined like
PS1="`/usr/ucb/whoami`@$HOSTNAME# "
...
export ENV PAGER HOSTNAME PAGER PATH PS1 MAIL
Now... all my alias on... (1 Reply)
Discussion started by: gogol_bordello
1 Replies
6. Programming
Hi,
I'm have a big problem with one of the C programs that I'm developping.
actually, I'm trying to monitor the users' session in solaris.
therefore, I have used the source code of the unix "script" command. but the problem is that, when i run that program, the stty settings are lost:
speed... (4 Replies)
Discussion started by: saad26
4 Replies
7. Shell Programming and Scripting
Ih all,
I need to make a ksh script with colors, it is possible with printf to combine column and colors ? i seem not working, I think i dont doing the good thing:
printf -n "%-15s %-20s %-20s\n" "\033
the position is ok
Name______Age________Site
----________---_________----
Bob... (2 Replies)
Discussion started by: wolfhurt
2 Replies
8. Shell Programming and Scripting
hi,
I have the following in my .profile file:
21 set -u
22 trap "echo 'logout'" 0
23
24
25 EDITOR=vi
26 export EDITOR
27
28 export ENV=x.tm
And x.tm just contains echo hello world
I am in the c shell.... (9 Replies)
Discussion started by: JamesByars
9 Replies