linux build-in commands && become root on Ubuntu
来源:互联网 发布:知乎在小米工作怎么样 编辑:程序博客网 时间:2024/06/06 13:59
Linux shell has many build-in commands like 'ls' , 'cd', 'alias' and so on. When you type "sudo cd directory", shell may alert error: cannot find cd . Why ?
When we type a command in shell , shell will first try to find the command in its build-in commands list, if it did not find it , it will try to find it in external directories, Of course , this directories we can give them a well-called name environment variables. If we use sudo command, the shell does not find the command in build-in command list, it only research in external directories. So got error. Someone said it should be a cd external program implemented outside. I have no idea about this opinion.
Another problem is , someone told me on Ubuntu root is banned. I also have no idea about this. But how to become root is a problem. It seems that I do not know root's password. After searching on the internet a long time, I find the right answer. use ":sudo su" to change to root identification.
That's all.
- linux build-in commands && become root on Ubuntu
- linux build commands
- build v8 on ubuntu
- Build UCSniff on Ubuntu
- Build HOL4 on Ubuntu
- The useful commands in linux
- VIM Editor Commands in linux
- Linux on the i.MX6 sabre sd platform in a few commands
- Linux on the i.MX6 sabre sd platform in a few commands
- Missing MySQL in PHPinfo on Ubuntu Linux
- How to build DHCP&NTP server on Linux(Ubuntu)
- How to build DHCP&NTP server on Linux(Ubuntu)
- Build ccRTP in Ubuntu
- build skia on linux
- Some commands about setting network in ubuntu
- Build the Android work environment in Ubuntu Linux
- Build the Android work environment in Ubuntu Linux
- Build Linux/Android development platform in Ubuntu 10.04
- RichClient/RIA原则与实践(上)
- Websphere有关学习资源
- 参加Leo线下活动,见当世人杰!
- Eclipse+CDT+MinGW
- 用RAR备份源代码_用WSH备份数据库
- linux build-in commands && become root on Ubuntu
- EXTJS中界面布局开发心得
- 各种数据库的JDBC连接大全
- 保护眼睛 "人工眼泪" 眼药水
- 图书策划点滴2-别把“概述”不当干部
- js选取值,全选,datagrid,datalist 全选反选
- js中IE和Mozzila Firefox的一些不通用的属性方法
- The Kernel Boot Process --linux2.6.25内核启动过程
- sql2000备份的数据库还原到sql2005后,选择“数据库关系图”提示:此数据库没有有效所有者,因此无法安装数据库关系图支持对象。若要继续,请首先使用“数据库属性”对话框的“文件”页或 Alter AUTHORIZATION 语句将数据库