Preview

lolz

Satisfactory Essays
Open Document
Open Document
480 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
lolz
A. Why I am getting this error when I assign like this ? (1/2)
$ FIRST-NAME=tom ksh: FIRST-NAME=tom: not found.
Ans:
2B. Under ksh or bash shell environments, what is the problem here ? (1/2)
$ export PATH=/usr/bin /usr/local/bin /usr/ucb/bin
Ans:

A. Why I am getting this error when I assign like this ? (1/2)
$ FIRST-NAME=tom ksh: FIRST-NAME=tom: not found.
Ans:
2B. Under ksh or bash shell environments, what is the problem here ? (1/2)
$ export PATH=/usr/bin /usr/local/bin /usr/ucb/bin
Ans:

3. Executing cp temp/temp1 temp1.txt it will result in... (1/2)

A. Error since the same filename is used
B. Error since an extension is used for the second temp1
C. It will move the contents of temp1 from directory temp to temp1 of current directory and when finished it will erase the contents of temp1 of temp directory
D. It will copy temp1 from directory temp to temp1.txt of current directory

Ans : 4. What files will be matched by the following when you list by ls command: (3)

A. ls [0-9][0-9[a-z][A-Z]

Ans:
B. ls [A-Za-z_][A-Za-z_0-9]

Ans:
C. ls [0-9]Z[0-9]

Ans:

5. What is the command to list files in a directory : (2)

A. Having only three alphabets:

Ans:
B. Starting with a digit and ending with a digit

Ans: 6. There are many C programs in my directory which have an extension of .c (ex : first.c, second.c etc).
How can I concatenate all C files into one file called "myC_files (1)

Ans :

7. How do you sort first 15 lines in a file called 'datafile" ? (1)
Ans:

8. How do you add a line to the end of an existing file "myfile" with date stamp. (1)
Ans : 3. Executing cp temp/temp1 temp1.txt it will result in... (1/2)

A. Error since the same filename is used
B. Error since an extension is used for the second temp1
C. It will move the contents of temp1 from directory temp to temp1 of current directory and when finished it will erase the

You May Also Find These Documents Helpful

Related Topics