This website requires JavaScript.
Explore
Help
Register
Sign In
fengyuhetao
/
shell
mirror of
https://github.com/fengyuhetao/shell.git
Watch
1
Star
0
Fork
You've already forked shell
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fa7d1b4ece
shell
/
sed进阶
/
输出末尾指定行数的数据.sh
11 lines
86 B
Bash
Raw
Blame
History
#!/bin/bash
#输出末尾10行数据
sed
'{
:start
$q
N
11,$D
b start
}'
/etc/passwd
Reference in New Issue
View Git Blame
Copy Permalink