Sponsored Content
Full Discussion: Terminalsetting Unix Linux
Top Forums UNIX for Advanced & Expert Users Terminalsetting Unix Linux Post 32220 by Vishnu on Wednesday 20th of November 2002 02:46:17 PM
Old 11-20-2002
put this line in your .profile

export TERM=vt100

and execute

. .profile

play with vt100, vt220 till you get it right..


Quote:
$ sh .profile
this won't work if your intent is to set your "current" shells env. variable.. you should use ". .profile" for that...


Cheers!
Vishnu.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX VS. Linux

Aahhhh!! I am so much frustrated trying to recover my superuser account. I need help!!! Please can anyone tell me how to recover a the root account? Thank you in advance. (1 Reply)
Discussion started by: pnoi_blitz
1 Replies

2. UNIX for Dummies Questions & Answers

Linux is Unix???

Could anyone explain if Linux is Unix? I'm a newbie here, just installed Oracle 8i on Redhat 7.2. (4 Replies)
Discussion started by: Prettyman
4 Replies

3. Answers to Frequently Asked Questions

What is unix and is linux a unix system

Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky. One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies

4. Linux

UNIX and LINUX

Hey there, new to the forum :) Im currently at university studying UNIX, but i need some help. Can someone help me out with operational / technical differences between the two? Even if You just give me some topics i can go research them... much appreciated Josh (1 Reply)
Discussion started by: kiwi_bloke
1 Replies

5. UNIX for Dummies Questions & Answers

Unix to LINUX

quick question that may bring long answers :) I am currently looking into porting an existing Recital system from Unix to Linux. possibly not a good idea :) Basically; Would i be better shooting myself in the foot now? or do you know if there would be a fair expense due to buying Linux and the... (0 Replies)
Discussion started by: Kuz972
0 Replies

6. UNIX for Dummies Questions & Answers

unix on linux

hi all, i have a linux operating system...can i practice unix commands on linux system....there is any changes in the commands.....can any one post some meterial.. thanks (1 Reply)
Discussion started by: madhu_msinus@ya
1 Replies

7. UNIX for Dummies Questions & Answers

Unix vs Linux

why would one choose unix over linux? (2 Replies)
Discussion started by: lizzy
2 Replies

8. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

9. Post Here to Contact Site Administrators and Moderators

VIP Membership - The UNIX and Linux Forums - Get Your UNIX.COM Email Address Here

We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies

10. What is on Your Mind?

YouTube: Forum Moderation @UNIX.com | The UNIX and Linux Forums

Forum Moderation @UNIX.com | The UNIX and Linux Forums https://youtu.be/WGwgibE4Rq0 Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items: ... (0 Replies)
Discussion started by: Neo
0 Replies
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy