Czwarte_21

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

Du må logge inn for å legge inn en kommentar.