tail command : we can pass the parameter .you want to how much line in retrieves data from file .
Syntax : tail -n /var/log/messages
Display last 6 line in file :
ex : tail -n 6 /var/log/messages
ex: tail -n 6 auth.log
How to Creating, Removing, Copying, Moving files & Directories in Linux Using cat command: [root@dev ~]# cat > filename1 This is ...
No comments:
Post a Comment