文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Linux常用的一些命令

Linux常用的一些命令

时间:2010-09-27  来源:joejoe0332

  一、找出用户及其Linux系统的名字:

  student@ubuntu:~$ whoami #显示用户ID

  student

  student@ubuntu:~$ hostname #显示登录上的主机名字

  ubuntu

  student@ubuntu:~$ uname #显示运行在计算机上的操作系统的信息

  Linux

  二、用man来显示帮助手册,按空格键,一次一满屏的查看帮助手册,按q退出。

  三、用whatis得到更任何Linux命令更短描述

  student@ubuntu:~$ whatis man

  man (7) - macros to format man pages

  man (1) - an interface to the on-line reference manuals

  四、判断默认shell的类型

  student@ubuntu:/etc/profile.d$ echo $SHELL

  /bin/bash
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载