Operating System

354. In Unix, the command to enable execution permission for file 'myfile' by all is _____
Unix में file को सभी के लिए executable बनाने का command क्या है?
(UGC NET C.S. December-2015 (Paper-III))
A. chmod ugo+x myfile
B. chmod a+x myfile
C. chmod +x myfile
D. All of the above

Correct Answer: D

Explanation (EN): All commands grant execution permission to all users.

Explanation (HI): तीनों commands execution permission देने के लिए सही हैं।

355. What will be the output of the Unix command: rm chap0\\[1-3\\]
Unix command rm chap0\\[1-3\\] क्या करेगा?
(UGC NET C.S. December-2015 (Paper-III))
A. Remove file chap0[1-3]
B. Remove chap01, chap02, chap03
C. Remove escaped file
D. None

Correct Answer: A

Explanation (EN): Backslash escapes special characters, so exact filename is removed.

Explanation (HI): \\ का उपयोग special characters escape करने के लिए होता है।

356. In Unix operating system, special files are used to :
Unix में special files का उपयोग किसके लिए होता है?
(UGC NET C.S. December-2015 (Paper-III))
A. Buffer data
B. Map physical devices to file names
C. Store file names
D. Store user data

Correct Answer: B

Explanation (EN): Special files map physical devices to file names.

Explanation (HI): Special files devices को file names से map करते हैं।

357. Consider the following statements about UNIX permissions
Unix permissions statements
(UGC NET C.S. November-2017 (Paper-III))
A. Only A
B. Only B
C. Both A and B
D. None

Correct Answer: C

Explanation (EN): Unix uses read, write, execute permissions for owner, group, others.

Explanation (HI): Unix में rwx permissions owner, group और others के लिए होते हैं।

358. Match Windows and UNIX system calls
Matching question
(UGC NET C.S. November-2017 (Paper-III))
A. iii iv i ii
B. iv iii i ii
C. iv iii ii i
D. iii iv ii i

Correct Answer: B

Explanation (EN): Correct mapping as per answer key.

Explanation (HI): Answer key के अनुसार mapping सही है।

359. Which Unix command performs sorting June files by size?
June files sort करने वाला command कौन-सा है?
(UGC NET C.S. August-2016 (Paper-III))
A. ls -l |grep \June\" | sort +10n"""
B. ls -l |grep \June\" | sort +10r"""
C. ls -l |grep -v \June\" | sort +10n"""
D. ls -l |grep -n \June\" | sort +10x"""

Correct Answer: A

Explanation (EN): Correct pipeline filters June files and sorts numerically.

Explanation (HI): Command June files को filter कर numeric sort करता है।

360. Which statements are true regarding 'nice' command?
nice command के बारे में कौन-से statement सही हैं?
(UGC NET C.S. August-2016 (Paper-III))
A. I, II only
B. II, III only
C. I, II, III
D. I, III only

Correct Answer: C

Explanation (EN): nice sets process priority and takes command as argument.

Explanation (HI): nice command priority set करता है और command argument लेता है।

361. Arrange interrupt priority levels in Linux
Interrupt priority order
(UGC NET C.S. December-2023)
A. A B D C
B. A C B D
C. A C D B
D. D A C B

Correct Answer: B

Explanation (EN): Correct order is User < Kernel < Bottom half < Top half.

Explanation (HI): सही क्रम है User < Kernel < Bottom half < Top half।

362. In Linux, where is the user password stored?
Linux में password कहाँ store होता है?
(UGC NET C.S. December-2023)
A. /etc/passward
B. /root/passward
C. /etc/passwd
D. /root/passwd

Correct Answer: C

Explanation (EN): Passwords are stored in /etc/passwd (or shadow file in modern systems).

Explanation (HI): Passwords /etc/passwd में store होते हैं।

363. In Linux OS, which system call is passed flags to control sharing?
Linux में कौन-सा system call sharing control करता है?
(UGC NET C.S. December-2022)
A. fork()
B. clone()
C. pthread()
D. thread()

Correct Answer: B

Explanation (EN): clone() allows control over resource sharing.

Explanation (HI): clone() parent-child sharing control करता है।