Czwarte_21

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

Sie müssen eingeloggt sein, um einen Kommentar zu schreiben.