Which of the following commands is used to list contents of directories?
A. ls
B. lp
C. dir
D. tar
E. None of the above

1 Answer

Answer :

A. ls

Related questions

Description : Which of the following commands is used to display the directory attributes rather than its contents? A. ls -l -d B. ls -l C. ls -x D. ls -F E. None of the above

Last Answer : A. ls -l -d

Description : Which switch should be used in the DIR command to view files in all directories ? 1) /P 2) /W 3) /S 4) /L

Last Answer : 3) /S

Description : Which switch should be used in the DIR command to view files in all directories ? 1 /P 2 /W 3 /S 4 /L

Last Answer : 3 /S

Description : Which of the following information about the UNIX file system is not correct? (A) Super block contains the number of i-nodes, the number of disk blocks, and the start of the list of free disk blocks. (B ... Each i-node is 256-bytes long. (D) All the files and directories are stored in data blocks. 

Last Answer : (C) Each i-node is 256-bytes long.

Description : Which of the following commands displays names of files in sorted order? 1) DIR/N 2) DIR/SO 3) DIR/AN 4) DIR/AH

Last Answer : 3) DIR/AN

Description : Which of the following commands displays names of files in sorted order? 1 DIR/N 2 DIR/SO 3 DIR/AN 4 DIR/AH

Last Answer : 3 DIR/AN

Description : . Which attack is an HTTP attack which allows attackers to access restricted directories and execute commands outside the web servers root directory? a. XSS attack b. Path Traversal attack c. MITM attack d. SQL Injection attack

Last Answer : d. SQL Injection attack

Description : Write the output for the following commands: (i) ls –a (ii) date “+%D”

Last Answer : i) ls –a : list all files including hidden files. These are files that start with “.”. ii) date “+%D” : Display date as mm/dd/yy. output: 11/26/19

Description : Which of the following statements is not true about disk-arm scheduling algorithms ? (A) SSTF (shortest seek time first) algorithm increases performance of FCFS. (B) The number of requests for disk ... arm movements. (D) SCAN and C-SCAN algorithms are less likely to have a starvation problem.

Last Answer : (B) The number of requests for disk service are not influenced by file allocation method.

Description : What is the output when following code is executed ? names1 = ['Amir', 'Bear', 'Charlton', 'Daman'] names2 = names1 names3 = names1[:] names2[0] = 'Alice' names3[1] = 'Bob' sum = 0 for ls in (names1, names2, names3): ... if ls[1] == 'Bob': sum += 10 print sum a) 11 b) 12 c) 21 d) 22

Last Answer : d) 22

Description : Which of the following commands will create a list? a) list1 = list() b) list1 = []. c) list1 = list([1, 2, 3]) d) all of the mentioned

Last Answer : d) all of the mentioned

Description : Which of the following statement is not correct with reference to cron daemon in UNIX O.S? (A) The cron daemon is the standard tool for running commands on a predetermined schedule. (B) It starts ... command lines and the times at which they invoked. (D) Crontab for individual users are not stored.

Last Answer : (D) Crontab for individual users are not stored.

Description : With suitable example, explain CpiO and tar commands. 

Last Answer : cpio: The cpio command is one of standard Unix backup utilities. It stands for "copy in/out." It is much less well known and more rarely used Unix utility in comparison with tar. ... command creates the file archive test.tar from the two uncompressed files test1 and test2. 

Description : Which of the following commands is used to update access and modification times of a file? A. grep B. wc C. touch D. cat E. None of the above

Last Answer : C. touch

Description : Write the general formats for file opening and file closing commands?

Last Answer : Ans: For Opening:- fp=fopen(“filename” , “mode”); where ‘fp’ refers to the file pointer. ‘filename’ refers to the name of the file to be opened. ‘mode’ refers to the mode of accessing data. For Closing:- fclose(fp); where fp denotes the file pointer.

Description : Which of the following commands would return process_id of sleep command? (A) Sleep 1 and echo $? (B) Sleep 1 and echo $# (C) Sleep 1 and echo $x (D) Sleep 1 and echo $!

Last Answer : (D) Sleep 1 and echo $!

Description : GO BOTTOM and SKIP-3 commands are given one after another in a database file of 30 records. It shifts the control to (A) 28th record (B) 27th record (C) 3rd record (D) 4th record

Last Answer : (B) 27th record

Description : Consider the following two commands C1 and C2 on the relation R from an SQL database:  C1: drop table R; C2: delete from R; Which of the following statements is TRUE? I. Both C1 and C2 delete the schema for R. II. C2 ... R. (A) I only (B) I and II only (C) II and III only (D) I, II and III

Last Answer : (C) II and III only

Description : A segment is any object described by GKS commands and data that start with CREATE SEGMENT and Terminates with CLOSE SEGMENT command. What functions can be performed on these segments? (1) Translation ... 2) Panning and Zooming (3) Scaling and Shearing (4) Translation, Rotation, Panning and Zooming

Last Answer : Translation, Rotation, Panning and Zooming

Description : Which command is used to display a file contents in octal form? A. cd B. od C. of D. oct E. None of the above

Last Answer : B. od

Description : The Unix command: $ vi file1 file2 (A) Edits file1 and stores the contents of file1 in file2 (B) Both files i.e. file1 and file2 can be edited using ex' command to travel between files (C) Both ... using the mv' command to move between the files (D) Edits file1 first, saves it and the edits file2

Last Answer : (B) Both files i.e. file1 and file2 can be edited using ‘ex’ command to travel between files

Description : Write Unix command for following: i)create a folder OSY ii) create a file FIRST in OSY folder iii) List/display all files and directories. iv) Write command to clear the screen

Last Answer : i) create a folder OSY: $mkdir OSY ii)create a file FIRST in OSY folder: $cd OSY $cat>FIRST or $ touch FIRST iii) List/display all files and directories: $ls iv) to clear screen: $clear

Description : Debugger is a program that (A) allows to examine and modify the contents of registers (B) does not allow execution of a segment of program (C) allows to set breakpoints, execute a segment of program and display contents of register (D) All of the above

Last Answer : (C) allows to set breakpoints, execute a segment of program and display contents of register

Description : In Unix, the login prompt can be changed by changing the contents of the file ............... (A) contrab (B) init (C) gettydefs (D) inittab

Last Answer : Answer: C

Description : The ............... addressing mode is similar to register indirect addressing mode, except that an offset is added to the contents of the register. The offset and register are specified in the instruction. (A) Base indexed (B) Base indexed plus displacement (C) Indexed (D) Displacement

Last Answer : (D) Displacement

Description : The contents of Register (BL) and Register (AL) of 8085 microprocessor are 49H and 3AH respectively. The contents of AL, the status of carry flag (CF) and sign flag (SF) after executing 'SUB AL, BL' assembly language instruction, are ( ... ; CF=0; SF=0 (3) AL=F1H; CF=1; SF=1 (4) AL=1FH; CF=1; SF=1

Last Answer : Answer: 3

Description : Data (information) is stored in computer as ________: a) Directories b) Files c) Floppies d) Matter e) None of The Above

Last Answer : b) Files

Description : How would you cope? You just spent $100K defending your estate from California's DIR and you lost.

Last Answer : It’s called get the F out of California. Seriously the state can’t keep doing things like this and expect anyone with any sense to stay. I’m sorry they are stealing from you

Description : Why can't I get online w/ Ubuntu and D-Link DIR-655 router?

Last Answer : You don’t want WPA Enterprise, you want WPA Personal. The password it’s asking for is the same as the key. The two are used interchangeably in this case.

Description : D-link dir-280 status light not on... why?

Last Answer : answer:Is anything lighting up on the router? I not, yes dead Or maybe the transformer/wall-wart.

Last Answer : The full form of DIR - Defense of India Rules Esq- Esquire

Description : Assertion :- According to Hugo de Vries , it is mutation which causes speciation and hence called it saltation. Reason :- Mutations are random and dir

Last Answer : Assertion :- According to Hugo de Vries , it is mutation which causes speciation and hence called it ... . D. If both Assertion & Reason are false.

Description : Lowari Pass connects: A. Kaghan Valley with Chilas B. Kalam with Gilgit C. GoramChashma with Nooristan D. Dir with Chitral

Last Answer : ANSWER: D

Description : Lowari Pass connects: A. Kaghan Valley with Chilas B. Kalam with Gilgit C. GoramChashma with Nooristan 77 D. Dir with Chitral

Last Answer : ANSWER: D

Description : Kanishka ruled about AD 128-151, Buddhism flourished and thousands of monasteries and stupas were built in the Peshawar Plains and nearby: A. Swat B. Dir C. Kohistan 54 D. Chitral

Last Answer : ANSWER: A

Description : What MS-DOS command is used to create a subdirectory ? (1) DIR/MK (2) MKDIR (3) CHDIR (4) RMDIR

Last Answer : MKDIR

Description : Which one of the following is an MS-DOS external command ? (1) DIR (2) COPY (3) FORMAT (4) PROMPT 

Last Answer : FORMAT

Description : Where can you purchase Astoria city directories by R.L.Polk Co. Publishers?

Last Answer : Here is the link for the book or you can get it on CD or use the online version.

Description : Are telephone directories(books) becoming obsolete, just like home telephones?

Last Answer : I got a phone book delivered to me, and it went straight to the recycling bin lol. I have internet on my phone, I’ll use one in case the internet completely shuts down.

Description : Does archiving files and directories into ZIP or RAR enhance defragmentation?

Last Answer : No because writing and deleting files is what causes fragmentation. Especially writing such large files to an already fragmented disk. Just get Diskeeper and let it run in the background. It's a very ... have to do any tricks, or remember everything. My disks are never fragmented when I check them.

Description : Mac developers: any ideas of how to merge two directories?

Last Answer : Never mind. I made a silly mistake. opendiff foo/ bar/ -merge /bar totally works.

Description : Linux command to create nested directories (a directory inside a directory) -Web-Development

Last Answer : answer:

Description : Do link directories give you dofollow backlinks?

Last Answer : If you are paying a link directory to add links to your website to help your ranking they must add dofollow links. They can't have you pay for a nofollow link on your site. There are many sites that ... in the end, this is one of the best ways to get ranked higher in Google and other search engines.

Description : Electronic Information Directories?

Last Answer : As you consider all of the different child services that are available, one thing that you must think about is what types of directories will be the most helpful. These directories can ... comforting since discovering that your contact information is wrong during a crisis can be a nightmare.

Description : Updating writes to cache data andalsoto___ a. Directories b. Memory c. Registers d. Folders

Last Answer : a. Directories

Description : Data (information) is stored in computers as- 1) Files 2) Directories 3) Floppies 4) Matter

Last Answer : 1) Files

Description : Digital Forensics entails _____. A. Accessing the system's directories viewing mode and navigating through the various systems files and folders B. Undeleting and recovering lost ... identification, preservation, recovery, restoration and presentation of digital evidence from systems and devices

Last Answer : D. The identification, preservation, recovery, restoration and presentation of digital evidence from systems and devices

Description : Is the Roku 2 XD streaming player compatible with the Buffalo LS-WX2.0TL/R1 LinkStation Duo NAS drive's DLNA server?

Last Answer : answer:Anything that's DLNA certified should work with any Buffalo product, but I can't say for certain if Roku's are tested. Buffalo NAS devices are tested with Windows, OS X, PS 3, and XBox 360s and I've ... I'll ask today. If we don't, I'll suggest doing so just to see how far that gets.

Description : Why do people call Blunts, L's?

Last Answer : Why do you call an L a Blunt?

Description : In quadrilateral ABCD of the given figure, X and Y are points on diagonal AC such that AX = CY and BXDY ls a parallelogram. -Maths 9th

Last Answer : This answer was deleted by our moderators...