Linux

Create an illustration of a computer screen displaying Linux command line interface with abstract graphics representing code and technology.

Master Linux Knowledge Quiz

Test your understanding of Linux fundamentals with our engaging quiz! Whether you are a beginner or an experienced user, this quiz will challenge your knowledge and help you learn more about the Linux operating system.

Get ready to:

  • Learn key concepts
  • Enhance your command line skills
  • Understand system architecture
10 Questions2 MinutesCreated by CodingGuru342
1. To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
A) Pooling
B) Spooling
C) Buffer cache
D) Swapping
2. Which expression use the value of the enclosed arithmetic expression?
A) $(())
B) $()
C) ${}
D) $[]
3. For the system having one processor, the processor identifying number in the file /proc/cpuinfo is
A) 0
B) 1
C) 2
D) 3
4. What is /bin/sh ?
A) bourne shell
B) hard or symbolic link to the real shell command
C) bash shell
D) both bash shell and bourne shell
5. ILP32 stands for
A) 32 bit Integer, Long & Pointer
B) 32 bit Integrated Long & Pointer
C) 32 bit Intelligent Long & Pointer
D) 32 bit Long & Pointer

6. After running this program, as your press 4, what will be the output of the program?

  1.    #!/bin/bash
  2.    echo "How many times you want to print 'Sanfoundry'"
  3.    read value
  4.    for ((i=0;i<$value;i++))
  5.    do
  6.    echo "Sanfoundry";
  7.    done
  8.    exit 0
A) ‘Sanfoudry’ will print 4 times
B) ‘Sanfoudry’ will print 3 times
C) ‘Sanfoudry’ will print 5 times
D) Program will generate an error message
7. A user executes the following command successfully:
$ chmod +x file1.txt
 
Which of the following is true of the output of this command?
A) The command results in adding execute permission to the user who ran this command
B) The command results in adding execute permission for the owner of the file
C) The command results in an error since the file is not an executable file
D) The command results in adding execute permission for all users (i.e., user,group & others)

8. What is the output of this program?

  1.    #!/bin/bash
  2.    a=10
  3.    b=$(( $a<0?10:$a<100 ))
  4.    echo $b
  5.    exit 0
A) 10
B) 20
C) 1
D) 0
9. What is /proc/self ?
A) a directory
B) link to the currently running process
C) it allows a process to look itself without having to know its process ID
D) all of the mentioned
10. Any file or directory present in the ______ directory may not be reserved between the invocation of the program.
A) /var
B) /tmp
C) /etc
D) all of the mentioned
{"name":"Linux", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your understanding of Linux fundamentals with our engaging quiz! Whether you are a beginner or an experienced user, this quiz will challenge your knowledge and help you learn more about the Linux operating system.Get ready to:Learn key conceptsEnhance your command line skillsUnderstand system architecture","img":"https:/images/course1.png"}
Powered by: Quiz Maker