LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 846|回复: 1

Help! I delete all shell profile in my home directory!

[复制链接]
发表于 2006-5-1 23:48:31 | 显示全部楼层 |阅读模式
I changed my shell into bash under FreeBSD, and i supposed that all the other shell files (like csh.rc and sh.rc, etc) in my home directory are useless, so i use rm command to delete all of them. I just think if i run bash, bash would create .bashrc and .bsah_profile files in my home folder automatically. But when i realised that's a stupid mistake, it's to late! I missed all my previous shell dot files! Who can help me? As i want to know how to create a .bashrc file correctly. And also , could you give me examples of your .bashrc, bash_profile,  bash_login files? Thank you!
发表于 2006-5-2 02:16:08 | 显示全部楼层
add a user,then you will get them.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表