Your organization routinely uses scripts, but as some employees have left, there are scripts that contain only command lines and no one is certain of their purpose. What steps can be taken to ensure a way for others to know the purpose of a script?
C. Require that script writers place comment lines inside the scripts using the # symbol to begin each command line.
Which of the following shells enable the use of scripts? (Choose all that apply.)
A. Bash
B. csh
D. zsh
You frequently use the command ls-a and want to save time by just entering l to do the same thing. Which of the following commands enables you to set your system to view hidden files by only entering l?
D. alias l= "ls -a"
You have written a script, but when
…show more content…
(Choose all that apply.)
A. /
B. <
C. %
D. *
You have created a series of scripts that se the same environment variables. However, when you run these scripts, some of them do not seem to recognize the environment variables you have set. What is the problem?
A. You need to use the export command and so these variables have global use.
You have spent the last two hours creating a report in a file and afterwards you sue cat to create a new file. Unfortunately the new file name you sed was the same as the name you used for the report, and now your report is gone. What should you do next time to prevent this from happening?
B. Enter the command, set -o noclobber before you start
You have remotely logged into a computer running UNIX or Linux, but you are not certain about which operating system you are using. However, when you display the contents of the _____________ variable it shows which operating system you are using.
D. OSTYPE
What command can you use to view the environment and configuration variables already configured on your system?
C. printenv
Which of the following are valid expressions? (Choose all that apply.)
A. let x=5*9
B. let x=y+10
C. let m=12/4
D. let r=128-80
When you type for wood maple spruce oak pine in the command line and then press Enter, what should you typle next at the > prompt?
A. do
You want to store a long listing of your files in a variable called myfiles. Which of the
L 2. G 3. M 4. E 5. H 6.
Line 1) In this line, the code begins with the variable. A variable in small basic contains information, and stores it so that it can be used later on in the programme. The variable is called “FilePath” within this variable, the file with all the keywords is stored. This will allow the keywords to be accessed and used throughout the rest of the programme.
conditional is only run the once. The most common one is the “if” statement and
The Windows CLI command used to turn off the display of the current command in a batch file is _____.
3.) Default Windows Explorer libraries – contacts , desktop , downloads , dropbox , favorites , links , my music , my pictures , my videos , saved games , searches
3. The Graphical Processing Unit is a hardware component capable of quickly drawing items to the screen.
1. Gerald Mahoney’s attitude and performance dramatically changed after a few months on the job. What type of training should Mahoney have immediately received from John Timmson that might have avoided this?
Good file names can provide useful cues to the content and status of a file, can uniquely identify a file and can help in classifying files.
3. While you are typing a command, you misspell the name of a file you want to specify with the command. Which of the following
C. Humans only have a natural obligation to care for other humans in need. [From P4 and P5].
medieval woman, who never made her own decision and perceived as an object of the
If you wanted to produce a listing of the file contents by last name, area code, city, state, or zip code, how would you
3. (TCO 2) The symbols used to describe the logic of a program are known as _____.
Windows and Linux provide a GUI (Graphical User Interface) and a command line interface. The Windows GUI has changed dramatically from Windows 3.1 to Windows 95, slightly to Windows 2000, big change to Windows XP and is scheduled to change again with the new version of Windows recently named Vista. Themes is a feature in Windows which lets you customize to an extent the look of your GUI. Linux typically provides two GUIs, KDE and Gnome. Of the major distributions, Lindows has made their user interface resemble Windows a lot more than the others. Text mode interface is also known as a command interpreter. Windows users know this as DOS prompt. It is called a shell in Linux. Windows has a single command interpreter but the different types of Windows have different interpreters. Linux, just as all versions of UNIX, supports multiple command interpreters, but Linux usually uses one called BASH (Bourne Again Shell). A few other shells are the C shell, ash shell, and the bourne shell.