• Register
0 votes
22 views

Problem:

You are trying to debug a shell script called myscript and to aid you in this task you would like to have the output of the script be recorded in a text file. Which command would satisfy your requirements?

5 3 2
7,520 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

myscript >> testfile.txt

6 4 3
14,580 points

Related questions

0 votes
1 answer 3 views
3 views
Problem: I am stuck now .. need some suggestions .. please help me .. You are trying to debug a shell script called myscript
asked Apr 26 Ifra 37.2k points
0 votes
1 answer 3 views
3 views
Problem: This is based on another question of mine. I am trying to prevent executions of certain commands using a script. I got the script to work perfectly in interactive shells, but for noninteractive shells it doesn't prevent its execution
asked May 1 padma1 34.8k points
0 votes
1 answer 5 views
5 views
Problem: I am stuck during learning as I have already mentioned in my question someone please cooperate me to continue my project-Thanks
asked Mar 21 Samiur1 38.4k points
0 votes
1 answer 103 views
103 views
Problem: You must change ownership of a script called myscript so that only the user owner has read/write access to it and only the user owner and group owner have execute permissions. which of the following commands would accomplish this? a. chmod 771 myscript b. chmod 750 myscript c. chmod 755 myscript d. chmod 611 myscript
asked Mar 9, 2020 ArifulIslam 7.5k points
0 votes
1 answer 29 views
29 views
Problem: In linear​ programming, choices available to a decision maker are called?
asked Jul 23, 2020 sstones 830 points
0 votes
1 answer 232 views
232 views
Problem: Words that have a special meaning in a programming language are called?
asked Jul 21, 2020 HenryL 620 points
0 votes
1 answer 2 views
2 views
Problem: I have a pretty simple script that is something like the following: #!/bin/bash VAR1="$1" MOREF='sudo run command against $VAR1 | grep name | cut -c7-' echo $MOREF When I run this script from the command line and pass it the arguments, I am not getting ... the results of a command that needs to be run within a script, save it to a variable, and then output that variable on the screen?
asked May 2 ochena 23.3k points
0 votes
1 answer 7 views
7 views
Problem: I'm developing an Air app that uses an ANE to get the .obb files, everything works ok, however I'm getting (I think) an error, and I need to debug the app to see what's happening. However, I can't debug because I get that message the moment the ANE tries to unzip the .obb file. Any ideas what could be happening?
asked Apr 23 munim01 21k points
0 votes
1 answer 127 views
127 views
Problem: In linear programming, a solution that does not simultaneously satisfy all constraints is called an? A. illogical solution. B. intermediate solution. C. impossible solution. D. infeasible solution.
asked Apr 12, 2020 ArifulIslam 7.5k points
0 votes
2 answers 44 views
44 views
Problem: Each SCSI device attached to a system must be assigned an ID number. What is this ID number called?
asked Apr 6, 2020 ArifulIslam 7.5k points