ebook70-5



Similar documents
lect03.ppt

ebook35-2

Microsoft Word - linux命令及建议.doc

ebook70-22

PowerPoint 演示文稿

本文由筱驀釹贡献

Microsoft Word - PS2_linux_guide_cn.doc

ebook62-1

ebook140-8

untitled

epub 63-3

1.加入党组织主要经过哪些程序?

Microsoft Word - 第5章.doc

Linux Ubuntu Part Linux Ubuntu Linux UNIX...19 Linux...19 Linux Linux...21 Linux GNU FSF Open So urce.

ebook140-9

全國新住民火炬計畫(草案)

佛教招〔2016〕9号--佛山市教育局关于调整面向全市招收艺术特长生音乐专业考试内容及大纲的通知.doc

AL-MX200 Series


ebook70-21

Microsoft Word - 105YQ403試題分析

会计9


ebook70-14


Linux服务器构建与运维管理

ebook70-13

材 料 目 录 1. 党 员 发 展 及 转 正 流 程 图 2. 申 请 入 党 人 员 基 本 信 息 及 培 养 记 录 表 3. 思 想 汇 报 传 阅 及 意 见 反 馈 表 4. 入 党 积 极 分 子 培 养 考 察 表 5. 政 治 审 查 函 调 信 模 板 6. 政 治 审 查

Unix®t Œ fi z.PDF

WinMDI 28

ebook70-11

(Microsoft Word - 1-\302\262\244\266.doc)

ebook65-5

mannal

臺 灣 地 區 今 天 傍 晚 5 點 32 分 發 生 強 烈 地 震, 震 央 在 南 投 名 間 南 方 10 公 里 的 地 方, 震 源 深 度 19 公 里, 屬 於 淺 層 地 震, 名 間 鄉 的 震 度 達 到 7 級, 雲 林 古 坑 6 級, 隨 後 在 5 點 38 分, 南

土 木 与 交 通 学 院 发 展 学 生 党 员 的 选 拨 条 件 与 推 荐 细 则 为 进 一 步 规 范 我 院 学 生 党 建 工 作, 加 强 和 完 善 我 院 对 学 生 党 员 各 个 阶 段 人 员 的 选 拔 和 培 养 工 作, 提 高 我 院 发 展 学 生 党 员 质

国家信息中心2012年部门预算


<4D F736F F D2036A457B2C43133BDD2AE5DAEA9AAC5A454ADC9AADDBFBCAEB0A641ADD7A5BFA4A7A977BD5AAAA >

you have a dream, you got to protect it

ebook71-13

ebook 185-6

FullBook.doc

2013年度西藏自治区教育厅

實用文格式大全.doc

个 小 小 的 乡 下 人 木 匠 的 儿 子, 竟 然 有 这 么 大 的 力 量 其 实 就 是 这 点, 祂 活 出 来 的 那 种 爱, 是 世 界 上 没 有 的 祂 活 出 来 的 爱 是 世 界 上 的 人 都 需 要 的, 但 却 是 人 人 在 这 个 世 界 上 都 得 不 到

薛 秦 高 继 宁 宋 明 锁 文 洪 梁 瑞 敏 贾 跃 进 内 蒙 古 自 治 区 (3 人 ) 琪 格 其 图 米 子 良 赵 震 生 辽 宁 省 (8 人 ) 田 素 琴 白 凤 鸣 肖 瑞 崇 黄 恩 申 白 长 川 杨 世 勇 李 敬 林 王 秀 云 吉 林 省 (5 人 ) 赵 继 福

投影片 1

why

2004 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. Sun Sun Berkeley BSD University of California UNIX X/Open Company, Ltd.

Linux 操作系统课程社区创作

2

64 [ 46 ] (p297) 1924 :? [ 47 ] (p570) ; ; ; ; ; ; ; ; ; ; ; [ 11 ]; [ 35 ] [ 49 ] [ 32 ] ( ) [ 48 ] (p 425) [ 50 ] (p 670 6

<4D F736F F D205BCAE9B0FCCDF85DC8FDC9FAC8FDCAC0CAAEC0EFCCD2BBA82E646F6378>

ebook

安徽电子工程学校

Microsoft Word htm

软件测试(TA07)第一学期考试

epub 61-2

考 試 日 期 :2016/04/24 教 室 名 稱 :602 電 腦 教 室 考 試 時 間 :09: 二 技 企 管 一 胡 宗 兒 中 文 輸 入 四 技 企 四 甲 林 姿 瑄 中 文 輸 入 二 技 企 管 一

约 伯 记 : 约 伯 记 : 惟 有 我 一 人 逃 脱, 来 报 信 给 你 他 还 说 话 的 时 候, 又 有 人 来 说 : 你 的 儿 女 正 在 他 们 长 兄 的 家 里 吃 饭 喝 酒, 不 料, 有 狂 风 从 旷 野 刮 来, 击 打 房 屋 的 四 角, 房 屋 倒 塌 在

加 拉 太 书 :8 2 加 拉 太 书 2:4 8 过 了 三 年, 才 上 耶 路 撒 冷 去 见 矶 法, 和 他 同 住 了 十 五 天 9 至 于 别 的 使 徒, 除 了 主 的 兄 弟 雅 各, 我 都 没 有 看 见 20 我 写 给 你 们 的 不 是 谎 话, 这 是 我 在 神

多 穿 一 點 和 別 開 窗 子 都 是 正 面 的 句 子, 好 比 妳 上 幼 稚 園 時 老 師 教 我 們 對 妳 說 話 的 方 法, 不 是 很 簡 單 很 明 確, 感 覺 上 比 妳 用 責 難 的 問 句 好 多 了 嗎? 相 對 的, 有 許 多 直 接 而 簡 單 的 句 子

Chapter 2


目 录 专 稿 季 烨 文 革 之 初 北 京 师 大 二 附 中 的 红 色 暴 力 姜 培 良 之 死 与 仇 恨 教 育 评 论 唐 燕 关 于 北 京 女 十 中 教 师 孙 迪 之 死 给 王 友 琴 纠 错 校 史 王 逸 伦 编 辑 合 肥 市 第 六 中 学 校 史 关 于 文 革

来 正 式 组 织 关 系 转 出 后 未 收 到 组 织 关 系 介 绍 信 回 执 的 党 员 排 查 的 主 要 任 务 是, 核 查 党 员 身 份 信 息, 摸 清 流 动 党 员 底 数, 理 顺 党 员 组 织 关 系, 健 全 完 善 党 员 档 案, 对 与 党 组 织 失 去 联

附 件

5 1 文 书 原 件 优 先 的 原 则 和 例 外 兼 评 最 高 人 民 法 院 关 于 民 事 诉 讼 证 据 的 若 干 规 定 第 69 条 / 纪 格 非 论 点 与 思 考 5 3 优 先 受 偿 权 是 什 么 权? 浅 谈 建 筑 工 程 优 先 受 偿 权 的 性 质 及 价

早 期 療 育 教 保 人 員 應 具 備 下 列 資 格 之 一 : 一 專 科 以 上 學 校 醫 護 職 能 治 療 物 理 治 療 教 育 特 殊 教 育 早 期 療 育 幼 兒 教 育 幼 兒 保 育 社 會 社 會 福 利 社 會 工 作 心 理 輔 導 兒 童 及 少 年 福 利 或

人 員 分 配 完 畢 後, 分 配 訓 練 之 需 本 法 第 三 條 第 一 項 所 稱 分 發 機 關, 指 銓 敘 部 及 行 政 院 人 事 行 政 總 處 本 法 第 三 條 第 一 項 所 稱 定 期 依 序, 指 分 發 機 關 或 申 請 舉 辦 考 試 機 關 於 下 次 該 項

<4D F736F F D20AAFEA5F333B4E5AA61B1D0BEC7BFC4A44AA655BBE2B0ECA544C3445FB5A3B8D6B3D0A740B1D0BEC72E646F63>

105年公務員申領或侵占小額款項

BSAP_ConsultChi05_1.indd

C 佟 某 委 托 中 介 为 其 征 婚 D 海 盈 房 地 产 公 司 委 托 律 师 事 务 所 代 其 办 理 登 记 事 项 8 根 据 民 法 通 则, 施 工 单 位 的 项 目 经 理 属 于 施 工 单 位 的 ( ) A 委 托 代 理 人 B 法 定 代 理 人 C 指 定 代

Microsoft Word - prac_exp13.doc

陕 西 省 城 市 社 区 社 会 管 理 创 新 现 状 困 境 及 建 议 一 陕 西 省 城 市 社 区 管 理 现 状 分 析 ( 一 ) 社 区 社 会 管 理 创 新 的 重 要 举 措 1. 高 度 重 视 社 区 的 社 会 管 理, 积 极 探 索 总 结 经 验 自 2000 年

1-8章.indd

目 錄 大 會 歡 迎 詞 裁 判 長 的 話 選 手 賽 前 準 備 清 單 賽 事 日 程 表 選 手 報 到 比 賽 日 - 大 會 服 務 關 門 時 間 台 東 關 門 時 間 轉 換 區 須 知 台 東 轉 換 區 須 知 自 行 車 檢 錄 轉 換 袋 台 灣 游 泳 公 里 游 泳

事 業 單 位 改 組 或 轉 讓, 舊 勞 工 不 願 意 續 任 者, 可 否 請 求 資 遣 費? 工 或 與 勞 工 協 商 同 意 後 簽 訂 新 約, 以 穩 固 勞 雇 關 係 至 於 改 組 或 轉 讓 過 程 中, 被 商 定 留 用 之 勞 工, 如 因 其 勞 動 條 件 有

Microsoft Word - 江湖行帮趣话

关于印发《实验室骨干教师评聘及管理办法》的通知

Microsoft Word - report.doc

2 2. ( 4 ) =? 在 電 子 計 算 器 之 最 適 當 操 作 過 程 為 ( 3 ) 乘 除 算 名 數 題 目 應 求 小 數 幾 位 以 下 四 捨 五 入 11 位 23 位 32 位 40 位 2 4. ( 3

德 华 安 顾 人 寿 保 险 有 限 公 司 银 行 保 险 业 务 系 列 人 员 管 理 办 法 (2014 版 ) 目 录 第 一 章 第 二 章 第 三 章 第 四 章 第 五 章 第 六 章 第 七 章 第 八 章 总 则 人 力 编 制 及 岗 位 职 责 人 员 管 理 制 度 考

( 有 限 合 伙 )( 以 下 简 称 杭 州 金 葵 ) 和 杭 州 金 锋 投 资 管 理 合 伙 企 业 ( 有 限 合 伙 )( 以 下 简 称 杭 州 金 锋 )( 以 下 合 称 交 易 对 方 ) 购 买 其 持 有 的 卓 诚 兆 业 100% 股 份 ( 以 下 简 称 本 次

海大学字[2004]3号


第 1期 楼彩霞 价值链视角下北京光线传媒股份有限公司商业模式创新研究 101 竞争优势 二 商业模式理论与价值链理论的关系 什么是商业模式 国外学者 Dub n 2002 等 认 为 商 业 模 式 是 企 业 为 了 进 行 价 值 创 造 价 值 营销和价值提供所形成的企业结构及其合作伙伴网络

生命科学学院 学年度学风建设实施方案

ebook62-8


I B :

els0xu_zh_nf_v8.book Page Wednesday, June, 009 9:5 AM ELS-0/0C.8

第二章

Microsoft Word - 鄂卫办函[2009]64号.doc

全宋词1

& ((& ) ((

惑 對 阿, 我 和 水 母 是 同 一 個 國 中 哦! 咦, 我 忘 記 妳 為 什 麼 叫 做 水 母 了 小 靖 歪 著 頭 望 向 阿 宅, 進 入 一 段 沉 思 狀 態 大 概 是 因 為 我 之 前 的 髮 型 很 像 水 母 吧, 學 電 視 劇 女 主 角 的 阿 宅 回 答 得

Transcription:

5 / 5.1 L i n u x L i n u x X L i n u x 5.1.1 touch t o u c h t o u c h G N U t o u c h # touch newfile # ls -l newfile - r w - r - - r - - 1 bball users 0 Jan 5 12 : 40 n e w f i l e t o u c h 0 # > newfile2 # ls -l new* - r w - r - - r - - 1 bball users 0 Jan 5 12 : 40 n e w f i l e - r w - r - - r - - 1 bball users 0 Jan 5 12 : 41 n e w f i l e 2 t o u c h 0 t o u c h t o u c h t o u c h # touch newfile2 # ls -l newfile2 - r w - r - - r - - 1 bball users 0 Jan 5 12 : 44 n e w f i l e 2 n e w f i l e 2 12 : 41 12 : 44 t o u c h - t # touch -t 1225130000 newfile2

64 L i n u x # ls -l --full-time new* - r w - r - - r - - 1 bball users 0 Tue Jan 05 12 : 40 : 14 1999 n e w f i l e - r w - r - - r - - 1 bball users 0 Mon Dec 25 13 : 00 : 00 2000 n e w f i l e 2 l s -- f u l l - t i m e n e w f i l e 2 2000 t o u c h t o u c h t o u c h c r o n 24 cron 5.1.2 rm r m r m m c r m L i n u x D O S R A M # rm -fr /* - r / L i n u x 23 r m # rm file # rm file1 file2 file3 # rm file* f i l e f i l e r m - i # rm -i new* rm : remove newfile? y rm : remove newfile2? y - f # rm -f new* - f n e w * r m r m

5 65 # rm -f temp* rm : temp : is a directory rm : temp2 : is a directory - f - f - r 22 - f - r # rm -fr temp* - f r r m r m d i r O p e n L i n u x X K D E S t a r O ff i c e m c Midnight Commander 5.1.3 mkdir m k d i r m k d i c p m v # mkdir temp # mkdir temp2 temp3 temp4 t e m p c h i l d # mkdir temp/child t e m p # mkdir temp5/child mkdir : cannot make directory temp5/child : No such file or directory m k d i r t e m p 5 m k d i r - p

66 L i n u x 2 directories, 0 files m k d i r t e m p 5 p a r e n t p a r e n t c h i l d 5.1.4 rmdir r m d i r # rmdir tempdirectory # rmdir temp5 rmdir : temp5 : Directory not empty t e m p 5 r m d i r r m -fr m v m v m k d i r r m d i r - p # rmdir -p temp5 rmdir : temp5 : Directory not empty! # rmdir -p temp5/parent rmdir : temp5/parent : Directory not empty # rmdir -p temp5/* rmdir : temp5/parent : Directory not empty # rmdir -p temp5/parent/child! - p c h i l d 3 directories, 0 files t e m p 5 # rmdir temp5/parent/* m v

5 67 5.1.5 mv m v L i n u x S A G S A h t t p / / m e t a l a b. u n c. e d u / L D P / L D P / s a g / i n d e x. h t m l S A G O p e n L i n u x l y n x lynx /usr/doc/ldp/system-admin-guide/sga-0.6-html/sag.html l y n x 13 m v # touch file1 # mv file1 file2 f i l e 1 f i l e 2 m v m k d i r m v # mkdir -p temp/temp2/temp3 # mv temp newtemp m v 9 - b - i m v m v - b - b m v u n o d e u x d e u? - b u n o d e u x d e u ~ m v r m - i

68 L i n u x f i l e 2 f i l e 3 f i l e 3 - i m v f i l e 3 - i m v - i - b # mv -bi file2 file3 5.1.6 cp c p 40 c p # cp file1 file2 f i l e 1 f i l e 2 f i l e 1 c p c p m v c a t # cat > file1 this is file1 # cat > file 2 this is file2 # cat > file3 this is the third file # ls -l file* - r w - r - - r - - 1 bball users 14 Jan 5 13 : 29 f i l e 1 - r w - r - - r - - 1 bball users 15 Jan 5 13 : 29 f i l e 2 - r w - r - - r - - 1 bball users 23 Jan 5 13 : 29 f i l e 3 # cp file1 file2 # ls -l file* - r w - r - - r - - 1 bball users 14 Jan 5 13 : 29 file1 - r w - r - - r - - 1 bball users 14 Jan 5 13 : 31 f i l e 2 - r w - r - - r - - 1 bball users 14 Jan 5 13 : 29 f i l e 3 # cat file2 this is file1 f i l e 1 f i l e 2 m v - i - b # cp -i file1 file2 cp : overwrite file2? n

5 69 # cp -bi file1 file2 cp : overwrite file2? y # ls file* f i l e 1f i l e 2 f i l e 2 ~ f i l e 3 f i l e 2 c p t e m p d i r 1 t e m p d i r 2 r m c p - r t e m p d i r 1 t e m p d i r 2 c p - p m k d i r - p t e m p 1 f i l e 1 t e m p d i r 3 1 directory, 6 files # cp tempdir2/tempdir1/temp1file1 tempdir3 - p

70 L i n u x c p 5.1.7 ln L i n u x L i n u L i n u x l n l n O p e n L i n u x l n f i l e 2 f i l e 1 f i l e f i l e 2 f i l e 1 f i l e 2 f i l e 2 f i l e 1 l n - s f i l e 2 f i l e 1 f i l e 2 f i l e 1 f i l e 2 f i l e 1 a l i a s # rm -f file1 # cat file2 cat : file2 : No such file or directory f i l e 1 f i l e 2 O p e n L i n u x

5 71 # ln /usr/local/games play ln : /usr/local/games : hard link not allowed for directory / u s r / l o c a l / g a m e s l n # ln -s /usr/local/games play # ls -l play l r w x r w x r w x 1 bball u s e r s 16 Jan 5 14 : 12 play -> /usr/local/games # cd /usr/local/games # cd play / u s r / l o c a l / g a m e s D O S Wi n d o w s d o s / m n t / d o s / w i n d o w s / d e s k t o p L i n u x Wi n d o w s d o s D O S / m n t / d o s D O S l n # ln -s /mnt/dos/windows/desktop dos 22 m c 5.1.8 Midnight Commander m c Midnight Commander 5-1 s h e l l s h e l l s h e l m c # mc m c s h e l l l s c p l n m v m k d i r r m d i r r m c d p w d f i n d c h o w n c h g r p

72 L i n u x t r e e t e l n e t F T P g z i p L i n u x Midnight Commander 5-1 Midnight Commander s h e l l L i n u x 5.2 g r e p L i n u x 5.2.1 5-1 *

5 73 5-1 *?. { x } x { x, y } x y { x, } x ( xxx ) ( XXX ) x x x X X X [ xxx ] x-x ] [ XYZ ]+ X Y Z \ x? ^ pattern $ pattern e d e d. t x t # ls *.txt 1 4 d a y s. t x t 9 6 h o u r s. t x t d a t a l o g. t x t d a t e b o o k. t x t d a y 6 7. t x t l s l s # ls *[ 0123456789 ]* 0 0 0 1 f i l e. 0 0 0 9 3 2 d a y s. m s g d a y 6 7. t x t 0 8 1 0 0 0 9 7. d b 9 6 h o u r s. t x t m e s s a g e. 7 6 1 4 d a y s. t x t b a c k u p 0 0 1. f i l e p h o n e l o g. 111 5 9 7 # ls *[ 0-9 ]* 0 0 0 1 f i l e. 0 0 0 9 3 2 d a y s. m s g d a y 6 7. t x t 0 8 1 0 0 0 9 7. d b 9 6 h o u r s. t x t m e s s a g e. 7 6 1 4 d a y s. t x t b a c k u p 0 0 1. f i l e p h o n e l o g. 111 5 9 7 # ls *[ 0-9 ]

74 L i n u x 0 0 0 1 f i l e. 0 0 0 9 m e s s a g e. 7 6 p h o n e l o g. 111 5 9 7 # ls [ 0-9 ]* 0 0 0 1 f i l e. 0 0 0 9 0 8 1 0 0 0 9 7. d b 1 4 d a y s. t x t 3 2 d a y s. m s g 9 6 h o u r s. t x t # ls *[ -a-z ]* [ 0-9 ]* b a c k u p 0 0 1. f i l e # ls [ 0-9 ]*[ a-z ]*[ 0-9 ] 0 0 0 1 f i l e. 0 0 0 9 d a y 6 7. t x t? # ls *\?* c a t h y?. m e s s a g e 5.2.2 grep g r e p g r e p e g r e f g r e p g r e p e g r e p f g r e g r e p Matt We l s h L i n u x h t t p :// m e t a l a b. u n c. e d u / L D P O p e n L i n u x / u s r / d o s / L D P g r e p e g r e p f g r e p f g r e p

5 75 # fgrep friend guide.txt Large extent by the window manager. This friendly program is in copy Linux from a friend who may already have the software, or share ( Unfortunately, the system was being unfriendly.) e g r e p ( b ) # egrep \([b]\) g u i d e. t x t ( see section 1.8 for a list of compatible boards ), or (b) there is an connect to the network, or (b) you have a dynamic IP address, ( b ) g r e p # grep \([b]\) g u i d e. t x t This is version 2.2.2 of the book, Linux Installation and Getting to PostScript printers. This document was generated by a set of tools from LaTeX source, so there may be a number of formatting problems. This is not the o fficial version of the book! Please see... g r e p e g r e p # grep (b) g u i d e. t x t ( see Section 1.8 for a list of compatible boards ), or (b) there is an connect to the network, or (b) you have a dynamic IP address, g r e p f g r e p e g r e p g r e p b g r e p - n g r e p # egrep -n friend g u i d e. t x t 1242 : large extent by the window manager. This friendly program is 1942 : copy Linux from a friend who may already have the software, or 5161 : ( Unfortunately, the system was being unfriendly.) 1242 1 942 5 161 g r e p - f - n - f g r e p n

76 L i n u x g r e p - F f g r e p - E e g r e p g r e z g r e 5.3 5.3.1 t a r t a r L i n u x t a r O p e n L i n u x C D - R O M r p m t a r t a r - z g z i p g z i p t a r c f t a r # tar cf mydir.tar mydir # ls -l *.tar - r w - r - - r - - 1 bball u s e r s 10240 Jan 5 15 : 01 mydir. t a r t a r

5 77 - - r e m o v e - f i l e s v t a r w t a r f i l e 1 f i l e 3 f i l e 22? t a r t f t a r g r e p t a r - x - f - v w

78 L i n u x # tar xf mydir.tar mydir/mydir2/file23 # tree mydir m y d i r ` - - mydir2 ` - - file23 1 directory, 1 file m y d i r t a r t a r c p i o B R U - 2000 t a p e r O p e n L i n u x c r o n 23 B R U - 2000 t a p e r 24 c r o n 5.3.2 cpio c p i o t a r c p i o c p i t a r t a r c p i o t a r L i n u x c p i o c p i o c p i o c p i o 5.3.3 gzip g z i p t a r L i n u x L i n u x. t g z. t a r. g z / u s r / d o c / H O W TO g z i p g z i p g z i 60 7 0

5 79 g z i p # gzip mydir. t a r g z i p. g z g z i p g u n z i g z i p - d. g z. Z - g z. z - z _ z g z i p g u n z i p - S # gzip -S.gzipped mydir. t a r g z i p z i c o m p r e s s p a c k - l m y d i r g z i p # gzip -l mydir. t a r. g z compressed uncompr. ratio uncompressed_name 239 10240 97.9% mydir. t a r g z i p - t g z i p O K - t v 5.3.4 compress c o m p r e s s U N I X c o m p r e s s. Z # compress file # uncompress file.z g z i p. Z c o m p r e s s L i n u x z i p u n z i p z i p c l o a k z i p n o t e z i p s p l i t z l e s s z c a t z n e w z m o r e z c m p p a c k c o m p a c t s h a r u n s h a r z f o r c e L i n u x h t t p : / / m e t a l a b. u n c. e d u / p u b / L i n u x 5.4 O p e n L i n u x O p e n L i n u x

80 L i n u x 5.5 O p e n L i n u x b z i p 2 g z i p / b i n O p e n L i n u x. b z 2. u u. u u u u e n c o d e u u d e c o d e uudecode somefile.uu U s e n e t U s e n e t c a t l e s s s t r i n g s l e s s t r i n g s s h e l l t t a r v t 5.6 1. tar t a 2. OpenLinux a p r o p o s 3. O p e n L i n u x