Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción
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.