实用命令总汇

1:oracle命令
  刚创建的用户还没有任何权限,包括登录
   
     授权:grant connet to zty (登录的权力)
           grant select on emp to zty(zty用户可以去查询emp表)
           grant update on emp to zty
           grant all on emp to zty(zty用户可以对emp表进行增改删查)
           revoke select on emp from zty(收回zty对emp表的查找权限)
           grant dba to zty--表示把 dba权限授予给news用户
    
  linux下操作oracle的命令
     切换到oracle用户
     # su - oracle
     su - oracle
     sqlplus / as sysdba
    linux下启动oracle
     startup / shutdown immediate

    同时需要启动监听器
     su - oracle
    lsnrctl start/stop LISTENER

2:linux命令
     chmod +x 文件名  赋权限

       解压zip文件  unzip 文件名

        rm -fr filename

3:
  把项目打成war包,先在dos下进入项目下
jar -cvf war *.*

你可能感兴趣的:(命令)