Which Linux command is used to create an alias for a command? MCQ with Answer and Explanation

Which Linux command is used to create an alias for a command?
A. export
B. alias
C. ln
D. set
Answer: Option B
Solution (By JKSSB Mock Tests)
alias creates a shortcut for a command or series of commands.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which Windows command is used to manage disk partitions from the command line?
A. parted
B. format
C. fdisk
D. diskpart

Correct Answer: Option D


Explanation:
diskpart is the Windows command-line utility for partition management; fdisk and parted are for Linux.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the 'Nslookup' command is used for:
A. Displaying network statistics
B. Testing network connectivity
C. Tracing network routes
D. Querying DNS servers to resolve domain names

Correct Answer: Option D


Explanation:
nslookup is a tool for DNS resolution and troubleshooting DNS records.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a multitasking operating system?
A. Windows 10
B. CP/M
C. MS-DOS
D. FreeDOS

Correct Answer: Option A


Explanation:
Windows 10 supports multitasking, allowing multiple applications to run concurrently; MS-DOS was single-tasking.

This question belongs to: Computer Operating Systems