ระบบลินุกซ์ตบเอาบรรทัดอยู่ในแฟ้มหลังจากเส้นตรงกับ

รหัสตัวอย่าง

1
0

ตบวิธีที่จะพิมพ์หลังจากบรรทัดนตรงกับเส้น

# Basic syntax:
grep -A number word_to_match input_file
# This prints "number" number of lines after and including the first
# line that matches word_to_match in the input_file

# Note, the word_to_match can be any expression that grep uses for 
# 	identifying matches (e.g. including combinations of AND and OR, etc) 
0
0

grep หลังจากทุกบรรทัดแรกตรงกัน

For grepping all lines from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' file

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

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