How would you replace the n character in a file with some
xyz?
Answer Posted / tony
cat filename | sed 's/n/xyz/g' > newfile
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you pass and access arguments to a script in linux?
How do you create a shortcut in linux?
What is $1 in shell scripting?
What will happen to my current process when I execute a command using exec?
Why is it called a shell?
What is the use of "$?" Sign in shell script?
What is the significance of the shebang line in shell scripting?
What is difference between bash and shell?
What is the difference between scripting and coding?
Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.
How do you find out What is your shell?
Write a script to print the first 10 elements of fibonacci series.
How do I start a shell script?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What is the first line in every perl script called?