Change the default shell for Ubuntu
来源:互联网 发布:控制面板找不到mysql 编辑:程序博客网 时间:2024/05/22 08:09
First of all, using this command to check what's the shell type right now:
$ls -al /bin/sh
There will be the symbol link of sh to bash or dash.
There are ways to change it:
1. using this command, and select NO when in the pop-up window.
$sudo dpkg-reconfigure dash
2. just update the symbol link to bash:
$sudo ln -sf /bin/bash /bin/sh
3. change the line of file : /etc/passwd, while line contains the "user" of yours.
sqwu:x:1000:1000:EDA,,,:/home/sqwu:/bin/bash
- Change the default shell for Ubuntu
- Change Default FTP Port For VSFTP
- How to Change the Default System Fonts
- Ubuntu Apache2 : Change default DocumentRoot /var/www
- change default shell from dash to bash in ubuntu12.04
- Change Default User and Password for Cognos Content Database
- Change the default Phone ringtone and notification ringtone
- How to change the SQL Server 2008 default install path
- How to change the SQL Server 2008 default install path
- How do I change the default runlevel in Feodra 15?
- how to change the default mode of a linux device
- How to change the default browser in Visual Studio
- Change the default search topology in SharePoint Server 2013
- how to change the implicit default settings in django 1.6
- How to change the default stack size on different platforms
- How to change your default locale on Ubuntu Linux
- How to change mysql default data directory in Ubuntu
- Ubuntu change default sh from dash to bash
- HTTP RFC 协议 笔记
- 最简单的java连接数据库步骤
- CXF WebService笔记day2.txt
- 基于Bloom-Filter算法的URL过滤器的实现
- stm32那点事-时钟
- Change the default shell for Ubuntu
- 剖析Java7.x新特性
- CBitmap,HBitmap,Bitmap,BITMAP区别及联系
- 如何高效利用 GitHub
- 大整数乘法
- POP3 RFC 协议笔记
- 全面剖析XMLHttpRequest对象(1)
- HDU 1175 连连看
- 二分搜索技术