logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • The field separator in cut command is specified with


  • Options
  • A. -a option
  • B. -d option
  • C. -r option
  • D. -x option
  • E. None of the above

  • Correct Answer
  • -d option 


  • Unix problems


    Search Results


    • 1. Which command is used to extract specific columns from the file?

    • Options
    • A. cat
    • B. cut
    • C. grep
    • D. paste
    • E. None of the above
    • Discuss
    • 2. Which command is used to count just the number of characters in a file?

    • Options
    • A. wc - 1
    • B. wc -c
    • C. wc -w
    • D. wc -r
    • E. None of the above
    • Discuss
    • 3. Which of the following command addresses all users who are currently hooked on?

    • Options
    • A. write
    • B. mail
    • C. wall
    • D. mesg
    • E. None of the above
    • Discuss
    • 4. Which option will be used with touch command to change the access time?

    • Options
    • A. -a
    • B. -b
    • C. -t
    • D. -h
    • E. None of the above
    • Discuss
    • 5. Which of the following commands is used to update access and modification times of a file?

    • Options
    • A. grep
    • B. wc
    • C. touch
    • D. cat
    • E. None of the above
    • Discuss
    • 6. Which command sends the word count of the file infile to the newfile.

    • Options
    • A. wc infile >newfile
    • B. wc <infile >newfile
    • C. wc infile - newfile
    • D. wc infile | newfile
    • E. None of the above
    • Discuss
    • 7. Which option is used with rm command to make the command prompt the user with each filename and a?, before acting on it

    • Options
    • A. -r
    • B. -x
    • C. -i
    • D. -1
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to list contents of directories?

    • Options
    • A. ls
    • B. lp
    • C. dir
    • D. tar
    • E. None of the above
    • Discuss
    • 9. Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?

    • Options
    • A. -m.n
    • B. +m.n
    • C. + n.m+1
    • D. +(m+l).n
    • E. None of the above
    • Discuss
    • 10. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

    • Options
    • A. cat emp[!0-9]
    • B. more [emp][!0-9]
    • C. cat emp[x-z]
    • D. cat emp[a-z]
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment