faqts : Computers : Operating Systems : Linux : Shell Commands

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

38 of 52 people (73%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Operating system: Linux: Boot: Autoexec.bat: File: Name: What is the name of autoexec file in Linux?

Nov 23rd, 2003 18:00
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 24 November 2003 - 02:58 am -------------------

Operating system: Linux: Boot: Autoexec.bat: File: Name: What is the 
name of autoexec file in Linux?

---

The name of the autoexec file in Unix is:

 .bash_profile

---

In C shell:

 .login

---

In Bourne or Korn shell

 .profile

---

To see this file, type the following commands:

 cd /root

 ls -a

 emacs .bash_profile

 or

 vi .bash_profile

---
---

[see also: .bash_logout, .bash_history]

----------------------------------------------------------------------