CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Computer Science
‣
Unix
Comments
Question
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
Correct Answer
-a
Unix problems
Search Results
1. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: touch
2. In vi editor, forward search is performed using the command.
Options
A. :pat
B. ?pat
C. /pat
D. All of the above
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: /pat
3. Which of the following commands is used to identify the type of file by context?
Options
A. ls
B. cat
C. file
D. more
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: file
4. Which of the following special shell variables is used to process number of the last background job?
Options
A. $!
B. $#
C. $0
D. $*
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: $!
5. The second set of the three permissions (r-) indicates that
Options
A. group has read permission only
B. other has read permission only
C. owner has read permission only
D. group has write permission only
E. None of the above
Show Answer
Scratch Pad
Discuss
Correct Answer: group has read permission only
6. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: wall
7. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: wc -c
8. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: cut
9. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: -d option
10. 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
Show Answer
Scratch Pad
Discuss
Correct Answer: wc infile >newfile
Comments
There are no comments.
Enter a new Comment
Save
More in Computer Science:
Artificial Intelligence
Automation System
Computer Fundamentals
Computer Hardware
Database Systems
Digital Computer Electronics
Disk Operating System (DOS)
Electronic Principles
Language Processors
Linux
Management Information Systems
Networking
Object Oriented Programming Using C++
Operating Systems Concepts
System Analysis and Design
Unix
Windows 2000 Server
Windows NT