how to replace a line in the file without using any text editor?
suppose the content of a file is: tiger fedora ubuntu redhat
and i want to replace ubuntu -> basic
and the content of file make is tiger fedora basic redhat
Not really a Fedora related question really - it's been asked thousands of times on the internet too :) Generally a good idea to first use Google and post only if you don't find the answer - it's good for you - it sharpens your Google-fu and you learn a lot more :D