Linux命令模式下執行命令基本操作

基於Ubunto 10,藍色爲命令行輸入的命令,黑色爲運行結果,主要熟悉linux基本操作

==================================================

登錄Ubunto後,首先使用快捷鍵【 Ctrl + Alt + T 】打開終端,然後輸入命令如下:

root@Ubunut10:ls

hi3516c  公共的  模板  視頻  圖片  文檔  下載  音樂  桌面
root@Ubunut10:~# ls -al ~
總用量 212
drwx------ 33 root root  4096 2016-08-24 16:20 .
drwxr-xr-x 22 root root  4096 2014-03-19 20:51 ..
-rw-------  1 root root  4132 2016-08-24 16:21 .bash_history
-rw-r--r--  1 root root  3106 2010-04-23 17:45 .bashrc
drwxr-xr-x  5 root root  4096 2016-08-24 16:23 .cache
drwxr-xr-x 10 root root  4096 2016-08-24 16:22 .config
drwx------  3 root root  4096 2014-03-19 20:34 .dbus
drwxr-xr-x  4 root root  4096 2014-03-22 21:50 .designer
-rw-------  1 root root    16 2016-08-24 16:10 .esd_auth
drwxr-xr-x  3 root root  4096 2016-08-24 16:20 .evolution
drwx------  5 root root  4096 2016-08-24 16:23 .gconf
drwx------  2 root root  4096 2016-08-24 16:26 .gconfd
drwx------  9 root root  4096 2014-04-14 22:27 .gnome2
drwx------  2 root root  4096 2014-03-19 20:35 .gnome2_private
drwxr-xr-x  2 root root  4096 2014-03-19 20:45 .gstreamer-0.10
-rw-r--r--  1 root root   160 2016-08-24 15:21 .gtk-bookmarks
dr-x------  2 root root     0 2016-08-24 15:21 .gvfs
drwxrwxrwx 10 root root  4096 2014-04-14 22:25 hi3516c
-rw-------  1 root root  6520 2016-08-24 15:21 .ICEauthority
drwxr-xr-x  2 root root  4096 2014-03-19 20:45 .icons
drwx------  3 root root  4096 2014-03-19 20:37 .local
drwx------  3 root root  4096 2016-08-24 16:20 .mission-control
drwx------  4 root root  4096 2016-08-24 16:10 .mozilla
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 .nautilus
drwxr-xr-x  3 root root  4096 2014-03-28 21:31 .openoffice.org
-rw-r--r--  1 root root   140 2010-04-23 17:45 .profile
drwx------  2 root root  4096 2016-08-24 15:21 .pulse
-rw-------  1 root root   256 2014-03-19 20:22 .pulse-cookie
-rw-------  1 root root 33039 2014-04-14 22:27 .recently-used.xbel
drwx------  3 root root  4096 2014-03-22 21:42 .synaptic
drwxr-xr-x  2 root root  4096 2014-03-19 20:45 .themes
drwx------  4 root root  4096 2014-03-19 20:45 .thumbnails
drwxr-xr-x  2 root root  4096 2012-02-14 18:48 .wapi
-rw-------  1 root root  7302 2016-08-24 16:25 .xsession-errors
-rw-------  1 root root  1552 2016-08-24 15:14 .xsession-errors.old
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 公共的
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 模板
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 視頻
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 圖片
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 文檔
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 下載
drwxr-xr-x  2 root root  4096 2014-03-19 20:34 音樂

drwxr-xr-x  2 root root  4096 2014-03-26 20:17 桌面


root@Ubunut10:~# date
2016年 08月 24日 星期三 16:29:34 CST
root@Ubunut10:~# cal
      八月 2016
一 二 三 四 五 六 日 
 1  2  3  4  5  6  7
 8  9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31


root@Ubunut10:~# cal 9 2016
      九月 2016
一 二 三 四 五 六 日 
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30


root@Ubunut10:~# bc
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 

985+211
1196
981-211
770
scale=6
985/211

4.668246
985*211
207835
quit
root@Ubunut10:~# echo $LANG

zh_CN.UTF-8

root@Ubunut10:~# 


最後Ctrl + L復位清屏,Ctrl +d 推出終端

==================================================

實際操作運行結果




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章