linux基礎篇
2: ldd commomd路徑 顯示二進制程序所依賴的庫。
3: date 命令
date -s "2008-08-08 20:00:00" 修改時間
date -d "-7 day" 7天已前
date +%F%T 完整的時間
date +%H:%M:%S 時分秒
date +%y:%m:%d 年月日
4.hexdump 把16進制的可執行文件顯示為二進制。
hexdump /bin/ls
5.screen -S 創建會話 實用
screen -ls 顯示可加入的會話
screen -x 加入會話
linux基礎篇
相關推薦
《Linux-基礎篇筆記》 Linux常用命令(一)
file 格式 列出文件 gid 常用命令 以及 修改 容量 大文件 Linux的常用命令 文件處理命令 ◆顯示目錄或文件◆ 命令語法:[ls 選項 文件或目錄] -a #顯示所有文件,包括隱藏文件,連同
《Linux-基礎篇筆記》 Vim編輯器(二)
當前 其他 開關 /word 備註 lsp 包含 關閉 ubunt Linux圖形化界面下的文本編輯器 gedit 、 libre office 、 evince PDF閱讀器 ①gedit是一個GNOME桌面環境下兼容UTF-8的文本編輯器。它使用GTK+編寫而成
《Linux-基礎篇筆記》 Linux高級文件系統管理(七)
常用選項 列表 pack nor 請求 nta ESS anaconda emp Quota磁盤配額 由於Linux是一個多用戶管理的操作系統,而Linux默認情況下並不限制每個用戶使用磁盤空間的大小. 假如某個用戶疏忽或者惡意占滿磁盤空間將導致系統磁盤無法寫入甚
linux基礎篇
png images 進制 修改時間 term size mom water 可執行文件 1: bc命令進制換算如圖 2: ldd commomd路徑 顯示二進制程序所依賴的庫。 3: date 命令 date -s "2008-08-08 20:00:00&
linux基礎篇-文本三劍客之AWK
filename %u $1 ++i options else if day pri regexp awk介紹 ? awk:Aho, Weinberger, Kernighan,報告生成器,格式化文本輸出 ? 有多種版本:New awk(nawk),GNU awk( ga
linux基礎篇-加密和安全(一)
證書 rss base64 encrypt 加密和解密 leg 效應 pubkey 鼠標 加密和安全(一) 主要內容 ♣ 安全機制 ♣ 對稱和非對稱加密 ♣ 散列算法 ♣ gpg ♣ PKI和CA &cl
Linux基礎篇--linux基礎和幫助用法
ring 解決方法 變化 功能 信息 給定 兩種 linux基礎 linux 內核 Linux基礎篇--linux基礎和幫助用法 本章概要 用戶登錄 終端 Shell介紹 執行命令 簡單命令 Tab鍵補全 命令行歷史 bash快捷鍵 使
Linux - 基礎篇
作業系統概述 Linux 發行版 常用命令 ctrl + c:回到命令列 ifconfig:檢視IP地址(老版) ip addr:檢視IP地址(新版) clear:清除命令 source:通常用法:source filepath 或 . filepath -&nbs
linux基礎篇(三):程序管理
程序 程序的定義:程序就是cpu未完成的工作 ps命令 ps a ##關於當前環境的所有程序 x| -A ##所有程序 f ##顯示程序從屬關係 e ##顯示程序呼叫環境工具的詳細資訊 l ##長列表顯示程序的
linux基礎篇(二):基於Redhat7系統的特殊許可權與acl許可權列表
新建目錄和檔案的預設許可權 新建目錄和檔案的預設許可權是由系統中umask值來決定的。 新建FILE許可權:666-umask (對位相減) 由數字法賦許可權的過程中,我們能夠發現,凡是奇數許可權,總是包含執行許可權的。而一個檔案如果預設就包含執行許可權其實是非常危險的。因此如果所
linux基礎篇(七):基於Redhat7系統的系統日誌與延時任務
系統日誌 配置檔案: /etc/rsyslog.conf 系統日誌是記錄系統中硬體、軟體和系統問題的資訊,同時還可以監視系統中發生的事件。使用者可以通過它來檢查錯誤發生的原因,或者尋找受到攻擊時攻擊者留下的痕跡。 常用日誌型別與日誌級別 型別 auth
linux基礎篇(六):基於Redhat7系統的網路設定
常用網路協議 ipv4 IPv4,是網際網路協議(Internet Protocol,IP)的第四版,也是第一個被廣泛使用,構成現今 網際網路技術的基礎的協議。1981年 Jon Postel 在RFC791中定義了IP,Ipv4可以執行在各種 各樣的底層網路上,比如端
linux基礎篇(五):檔案歸檔與不同系統間的檔案傳輸
檔案歸檔 檔案歸檔,就是把多個檔案變成一個歸檔檔案,即將多個檔案打包起來 tar命令 Unix和類Unix系統上的壓縮打包工具,可以將多個檔案合併為一個檔案,打包後的檔名亦為“tar”。tar檔案格式已經成為POSIX標準,最初是POSIX.1-1988,當前是POSIX.1-2
linux基礎篇(四):基於Redhat7系統的sshd服務
SSHD 服務簡介 ssh 協議:安全外殼協議。為 Secureshell 的縮寫。SSH 為建立在應用層和傳輸層基礎上的安全協議。 sshd 服務使用 SSH 協議可以用來進行遠端控制, 或在計算機之間傳送檔案。而實現此功能的傳統方式,如 telnet(終端模擬協議)都是極為不安全的,
linux基礎篇(九):Redhat7系統中使用指令碼安裝虛擬機器
安裝虛擬機器 要安裝一個虛擬機器,我們需要開啟virt-manager然後一步一步的去設定才能到達安裝頁面,但是有沒有更好的辦法能夠只需要一部到達安裝虛擬機器的頁面呢,下面就給大家展示用指令碼直接到達安裝一個虛擬機器的頁面 安裝虛擬機器我們當然要在真機中操作,每一步都一定要仔細檢查
linux基礎篇(八):基於Redhat7系統中的DHCP服務的設定
什麼是DHCP? DHCP,動態主機配置協議,前身是BOOTP協議,是一個區域網的網路協議,使用UDP協議工作,常用的2個埠:67(DHCP server),68(DHCP client)。DHCP通常被用於區域網環境,主要作用是集中的管理、分配IP地址,使client動態的獲得IP地址
linux基礎篇(十):基於Redhat7系統中的定時任務
定時任務CRONTAB概念/介紹 crontab命令用於設定週期性被執行的指令。該命令從標準輸入裝置讀取指令,並將其存放於“crontab”檔案中,以供之後讀取和執行。 cron 系統排程程序。 可以使用它在每天的非高峰負荷時間段執行作業,或在一週或一月中的不同時段執行。cron是系統主
linux基礎篇-RHEL實現服務或指令碼開機自啟動的方法
有時候我們需要有些服務或者指令碼在開機的時候就要啟動,有如下方法: 1. 方法一 將啟動指令碼追加至/etc/rc.local檔案中, 用例:echo "sh /tmp/modify.sh &" >> /etc/rc.local 2. 方法二 格式:
Linux基礎篇之輸出重定向與萬用字元
1.輸出分為: 標準輸出重定向(檔案描述符11),錯誤輸出重定向(檔案描述符為2),二者預設解釋輸出到螢幕上。 2.詳細解釋: 符號 作用 命令 >
Linux基礎篇之Vim
1.Vim是什麼? 正如Windows上有預設文字編輯器–notepad一樣,Linux有Vim 2.Vim的三種模式? Vim有三種模式,一種是命令模式,命令模式主要進行一些刪除,複製,黏貼的操作。一種是輸入模式,輸入模式,就是輸入純文字,Vim不會把它當