2013年1月9日
摘要: Vi简介vi 文本编辑器有三种模式:命令模式、插入模式和末行模式(底线命令模式)。命令模式:控制屏幕光标的移动,字符或光标的删除,移动复制某区段及进入插入模式下,活着到末行模式。编辑模式:在编辑模式下,可以使用键盘输入文本,按Esc退出编辑模式返回到命令模式。末行模式:将储存文件或离开编辑器,也可设置编辑环境,如寻找字符串、列出行号等。启动vi文本编辑器:进入命令模式vi <filename>如果filename文件存在则打开该文件。如果filename文件不存在则创建一个新文件。命令模式移动光标:h 或 向左方向键(←) 光标向左移动一个字符j 或 向下方向键(↓) 光标向下移动 阅读全文
posted @ 2013-01-09 22:51 不吃鱼的小胖猫 阅读(357) 评论(0) 推荐(0)
摘要: 启动监听:lsnrctl start查看监听:lsnrctl status停止监听:lsnrctl stop启动监听:lsnrctl start[oracle@localhost ~]$ lsnrctl startLSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2013 21:54:06Copyright (c) 1991, 2005, Oracle. All rights reserved.Starting /u01/app/oracle/oracle/product/10.2.0/db_1/bin/tnslsnr: 阅读全文
posted @ 2013-01-09 13:58 不吃鱼的小胖猫 阅读(271) 评论(0) 推荐(0)
摘要: useradd命令创建用户1.以root身份登录,创建test/test用户[root@localhost ~]# useradd test[root@localhost ~]# passwd testChanging password for user test.New UNIX password: BAD PASSWORD: it is too shortRetype new UNIX password: passwd: all authentication tokens updated successfully.home下查询到test用户主目录[root@localhost ~]# c 阅读全文
posted @ 2013-01-09 11:39 不吃鱼的小胖猫 阅读(226) 评论(0) 推荐(0)