筆記 猿課2.6-2.7
2.6 linux環境變量
which ls 查看ls位置
/bin/ls --color=auto /var/ == ls /var/ 可以理解為ls的小名
alias s=‘ls -alt /var/’啟小名
vi .bashrc讓別的終端也可以用自定義快捷鍵
echo $PATH 看which找哪裏 PATH路徑裏的可以接運行
cp install.log /usr/bin/ 拷貝install.log到/usr/bin/
which install.log 看不到
chmod +x /usr/bin/install.log 給可查詢權限
which install.log 看到了
install.log 可直接運行了
mv /bin/ls /tmp/
ls不能用了
/tmp/ls 可用
PATH=$PATH:/tmp/ tmp加入為PATH路徑
which ls 看變化
echo $PATH
vi /etc/profile 寫進配置文件 :wq
source /etc/profile 新復制個session看下 ls which ls
2.7 快捷鍵使用
exit logout 退出
ctrl+d退出
ctrl+u 向前刪 ctrl+k向後刪
ctrl+c 中斷 試試中斷睡眠:sleep 100
ctrl+z 暫停
fg 恢復 試試中斷睡眠:sleep 100
ctrl+s crrl+q 鎖定 解鎖 死機的時候實施解鎖!
ctrl+l 清屏
筆記 猿課2.6-2.7
相關推薦
筆記 猿課2.6-2.7
linux2.6 linux環境變量which ls 查看ls位置/bin/ls --color=auto /var/ == ls /var/ 可以理解為ls的小名alias s=‘ls -alt /var/’啟小名vi .bashrc讓別的終端也可以用自定義快捷鍵echo $PATH 看which找哪裏 P
用glew,glfw實現opengl學習筆記5課紋理(2)
文章是照著教程點選開啟連結 寫的第二部分紋理,實現兩個紋理的混合,紋理單元的使用。載入圖片時候使用的FreeImage 這是個開源的載入照片的 原始碼點選開啟連結 選擇裡面shader2資料夾,按照要求選擇shader.h標頭檔案和 texture1.cpp 標頭檔案s
linux核心原始碼目錄結構(2.6.35.7版本)
以下內容源於朱有鵬嵌入式課程的學習,如有侵權,請告知刪除。 1、單個檔案 (1)Kbuild,Kbuild是kernel build的意思,就是核心編譯的意思。這個檔案就是linux核心特有的核心編譯體系需要用到的檔案。 (2)Makefile,這個是linux核心的總m
Linux(2.6.35.7)字元裝置驅動註冊介面
1. 老介面 (1)註冊函式 static inline int register_chrdev(unsigned int major, const char *name, const struct f
20170605day6(2.6~2.9cd mmkdir mdir命令)
學習筆記2.6絕對路徑和相對路徑1.絕對路徑從根開始的路徑都是絕對路徑。用pwd命令查看當前的目錄 [[email protected]/* */ ~]# pwd/root2相對路經相對於你所在位置的路徑。也就是相對當前目錄。例如:以下文件路徑為相對路徑,相對於root下的文件路徑[[email&
2.6-2.9絕對路徑和相對路徑
centos72.6-2.9絕對路徑和相對路徑2.6 絕對路徑和相對路徑如何理解絕對路徑和相對路徑對於Linux而言,是以目錄來組織整個結構的。最上層是根目錄(/),如果一個路徑是從根目錄(/)開始,則這是絕對路徑,比如(/usr,/usr/local)。而相對路徑則是相對於當前目錄的,以當前目錄為基礎,向下
ubuntu14.04, libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory
pack directory cname while 14. class home name rac 打包/opt/ros 打包項目文件install 到一臺沒有安裝ros環境的機器上啟動項目 source ros/indigo/setup.bash source
dubbo 2.6.2 + zookeeper 3.4.13 + SpringBoot 2.0.5 搭建
程式碼地址 :https://github.com/xingxingtx/SpringBoot.git gitclone:[email protected]:xingxingtx/SpringBoot.git 程式碼大致結構如下圖: 建立工程名為:
CSR8610 入門操作(BlueSuite 2.6.2和CSRXX_ROM_ConfigTool_3.0.64使用)
CSR8610 入門操作 1 工具及軟體 2 安裝工具 開啟控制面板–>系統和安全–>系統–>更改設定–>高階–>環境變數 將安裝目錄“D:\Program Fil
HDP-2.6.5 & ambari-2.6.2 安裝配置
mkdir 12c val HERE lean prior root mysql tools 安裝文件列表 * ambari.repo * ambari-2.6.2.2-centos7.tar.gz * hdp.repo * HDP-2.6.5.0-centos7-rpm.
ie8以下版本(包括ie8)的瀏覽器不支援html5標籤屬性解決方案(Modernizr 2.6.2外掛的使用)
我這邊申明下:我寫這篇日誌主要是想然ie8能夠支援html5的個別標籤閉合,並不能讓ie完全支援html5,我之前寫的可能會誤導很多同學,希望大家能明白。 今天腦抽想用html5標籤設計一個網頁,我本人用的是火狐瀏覽器,都弄好後我發現一個很嚴重的問題,除了ie9以下
重溫Java經典教程(The Java™ Tutorials)第三篇-Java語言-第二章-2.6.2泛型
Wildcards(萬用字元) In generic code, the question mark (?), called the wildcard, represents an unknown type. The wildcard can be used in a variet
Python 2.6.2的位元組碼指令集一覽
對Python的位元組碼指令集感興趣但不知道從何下手麼?執行這段程式碼就能看到位元組碼的列表: Python程式碼 import opcode for op in range(len(opcode.opname)): print('0x%.2X(%
log4j的2.6.2版本properties配置檔案的使用舉例
【寫作動機】 log4j是由apache基金會開發的開源日誌元件,是用來記錄日誌檔案的一套API,截止發文當天(2016/09/28)的最新版為v2.6.2版。與傳統1.2版相比,新版log4j在
最新的dubbo 2.6.2版本中@Service註解的parameters配置BUG和解決方案
在描述這個BUG之前,我想先說一個需求場景,假設我們有一個DemoService介面: public interface DemoService { String sayHello(String name); String sayHello2(String
2.6.2 XML配置:使用testNG進行並發多瀏覽器測試
firefox pla sig ret 分享圖片 使用 system exce ignorecas 測試類 1 @Parameters("browser") 定義browser參數。 在測試執行過程中,browser參數具體值由XML
最新版大資料平臺安裝部署指南,HDP-2.6.5.0,ambari-2.6.2.0
一、伺服器環境配置 1 系統要求 名稱 地址 作業系統 root密碼 Master1 10.1.0.30 Centos 7.7 Master2 10.1.0.105 Centos 7.7 Worker1 10.
筆記 屬性 權限 用戶 臨時權限(猿課精講1.6-2.0)
linux1.6 文件或目錄屬性信息ls -l 看目錄的詳細信息- 普通文件 d 目錄 s 進程間通信 c 字符設備 b 塊設備 l 軟連接(快捷方式) p管道文件所屬主 所屬組 其他人 權限rwxls -li inode號ls -la 111 有兩個子目錄 ls -lh 根據文件大小更改單位1.7 chmo
ELK學習筆記之CentOS 7下ELK(6.2.4)++LogStash+Filebeat+Log4j日誌整合環境搭建
0x00 簡介 現在的公司由於絕大部分專案都採用分散式架構,很早就採用ELK了,只不過最近因為額外的工作需要,仔細的研究了分散式系統中,怎麼樣的日誌規範和架構才是合理和能夠有效提高問題排查效率的。 經過仔細的分析和研究,確定下面的架構應該是比較合理的之一(Filebeat也支援直
第二節課,安裝紅帽7,基礎命令至2.3小節的筆記
筆記 實驗環境: 1、安裝注意事項:使用VM12版本 安裝需要稍後安裝系統。 自定義硬體DVD選擇映象位置。 自定義網絡卡僅主機。 自定義記憶體:大於等於4G