Assume you have a file called 'stuff.dat'. What command(s) would you use to remove all duplicate lines
Fantastic news! We've Found the answer you've been seeking!
Question:
- Assume you have a file called 'stuff.dat'. What command(s) would you use to remove all duplicate lines from the file?
- You have a Windows formated file called 'notes.txt'. In Windows, newlines are marked with both (linefeed, LF) and (carriage return, CR), while in Unix/Linux/Mac OS X newlines are marked with just (and in older Mac OS versions, newlines are marked with just ). Give the tr command to remove all the characters from the file 'notes.txt'.
- Give the tr command to replace all tabs in a file called 'stuff.dat' with spaces.
Related Book For
Managerial Accounting An Integrative Approach
ISBN: 9780999500491
2nd Edition
Authors: C J Mcnair Connoly, Kenneth Merchant
Posted Date: