Coada și capul de comandă în linux

Exemple de cod

0
0

N

tail -f file # Opens file at the end
head file  # Outputs file start
# Ctrl + "C" to exit
tail -n 10 file # Outputs in terminal last 10 file lines
head -n 10 file # Outputs in terminal first 10 file lines
tail -n +10 file # Outputs file content since 10th line

Pagini similare

Pagini similare cu exemple

În alte limbi

Această pagină este în alte limbi

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................