
Giữa Kỳ Nhập Môn Hệ Điều Hành
Authored by Phan Phước
Information Technology (IT)
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến mặc định nào chứa tên của script hiện tại đang được thực thi?
$SCRIPT
$BASH
$SHELL
$0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến nào chứa các tham số được truyền vào script?
$ALL
$1, $2, $3
$PARAMS
$ARGS
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến nào lưu trữ mã thoát của lệnh cuối cùng được thực hiện?
$0
$RESULT
$EXIT
$?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào được sử dụng để đọc đầu vào từ người dùng trong shell script?
get
read
input
scan
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào dùng để kiểm tra điều kiện trong câu lệnh if?
if condition; then
if [ condition ]; then
if (condition); then
if { condition }; then
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào dùng để tạo biến trong shell script?
variable = value
var value
variable=value
variable: value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dòng khai báo nào đúng để bắt đầu một shell script?
#!/bin/sh
#bin/bash
#/bin/bash
#!/bin/bash
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?