Czwarte_21

 0    21 flashcards    michalesq
In chơi tự kiểm tra
 
câu hỏi - câu trả lời -
How to navigate right in vim/vi
bắt đầu học
right arrow or L
How to navigate top in vim/vi
bắt đầu học
top arrow or k
How to navigate down in vim/vi
bắt đầu học
down arrow or j
How to in vi/vim copy entire line where the content is
bắt đầu học
yy
How to in vi/vim paste previously copied content
bắt đầu học
p
How to undo changes in vi/vim
bắt đầu học
u
how to cut line in vi/vim
bắt đầu học
dd
How to go to the bottom of the doc
bắt đầu học
GG
How to go to the top of the doc
bắt đầu học
1 + G
How to remove 21 lines at once?
bắt đầu học
21dd
if you want to run linux command from VI
bắt đầu học
:!<linux command>
Command to replace all 'words' in a document with different word
bắt đầu học
%s/word_to_replace/word_I_want_to_replace/g
Two types of links to another file
bắt đầu học
symlinks and hard links
how to create symlink
bắt đầu học
ln -s /etc/motd motd
Can symlinks work across file systems
bắt đầu học
yes
Can hardlinks work across file systems
bắt đầu học
no
How to create hard link
bắt đầu học
ln VNCHOWTO vnchowto
Symlink permissions - if user can edit file1, it does not mean it can edit file2.
bắt đầu học
true
What is inode?
bắt đầu học
An inode is an entry in inode table, containing information (the metadata) about a regular file and directory
Hardlinks - does permission change on one file change rights on the other?
bắt đầu học
yes
Hardlinks - will removal of one file in the hardlink will remove the second file in the same hardlink?
bắt đầu học
No

Bạn phải đăng nhập để đăng bình luận.