Question

In: Computer Science

1. At the command prompt, use the where command to locate the where.exe file. Copy and...

1. At the command prompt, use the where command to locate the where.exe file.

Copy and paste the full path and filename for the where.exe file into the space provided below.

2. At the command prompt, enter the following command and press enter.

  find "free beer" "c:\Program Files (x86)\Notepad++\*.txt"

This command searches for the string "free beer" in all .TXT files in the Notepad++ program folder.

According to the output of the find command, which of the files listed below contains the string "free beer"

A. LICENSE

B. CHANGE.LOG

C. beer.txt

D. readme.txt

Solutions

Expert Solution

1. At the command prompt, use the where command to locate the where.exe file.

Copy and paste the full path and filename for the where.exe file into the space provided below.

C:\Windows\System32\where.exe

You simly type the command : where where.exe and this will give you tuhe location of the file which is in C direcotry.

2. At the command prompt, enter the following command and press enter.

 find "free beer" "c:\Program Files (x86)\Notepad++\*.txt"
  • This command searches for the string "free beer" in all .TXT files in the Notepad++ program folder.

According to the output of the find command, which of the files listed below contains the string "free beer"

Answer: readme.txt

  • The command find "free beer " will find the phrase 'free beer' in the program files where notepad is located and once it finds the actualy text, it gives us the location of the file

Related Solutions

Open the Command Prompt window and use the nslookup command to identify the domain names that...
Open the Command Prompt window and use the nslookup command to identify the domain names that correspond to the following IP addresses: 161.170.244.20 205.251.242.103 144.160.155.43 Use the Command Prompt window and nslookup command to identify the IP addresses that correspond to the following domain names: walmart.com amazon.com att.com Close the Command Prompt window. Submit your findings.
Create a python program that will: prompt a user for a command Command get_data Level 1:...
Create a python program that will: prompt a user for a command Command get_data Level 1: Take one of the commands my_max my_min my_range my_sum mean median mode fib factorize prime Requirements: Your commands should be case-insensitive You should use python lists to store data You should NOT use built-in python math functions, or math libraries to compute these values Tips: Write one function that will convert a string with comma-separated numbers into a python list with the numbers. You...
At the command prompt, enter the following command and press enter. tasklist This command displays the...
At the command prompt, enter the following command and press enter. tasklist This command displays the currently running tasks (programs). You will see one specific program that appears over and over again in the list of running programs. This program is actually a wrapper program that runs computer instructions found in .DLL files. Based on the output of the command, which of the following programs is the wrapper program? A. lsass.exe B. winlogon.exe C. svchost.exe D. cmd.exe
Linux Ubuntu 1. Use the appropriate commands to locate the device file used by the device,...
Linux Ubuntu 1. Use the appropriate commands to locate the device file used by the device, mount the filesystem to a directory of your choice, and check the filesystem for errors. 2. Finally, add a line to /etc/fstab to ensure that the filesystem can be easily mounted in the future (this line should not automount the filesystem at boot time). You have to document all your steps and provide the screenshot of your work process.
Please analyze and explain the most common use Windows command prompt and how to issue the...
Please analyze and explain the most common use Windows command prompt and how to issue the command-line commands in a paragraph or two.
Use Linux fedora At the command prompt, type route and press Enter. What entries are listed?...
Use Linux fedora At the command prompt, type route and press Enter. What entries are listed? What does each entry represent? What IPv4 address is listed as your default gateway? At the command prompt, type ip route add 1.0.0.0/8 via gwIP and press Enter, where gwIP is the IPv4 address of your default gateway. At the command prompt, type route and press Enter. Is the route added in Step 3 visi- ble? Will this route interfere with traffic that is...
what does activate.bat mean when working with python in the command prompt or the anaconda prompt...
what does activate.bat mean when working with python in the command prompt or the anaconda prompt (please be detailed)
USE BASIC PYTHON Focus on Basic file operations, exception handling. Save a copy of the file...
USE BASIC PYTHON Focus on Basic file operations, exception handling. Save a copy of the file module6data.txt (Below) Write a program that will a. Open the file module6data.txt b. Create a second file named processed. txt c. Read the numbers from the first file one at a time. For each number write into second file, if possible, its I. Square ii. Square root iii. Reciprocal (1/number)use a math module function for the square root. use exception handling to trap possible...
1. Locate a root of sin(x)=x2 where x is in radians. Use a graphical technique and...
1. Locate a root of sin(x)=x2 where x is in radians. Use a graphical technique and bisection with the initial interval from 0.5 to 1. Perform the computation until ea is less than es=2%. Also perform an error check by substituting your final answer into the original equation. 2. Determine the positive real root of ln(x 2 )=0.7 using three iterations of the bisection method, with initial interval of [0.5:2]. 3. Determine the lowest positive root of f(x)=7sin(x)e -x -1...
Lab 1. Java and the Command Prompt a) Visit the Java SE JDK website and see...
Lab 1. Java and the Command Prompt a) Visit the Java SE JDK website and see which version of Java you need to download. b) If granted permissions, try to see how to modify environment variables (PATH and CLASSPATH). c) Open the command prompt/shell. Use cd and dir (ls on UNIX-like systems) commands to navigate your file system and see what files do you have in different locations e.g. on your flash drive. Pay attention to the file extensions. d)...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT