unix interview questions -part 1


  1. to replace tybca with tybca with TYBCA in input file in.sh and write those lines to output file out.sh.
  2. sed -n 's/tybca/TYBCA/p' in.sh>>out.sh
  3. to display occurrences of 'bca' in file x1.
  4. grep -n 'bca' filename

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post