Czwarte_21

 0    21 fiche    michalesq
skriva ut spela Kontrollera dig själv
 
Fråga - Svar -
How to navigate right in vim/vi
börja lära sig
right arrow or L
How to navigate top in vim/vi
börja lära sig
top arrow or k
How to navigate down in vim/vi
börja lära sig
down arrow or j
How to in vi/vim copy entire line where the content is
börja lära sig
yy
How to in vi/vim paste previously copied content
börja lära sig
p
How to undo changes in vi/vim
börja lära sig
u
how to cut line in vi/vim
börja lära sig
dd
How to go to the bottom of the doc
börja lära sig
GG
How to go to the top of the doc
börja lära sig
1 + G
How to remove 21 lines at once?
börja lära sig
21dd
if you want to run linux command from VI
börja lära sig
:!<linux command>
Command to replace all 'words' in a document with different word
börja lära sig
%s/word_to_replace/word_I_want_to_replace/g
Two types of links to another file
börja lära sig
symlinks and hard links
how to create symlink
börja lära sig
ln -s /etc/motd motd
Can symlinks work across file systems
börja lära sig
yes
Can hardlinks work across file systems
börja lära sig
no
How to create hard link
börja lära sig
ln VNCHOWTO vnchowto
Symlink permissions - if user can edit file1, it does not mean it can edit file2.
börja lära sig
true
What is inode?
börja lära sig
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örja lära sig
yes
Hardlinks - will removal of one file in the hardlink will remove the second file in the same hardlink?
börja lära sig
No

Du måste vara inloggad för att skriva en kommentar.