This website requires JavaScript.
Explore
Help
Sign In
theluyuan
/
linux-tutorial
Watch
1
Star
0
Fork
0
You've already forked linux-tutorial
mirror of
https://github.com/dunwu/linux-tutorial.git
synced
2024-04-15 19:55:24 +08:00
Code
Issues
Projects
Releases
Wiki
Activity
0c58f678fe
linux-tutorial
/
codes
/
shell
/
示例脚本
/
查找替换文本
/
sed
/
输出末尾指定行数的数据.sh
12 lines
87 B
Bash
Raw
Normal View
History
Unescape
Escape
添加脚本
2019-05-10 11:17:57 +08:00
#!/bin/bash
format codes
2019-10-10 08:56:31 +08:00
添加脚本
2019-05-10 11:17:57 +08:00
#输出末尾10行数据
sed
'
{
:start
$q
N
11,
$D
b start
}
'
/etc/passwd
Reference in New Issue
Copy Permalink