02-17-2006
.profile would be available in home directory
to retrieve your home directory get the entry from /etc/passwd file against your login id
then add the two solutions you had found out
run your .profile to effect for the current session by
. $HOME/.profile
or
. ~/.profile
for subsequent sessions it would be automatically effected
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am getting the following error when try to use vi
vt100: Unknown terminal type
Visual needs addressable cursor or upline capability
:
I have checked the TERM variable which is set to vt100. What could be the problem. This is on solaris 2.8 and i am doing telnet. (2 Replies)
Discussion started by: sssow
2 Replies
2. UNIX for Dummies Questions & Answers
I am not a Solaris (Unix) guy so i need help. I am trying to get a Sun Ultra 5 running Solaris 8 to display the correct video for my KVM switch. I have set the CDE to 1024x768x75 and have no problem with video using this setting in CDE. When I shut down the server or boot up the server it is... (4 Replies)
Discussion started by: cchyzm
4 Replies
3. Solaris
When I log in from my linux workstation (CentOS4) to a solaris 8 server using SSH or telnet, the terminal settings don't seem to work well. When I tail or vi a file, I get a blank screen or no response, and I am no longer able to interact with the session. I have to type the escape sequence to... (2 Replies)
Discussion started by: tjlst15
2 Replies
4. Shell Programming and Scripting
I have created a ksh shell script and used it as a login shell for a user.
</etc/passwd>
lramirev:x:111:200:Luis:/export/home/menush:/usr/local/menush/menush
My shell script is like this:
</usr/local/menush/menush>
#!/bin/ksh
#
if ]
then
. $HOME/.profile
fi
... (8 Replies)
Discussion started by: lramirev
8 Replies
5. OS X (Apple)
Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click on the Terminal icon in the Dock, expand the "New Window" menu item, and select the... (0 Replies)
Discussion started by: siemsen
0 Replies
6. Shell Programming and Scripting
hi
while executing the following script, my terminal window is getting closed if I enter a invalid option. I want the script should go back the the command prompt. how to do achive it. i execute the script as . ./test
#! /usr/bin/ksh
Printf " Type of Installer : \n\t\t 1. Whole Build... (3 Replies)
Discussion started by: vij_krr
3 Replies
7. Shell Programming and Scripting
Hi All,
I want to login to CVS using terminal. I am executing the following command in the terminal :-
export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME
cvs login
But i get the following error :
Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (3 Replies)
Discussion started by: Afreen
3 Replies
8. OS X (Apple)
Hi All,
I want to login to CVS using terminal. I am executing the following command in the terminal :-
export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME
cvs login
But i get the following error :
Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (1 Reply)
Discussion started by: Afreen
1 Replies
9. UNIX for Dummies Questions & Answers
I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to... (11 Replies)
Discussion started by: herot
11 Replies
10. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT DEBIAN
ttyplay
TTYPLAY(1) General Commands Manual TTYPLAY(1)
NAME
ttyplay - player of the tty session recorded by ttyrec
SYNOPSIS
ttyplay [-s SPEED] [-n] [-p] file
DESCRIPTION
Ttyplay plays the tty session in file, which was recorded previously by ttyrec(1).
When -p option is given, ttyplay output the file as it grows. It means that you can see the "live" shell session running by another user.
If you hit any key during playback, it will go right to the next character typed. This is handy when examining sessions where a user
spends a lot of time at a prompt.
Additionally, there are some special keys defined:
+ or f
double the speed of playback.
- or s
halve the speed of playback.
0 set playback speed to 0, pausing playback.
1 set playback to speed 1.0 again.
OPTIONS
-s SPEED
multiple the playing speed by SPEED (default is 1).
-n no wait mode. Ignore the timing information in file.
-p peek another person's tty session.
SEE ALSO
script(1), ttyrec(1), ttytime(1)
TTYPLAY(1)