Czwarte_21

 0    21 speciālā zīme    michalesq
Drukāt spēlēt pārbaudiet sevi
 
jautājums - atbilde -
How to navigate right in vim/vi
sākt mācīties
right arrow or L
How to navigate top in vim/vi
sākt mācīties
top arrow or k
How to navigate down in vim/vi
sākt mācīties
down arrow or j
How to in vi/vim copy entire line where the content is
sākt mācīties
yy
How to in vi/vim paste previously copied content
sākt mācīties
p
How to undo changes in vi/vim
sākt mācīties
u
how to cut line in vi/vim
sākt mācīties
dd
How to go to the bottom of the doc
sākt mācīties
GG
How to go to the top of the doc
sākt mācīties
1 + G
How to remove 21 lines at once?
sākt mācīties
21dd
if you want to run linux command from VI
sākt mācīties
:!<linux command>
Command to replace all 'words' in a document with different word
sākt mācīties
%s/word_to_replace/word_I_want_to_replace/g
Two types of links to another file
sākt mācīties
symlinks and hard links
how to create symlink
sākt mācīties
ln -s /etc/motd motd
Can symlinks work across file systems
sākt mācīties
yes
Can hardlinks work across file systems
sākt mācīties
no
How to create hard link
sākt mācīties
ln VNCHOWTO vnchowto
Symlink permissions - if user can edit file1, it does not mean it can edit file2.
sākt mācīties
true
What is inode?
sākt mācīties
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?
sākt mācīties
yes
Hardlinks - will removal of one file in the hardlink will remove the second file in the same hardlink?
sākt mācīties
No

Lai ievietotu komentāru, jums jāpiesakās.