Czwarte_21

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

Musisz się zalogować, by móc napisać komentarz.