use your terminal of choice to navigate to the folder that contains your file then only specify your file’s name (no need for the full path) or, graphically,.specify the full directory path to your file when you type in your file’s name e.g /home/user/Documents/source.txt.Here are a few commands and usage examples to help you earn some free time to look busy while playing game emulators (just don’t tell your boss). Linux has some fantastic inbuilt scripts (commands) that facilitate the manipulation of large text files: from bulk data extraction and data replacement to mass data sorting, shuffling and deletion. Progress and evolution, onwards and upwards they are my mottoes. A trait that has put me out of really good jobs and embarrassed others at the same time: I’ve built spreadsheets and devised processes that convert week-long jobs into 2 hour, Monday morning tasks who needs an extra employee once he’s killed his job position :-? But that didn’t bother me. I like to get things done as quickly as possible. They were the Dark Years (o.k Weeks -) but I’m allowed ) to tell my tale my way and if I want to make people feel sorry for us lonely, depressed webmasters then I will. I even pseudo-shuffled lines of data by typing letters of the alphabet beside each data line then sorting them into groups of like letters (e.g all a’s together, all b’s together…). Doing so used to cut in half the time taken to edit my text files. I used to export and paste my text files into an Open Office spreadsheet then sort them before cutting and pasting. These tricks of mass manipulation of text files will turn your week long, heart-wrenching job into a 5 minute heart-lifting pleasure bordering on the orgasmic. If like me, you have to manipulate huge text files containing thousands of lines of data and you hate trawling through them manually, slowly, one-by-one, line-by-line then boy do I have a few tricks to teach you.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |