Small blog about system administration.

Something about line numbers in file

To print line # 26, enter:

# sed -n '26p' /etc/ssh/sshd_config

Use a text editor such as vi to edit the file, enter:
# vi +26 etc/ssh/sshd_config

No comments :

Post a Comment