have a text file with exact duplicates of lines. I need to remove all those duplicates lines and preserves the order too on Linux or Unix-like system. How do I delete duplicate lines from a text file?
know how to send WOL command using Linux
or FreeBSD wake command
. But, how do I send Wake on LAN (WOL) frames to hosts on a local Ethernet network using Apple OS X Unix operating systems to wake up my servers or nas devices?
have a text file as follows:
How can I delete all leading and/or trailing blank spaces, tab from each line using sed command?
am a new Linux user. I have text files with lots of empty lines. How do I delete all empty lines under Linux or Unix operating systems?
know how to display line numbers using vim text editor
. How do display line numbers in the left side for any text file under Unix or Linux operating systems?
need to replace special characters with equivalent hexadecimal unicode under Linux or Unix like operating system. How do I list or find out unicodes for given characters?
How do I reverse lines of a file or files under Linux or Unix like operating systems?