Cài đặt Steam
Đăng nhập
|
Ngôn ngữ
简体中文 (Hán giản thể)
繁體中文 (Hán phồn thể)
日本語 (Nhật)
한국어 (Hàn Quốc)
ไทย (Thái)
Български (Bungari)
Čeština (CH Séc)
Dansk (Đan Mạch)
Deutsch (Đức)
English (Anh)
Español - España (Tây Ban Nha - TBN)
Español - Latinoamérica (Tây Ban Nha cho Mỹ Latin)
Ελληνικά (Hy Lạp)
Français (Pháp)
Italiano (Ý)
Bahasa Indonesia (tiếng Indonesia)
Magyar (Hungary)
Nederlands (Hà Lan)
Norsk (Na Uy)
Polski (Ba Lan)
Português (Tiếng Bồ Đào Nha - BĐN)
Português - Brasil (Bồ Đào Nha - Brazil)
Română (Rumani)
Русский (Nga)
Suomi (Phần Lan)
Svenska (Thụy Điển)
Türkçe (Thổ Nhĩ Kỳ)
Українська (Ukraine)
Báo cáo lỗi dịch thuật
Enter the following script into vi, calling it scriptFinal.
#!/bin/bash
for file in $@; do
if [[ -r $file && -w $file && -x $file ]]
then count=$((count+1))
fi
done
echo Of the $# files entered, $count were r/w/x
Run the script to make sure it works. Modify the script in three ways:
1. output an error message if no parameters are supplied
2. rather than counting the number of files, find out total number of files that have
read permission for the group and execute permission for others
3. output a message ‘the directory is not permissible to list’ if the directory you
are trying to list does not have a read permission (5 pts Bonus)
Question 2: Total Point (20)
Define Process and Service. What is the difference between process and service? How
can you change the priority of a process? Mention the restrictions that a regular user has
while updating a process priority.