Linux Note 3 20160715_2
vi, vim
vi is a very strong command line edit software.
vim was the advanced version of vi, adding the support of GUI.
Except vim, emacs is even stronger than vim.
vim + path
to use vim
three modes of vi
command mode
default
i : insert text at the cursor
o : insert a new line below the current one
dd : delete the whole row
yy : put the current row's content to the ram(copy the current line)
n+yy: put n rows' content to the ram(copy n lines)
p : paste
u : revoke the last manipulation
r : replace current character
/ : find key wordinsert mode
i
Esc : back to the command modeex mode
:
:w #save
: q #quit
:q! #force to quit
:set number #show the line number
:! system command # execute a system command
:sh #return to the command line and 'ctrl + d' can return to the vim
Basic concept of disc
轉速越快,磁碟效能越強。但是,功率發熱量都會高。
SATA
- 柱面(cylinder)
立體,多碟片疊加的柱面圈 - 扇區(sector)
中心擴散出來的扇形 - 磁頭(head)
讀寫資料,每個磁碟上下都有個磁頭
磁碟在linux中的表示
裝置名稱一般為hd[a-z]或sd[a-z],如hda,hdb,sda,sdb
IDE裝置的名稱為hd[a-z],SATA,SCSI,SAS,USB等裝置名稱為sd[a-z]
concept of partition
將一個磁碟邏輯的分為幾個區,每個區當作獨立磁碟,以方便管理。
不同分割槽用: 裝置名稱 + 分割槽號 ,如sda1,sda2
主流的分割槽機制分為MBR和GPT兩種。
MBR
Master Boot Record. Traditional one. Applied to most BIOS PC device.
- support 32bit and 64bit
- there is a limit for partition
- support no more than 2T hard disk.
MBR partition
- main partition
at most 4 - extended partition
take a place of the main partition.
can't be used. still need logical partition. - logical partition
can only be created by creating an extended partition first.
Linux can support at most 63 IDE partition and 15 SCSI partition.
GPT
A new one.
- support more than 2T
- compatible with MBR
- only can be used on the hardware that supports UEFI
- only 64bit
- Mac,Linux both support GPT
- Windows 7 64bit, windowsServer2008(win10,win8?)
相關文章
- 小米Note3評測 小米Note3值得買嗎?
- Linux配置notesLinux
- 魅藍note3拆解評測 魅藍note3怎麼拆機
- D3 JS study notesJS
- 小米Note3 SIM卡安裝教程 小米Note3怎麼裝卡/插卡
- 紅米Note3怎麼裝卡 紅米Note 3 sim卡安裝圖文教程
- 紅米note4和紅米note3區別對比評測
- 死磕紅米Note3 聯想樂檬K5 Note今釋出
- 魅藍note3 sim卡安裝圖文教程 魅藍note3怎麼裝卡
- 魅藍note3與metal對比評測 魅藍note3和魅藍metal哪個好
- 魅藍note3和紅米note3/榮耀暢玩5c電池續航對比評測
- 紅米Note4和紅米Note3有什麼區別? 誰更值得入手?
- [計組 notes] Chapter 3 儲存系統APT
- 紅米note3 Failure [INSTALL_CANCELED_BY_USER]AI
- 魅藍note3通知欄怎麼設定 魅藍note3通知欄設定教程
- 榮耀5C和紅米Note3哪個好 榮耀5c和紅米note3對比評測
- 小米Note3和小米6X對比評測 小米6x與小米note3買哪個好
- Mac電子閱讀神器marginnote 3 mac版Mac
- Linux/Centos:Notepad++ 外掛之NppFTPLinuxCentOSFTP
- Master Note of Linux OS Requirements for Database Server [ID 851598.1]ASTLinuxUIREMDatabaseServer
- 紅米3S和魅藍note3區別對比評測
- 魅藍note3與樂視2對比評測
- 紅米3S/紅米Note 3/紅米3標準版及高配版對比評測
- 紅米3s和魅藍note3配置區別對比評測
- OPPO K3和紅米Note7 Pro區別對比評測,紅米Note7Pro和OPPO K3哪個好?
- Master Note of Linux OS Requirements for Database Server (Doc ID 851598.1)ASTLinuxUIREMDatabaseServer
- Mac最好用的電子閱讀神器——MarginNote 3 for MacMac
- 大神Note3高配版評測 3GB RAM還賣899元
- 魅藍3S與魅藍note3詳細區別對比評測
- mysql noteMySql
- css noteCSS
- 小米Note3抬起喚醒人臉識別解鎖教程
- 魅藍Note3和紅米4區別對比評測
- 破解實錄(四)之 NoteTab Pro Trial 4.81 (3千字)
- 小米5/小米Max/紅米Note3區別對比評測
- [FabNotes10] 第五週:3D 掃描和列印3D
- 【Coursera GenAI with LLM】 Week 3 Reinforcement Learning from Human Feedback Class NotesAI
- Notes for Linux Administration Handbook (1) : Booting and Shutting DownLinuxboot