Czwarte_21

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

Ak chcete pridať komentár, musíte byť prihlásený.