Два на линукс.
1. create empty file and check the access time using ls command with proper option. update the access time to the current time. update access time to the beginning of the day.
2. create empty file testfile and directory testdir. try to remove both file and directory with one command. make sure that there will be error when directory will be removed and that removal of the file will result in text output. redirect successful deletion message to one file and error message to another file. repeat this actions but redirect both stdout and stderr channels to the same file.
139
355
Ответы на вопрос:
ответ:
a)
1) touch emptyfile
2) ls -g
3) cat emptyfile
4) touch -a -m -t 203710141103.24 emptyfile
b)
1) touch testfile
2) mkdir testdir
3) rm ./* 1> ./stdout.txt 2> ./stderr.txt
4) rm ./* & > ./stdouterr.txt
Ну, при нажатии ф1 в некоторых программах можно открыть файл справки, который в принципе находится на диске
Популярно: Информатика
-
leanir09.05.2021 08:32
-
aiym1923.09.2022 23:38
-
Tigeriza17.04.2023 08:04
-
dhdhhd5520.05.2022 15:08
-
АниАпельсинка12.06.2020 11:32
-
anjnazarova11.06.2022 09:45
-
denis112023.03.2022 02:37
-
полина212522.01.2021 10:18
-
Надя868611.06.2022 19:29
-
progonskaij03.03.2021 15:36