All of us know that the tail command is used for getting the last lines of the file in unix. But the same command can allso be used for monitoring the log files actively, say for example if you want to monitor a log file which is being updated by a process then you can […]
Category: Unix
Removing First Few Lines From Text File – Unix
For removing the first lines from file use this command, tail +(n+1) where ‘n’ is the number of lines you want to remove,If you want to remove first 3 lines then use, more filename.txt | tail +4