All Exams Test series for 1 year @ ₹349 only
Question

In Linux operating system environment ________ command is used to print a file.

The correct answer is

lpr

The lpr command submits a file for printing, for example lpr document.txt. The pr command formats text for printing but does not itself submit the file to a printer.

Was this answer helpful?

Important Questions from File System

  1. Consider the following statements :

    (a) UNIX provides three types of permissions

    Read

    Write

    Execute

    (b) UNIX provides three sets of permissions

    permission for owner

    permission for group

    permission for others

    Which of the above statement/s is/are true ?

  2. Match the following WINDOWS system calls and UNIX system calls with reference to process control and File manipulation.

    Windows

    UNIX

    A. Create-process( )

    I. Open( )

    B. WaitForSingleObject( )

    II. Close( )

    C. CreateFile( )

    III. Fork( )

    D. CloseHandle( )

    IV. Wait( )

  3. What type of errors are not detected by assembler?

  4. To keep track of free blocks in a file system, one of the two approaches is generally used – using bitmaps (bit vectors) or using linked lists. Consider that the linked list approach is used to keep track of free blocks in a file system. Assume that the disk size is 16 GB, block size is 2 KB, and block numbers used are 32-bit long. A single pointer of size 4 bytes is used in each block of the list to point to the next block of the list. The number of blocks required to hold the free disk block numbers is ____________. (answer in integer)

    Note: 1K=$2^{10}$ and 1G=$2^{30}$
  5. What does Ctrl + = key effect in MS Word

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App