Upload 3 files
Browse files
test.csv
CHANGED
@@ -1,436 +1,436 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
|
|
1 |
+
Text,Code
|
2 |
+
Display hidden files along with normal files,ls -a
|
3 |
+
Zip configuration.ini ignoring directory structure, zip -j presentation.pptx.zip configuration.ini
|
4 |
+
Ignore paths when extracting files from contract.pdf.zip, unzip -j contract.pdf.zip
|
5 |
+
Extract files from image.jpg.zip and change to documents_backup, unzip -C documents_backup image.jpg.zip
|
6 |
+
"Recursive copying is used to move music to documents_archive, maintaining attributes, and making a backup.", cp -r -p -b music documents_archive
|
7 |
+
"Extract executable.exe.zip, then update your files with the latest versions.", unzip -U executable.exe.zip
|
8 |
+
Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
|
9 |
+
"Display every file, even those that are hidden.",ls -a
|
10 |
+
Make a fresh archive with executable.exe.zip from executable.exe, zip -c executable.exe.zip executable.exe
|
11 |
+
Display document.docx with suppressed empty lines, cat -s document.docx
|
12 |
+
List the files in order of modification date.,ls -t
|
13 |
+
"Make a copy of presentation.pptx in images_backup, but before overwriting, get permission.", cp -i presentation.pptx images_backup
|
14 |
+
Make new archive photo.png.zip with audio.mp3, zip -c photo.png.zip audio.mp3
|
15 |
+
Freshen policy.pdf in spreadsheet.xlsx.zip, zip -f spreadsheet.xlsx.zip policy.pdf
|
16 |
+
Zip proposal.docx without any folder organization, zip -j configuration.ini.zip proposal.docx
|
17 |
+
"Sort all files that start with ""data"" backwards.",ls -r data*
|
18 |
+
Transfer document.docx to music_library while keeping all of its properties., cp -p document.docx music_library
|
19 |
+
Display database.sql with tabs as ^I, cat -T database.sql
|
20 |
+
"Create directory ""scripts"" and find files matching pattern ""*.exe"" in it.","mkdir scripts && find scripts -name ""**.exe*"""
|
21 |
+
Display the line ends for memo.txt, cat -E memo.txt
|
22 |
+
List each file on a single line.,ls -1
|
23 |
+
Look for block devices, find . -type b
|
24 |
+
"Generate directory ""documents"" and list contents of ""documents"".",mkdir documents && ls documents
|
25 |
+
"Recursive copying is used to move projects to scripts_backup, maintaining attributes, and making a backup.", cp -r -p -b projects scripts_backup
|
26 |
+
Put script.py in the designated directory. thinking about it as a file rather than a directory,mv -T script.py temp
|
27 |
+
Display video.mp4 with line endings, cat -E video.mp4
|
28 |
+
"Uncompress configuration.ini.zip, testing archive integrity only, verbose output, and listing files only to directory templates_backup",unzip -t -v -l -d templates_backup configuration.ini.zip
|
29 |
+
"Disentangle memo.txt.zip, preserving permissions, overwriting existing files, and listing files only to directory downloads_archive",unzip -K -o -l -d downloads_archive memo.txt.zip
|
30 |
+
"Release memo.txt.zip, extracting symbolic links and listing files only to directory videos_backup",unzip -l -d videos_backup memo.txt.zip
|
31 |
+
"Retrieve script.py.zip, overwriting existing files, and only extracting files matching pattern '*.jpg' to directory music_library",unzip -o -j -d music_library script.py.zip '*.jpg'
|
32 |
+
Extract files with verbose output from database.sql.zip, unzip -v database.sql.zip
|
33 |
+
Files will be shown sorted by size.,ls -S
|
34 |
+
File compression with gzip, find . -type f -execdir gzip {} \
|
35 |
+
Locate symbolic links, find . -type l
|
36 |
+
Clone report.pdf to reports_archive and prompt for permission to overwrite, cp -i report.pdf reports_archive
|
37 |
+
List files sorted by size and modification time with colored output,ls -SltG
|
38 |
+
Look for figurative connections., find . -type l
|
39 |
+
Check for updates and add proposal.docx to executable.exe.zip, zip -f executable.exe.zip proposal.docx
|
40 |
+
Extract files and overwrite existing files from document.docx.zip, unzip -o document.docx.zip
|
41 |
+
Generate a hard link of report.pdf in photos_backup, cp -l report.pdf photos_backup
|
42 |
+
Compress projects and its contents, zip -r projects projects
|
43 |
+
Zip memo.txt without directory structure, zip -j audio.mp3.zip memo.txt
|
44 |
+
"Archive files image.jpg, document.docx, photo.png into document.docx.zip, preserving paths",zip -r document.docx.zip image.jpg document.docx photo.png
|
45 |
+
"While maintaining its properties, copy contract.pdf to projects_backup and establish a hard link.", cp -p -l contract.pdf projects_backup
|
46 |
+
"Package files video.mp4, report.pdf, database.sql into image.jpg.zip, excluding '*.tmp' files",zip -x '*.tmp' -r image.jpg.zip video.mp4 report.pdf database.sql
|
47 |
+
"Compress files video.mp4, audio.mp3, policy.pdf into memo.txt.zip, quietly, preserving paths, including empty directories",zip -q -r0 memo.txt.zip video.mp4 audio.mp3 policy.pdf
|
48 |
+
Check for corruption with configuration.ini.zip., unzip -t configuration.ini.zip
|
49 |
+
"Without asking, make a backup, and force copy executable.exe to videos_backup while maintaining attributes", cp -f -p -b executable.exe videos_backup
|
50 |
+
"If the parent directories and the directories scripts, presentations, and reports don't already exist, create them with verbose output.",mkdir -p -v scripts && mkdir -p -v presentations && mkdir -p -v reports
|
51 |
+
"Package files executable.exe, document.docx, report.pdf into configuration.ini.zip, excluding '*.tmp' files, preserving paths",zip -x '*.tmp' -r configuration.ini.zip executable.exe document.docx report.pdf
|
52 |
+
"While extracting files, extract image.jpg.zip", unzip -q image.jpg.zip
|
53 |
+
"Display every file, even those that are hidden.",ls -a
|
54 |
+
Filter files in templates based on *.mp3 and move them to downloads_archive,"grep ""*.mp3"" templates/* | xargs -I {} mv {} downloads_archive"
|
55 |
+
Extract only newer files from spreadsheet.xlsx.zip, unzip -U spreadsheet.xlsx.zip
|
56 |
+
Enable colorized output,ls -G
|
57 |
+
Look for files with name policy.pdf, find . -name policy.pdf
|
58 |
+
Extract files silently from spreadsheet.xlsx.zip, unzip -q spreadsheet.xlsx.zip
|
59 |
+
Show hidden files and folders in a lengthy format with rich colours and details.,ls -alG
|
60 |
+
"Create directory ""scripts"" and find files matching pattern ""*.exe"" in it.","mkdir scripts && find scripts -name ""**.exe*"""
|
61 |
+
"Forcefully move presentation.pptx to photos, overwriting if necessary",mv -f presentation.pptx photos
|
62 |
+
Files from script.py.zip should be extracted into output., unzip -d output script.py.zip
|
63 |
+
Search for files with names containing 'image' and with read permissions for the group,"find . -type f -name ""*image*"" -perm /g=r"
|
64 |
+
Add and move executable.exe to report.pdf.zip, zip -m report.pdf.zip executable.exe
|
65 |
+
"List all the contents in a directory, including any hidden files.",ls -a
|
66 |
+
Provide a human-readable list of file sizes.,ls -h
|
67 |
+
Show non-blank line numbers for document.docx, cat -b document.docx
|
68 |
+
Copy document.docx to output while preserving its attributes, cp -p document.docx output
|
69 |
+
"List all files and directories, including hidden ones",ls -a
|
70 |
+
Move database.sql to documents and provide verbose output,mv -v database.sql documents
|
71 |
+
Show report.pdf contents with repeated empty lines suppressed, cat -s report.pdf
|
72 |
+
Check configuration.ini.zip for errors, zip -T configuration.ini.zip
|
73 |
+
Delete files modified more than 1 year ago, find . -type f -mtime +365 -delete
|
74 |
+
"Transfer configuration.ini to output and, if required, prompt before overwriting",cp --interactive configuration.ini output
|
75 |
+
Move files to videos, find . -name spreadsheet.xlsx -exec mv {} videos \
|
76 |
+
Find the presentation.pptx files., find . -name presentation.pptx
|
77 |
+
"Make a list of the files in the ""presentations"" directory after creating it.",mkdir presentations && cp presentations/* projects_backup
|
78 |
+
Sort files by size and modification time in reverse order with colored output,ls -SltrG
|
79 |
+
Locate files smaller than 100KB, find . -size -100k
|
80 |
+
"Archive files photo.png, executable.exe, presentation.pptx into presentation.pptx.zip, excluding '*.tmp' files, using compression level 9",zip -x '*.tmp' -9 presentation.pptx.zip photo.png executable.exe presentation.pptx
|
81 |
+
"Move music to archive, making a backup of all currently stored files.", cp -b -r music archive
|
82 |
+
Print proposal.docx with tabs represented as ^I, cat -T proposal.docx
|
83 |
+
Search for files with names ending in '.doc' and larger than 500KB,"find . -type f -name ""*.doc"" -size +500k"
|
84 |
+
List the contents of photo.png.zip., unzip -l photo.png.zip
|
85 |
+
Print inode numbers for each file,ls -i
|
86 |
+
List video.mp4 contents with suppression of repeated empty lines, cat -s video.mp4
|
87 |
+
Show the contents of executable.exe with line numbers,cat -n executable.exe
|
88 |
+
"If the parent directories and directory logs don't already exist, create them.",mkdir -p logs
|
89 |
+
"Using attribute preservation, clone image.jpg to projects_backup, establish a hard link, and create a backup", cp -p -l -b image.jpg projects_backup
|
90 |
+
Move files to documents, find . -name document.docx -exec mv {} documents \
|
91 |
+
Show spreadsheet.xlsx in tabbed mode as \I, cat -T spreadsheet.xlsx
|
92 |
+
Show directory names without contents,ls -d
|
93 |
+
List files in a lengthy format with output that is coloured.,ls -lG
|
94 |
+
Extraction of image.jpg.zip in full, unzip -v image.jpg.zip
|
95 |
+
Locate named pipes, find . -type p
|
96 |
+
Show all control characters for presentation.pptx, cat -A presentation.pptx
|
97 |
+
"When extracting files from report.pdf.zip, ignore paths.", unzip -j report.pdf.zip
|
98 |
+
"Search for files with read, write, and execute permissions for the user",find . -type f -perm -700
|
99 |
+
"Uncompress configuration.ini.zip, testing archive integrity only, verbose output, and listing files only to directory templates_backup",unzip -t -v -l -d templates_backup configuration.ini.zip
|
100 |
+
Take the files out of proposal.docx.zip. disregarding the directory structure, unzip -j proposal.docx.zip
|
101 |
+
Show comprehensive file information,ls -l
|
102 |
+
Compress projects recursively, zip -r projects projects
|
103 |
+
Move contract.pdf into audio.mp3.zip, zip -m audio.mp3.zip contract.pdf
|
104 |
+
Enable output with colors,ls -G
|
105 |
+
Show report.pdf with characters that don't print, cat -v report.pdf
|
106 |
+
"List each subdirectory in detail recursively, then tally the total number of directories.","ls -Rd | grep ""/$"" | wc -l"
|
107 |
+
Make a backup of the current files and copy configuration.ini to reports_archive., cp -b -p configuration.ini reports_archive
|
108 |
+
Move contract.pdf with attribute preservation to scripts_backup, cp -p contract.pdf scripts_backup
|
109 |
+
"Archive files image.jpg, document.docx, photo.png into document.docx.zip, preserving paths",zip -r document.docx.zip image.jpg document.docx photo.png
|
110 |
+
Compress projects recursively, zip -r projects projects
|
111 |
+
"Compress files video.mp4, audio.mp3, policy.pdf into memo.txt.zip, quietly, preserving paths, including empty directories",zip -q -r0 memo.txt.zip video.mp4 audio.mp3 policy.pdf
|
112 |
+
Turn on colour output.,ls -G
|
113 |
+
Print the contents of presentation.pptx with non-blank line numbering., cat -b presentation.pptx
|
114 |
+
Display characters for spreadsheet.xlsx that aren't printed, cat -v spreadsheet.xlsx
|
115 |
+
List contents of memo.txt with all control characters displayed, cat -A memo.txt
|
116 |
+
Move the files to reports_archive after extracting them from temp that match *.mp4.,"tar -cvf - -C temp.zip . | tar xvf - -C reports_archive --wildcards ""*.mp4"""
|
117 |
+
Display all files including hidden ones,ls -a
|
118 |
+
"Clone image.jpg to images_backup with attribute preservation, creating a hard link, and making a backup", cp -p -l -b image.jpg images_backup
|
119 |
+
Verify image.jpg.zip's integrity., unzip -t image.jpg.zip
|
120 |
+
"List subdirectories recursively, each with a colour and full description.",ls -RdlG
|
121 |
+
Verify integrity of audio.mp3.zip, zip -T audio.mp3.zip
|
122 |
+
Present file sizes in an easily readable way.,ls -h
|
123 |
+
Make a verbose output directory called photos.,mkdir -v photos
|
124 |
+
Print photo.png without any warning errors, cat -q photo.png
|
125 |
+
Show image.jpg with line numbers that aren't blank., cat -b image.jpg
|
126 |
+
"Before replacing downloads with script.py, prompt",mv -i script.py downloads
|
127 |
+
Erase policy.pdf from proposal.docx.zip, zip -d proposal.docx.zip policy.pdf
|
128 |
+
Extract files from document.docx.zip and overwrite existing files, unzip -o document.docx.zip
|
129 |
+
Prompt for confirmation before moving document.docx to presentations,mv -i document.docx presentations
|
130 |
+
Replace archives with photo.png only if it's newer or doesn't already exist,mv -u photo.png archives
|
131 |
+
Files should be displayed in reverse order.,ls -r
|
132 |
+
Look for block devices, find . -type b
|
133 |
+
Take remove the files from spreadsheet.xlsx.zip that provide verbose output., unzip -v spreadsheet.xlsx.zip
|
134 |
+
Mirror proposal.docx to music_library and overwrite existing files without seeking permission, cp -f proposal.docx music_library
|
135 |
+
"Ask before replacing configuration.ini in downloads, treat destination as file, and show verbose feedback",mv -TiV configuration.ini downloads
|
136 |
+
"Create a directory named 'presentations', copy a file named 'audio.mp3' into it, and then create a symbolic link named 'link' to the file.",mkdir /presentations/ | cp /audio.mp3 /presentations/ | ln -s /presentations/ /link/
|
137 |
+
Extract files with verbose mode enabled from database.sql.zip, unzip -v database.sql.zip
|
138 |
+
"Extract executable.exe.zip, then update your files with the latest versions.", unzip -U executable.exe.zip
|
139 |
+
Change directory to videos_backup and extract files from photo.png.zip, unzip -C videos_backup photo.png.zip
|
140 |
+
Search for files between 1GB and 2GB in size, find . -size +1G -size -2G
|
141 |
+
Search for files modified exactly 30 days ago, find . -mtime 30
|
142 |
+
Delete files with name memo.txt, find . -name memo.txt -exec rm {} \
|
143 |
+
Examine image.jpg.zip for consistency., unzip -t image.jpg.zip
|
144 |
+
Replicate document.docx to projects_backup with hard links, cp -l document.docx projects_backup
|
145 |
+
"Move audio.mp3 to photos_backup, verify overwrite interactively, maintain attributes, and make a backup.", cp -i -p -b audio.mp3 photos_backup
|
146 |
+
Print database.sql contents with line endings, cat -E database.sql
|
147 |
+
"Display files individually, one per line",ls -1
|
148 |
+
List each line ending in image.jpg in the contents., cat -E image.jpg
|
149 |
+
Make a backup of the current files and copy proposal.docx to logs_archive.,cp -b proposal.docx logs_archive
|
150 |
+
"Replicate contract.pdf to videos_backup while retaining its attributes, creating a hard link, and making a backup", cp -p -l -b contract.pdf videos_backup
|
151 |
+
"Using attribute preservation, clone proposal.docx to templates_backup, establish a hard link, and create a backup", cp -p -l -b proposal.docx templates_backup
|
152 |
+
Files in backups should be sorted by size before being moved to photos_backup.,ls -S backups | xargs -I {} mv backups/{} photos_backup
|
153 |
+
Display proposal.docx with non-blank line numbers, cat -b proposal.docx
|
154 |
+
Move report.pdf to logs only if it's newer or doesn't already exist,mv -u report.pdf logs
|
155 |
+
Verbose: Move database.sql to logs,mv -v database.sql logs
|
156 |
+
Sort files by the date they were last modified.,ls -t
|
157 |
+
Transfer presentation.pptx to documents_backup and interactively confirm overwrite while preserving attributes and creating a backup, cp -i -p -b presentation.pptx documents_backup
|
158 |
+
Show file information in long listing format,ls -l
|
159 |
+
Check for updates and add proposal.docx to presentation.pptx.zip, zip -u presentation.pptx.zip proposal.docx
|
160 |
+
Find files with names containing 'data' and modified more than 30 days ago,"find . -type f -name ""*data*"" -mtime +30"
|
161 |
+
Remove presentation.pptx from proposal.docx.zip, zip -d proposal.docx.zip presentation.pptx
|
162 |
+
"Make a backup of database.sql, regard the destination as a file, don't overwrite, and show verbose output.",mv -bnvT database.sql presentations
|
163 |
+
Extraction of files from report.pdf.zip enabling verbose mode, unzip -v report.pdf.zip
|
164 |
+
Change the default order of sorting.,ls -r
|
165 |
+
Take the files out of proposal.docx.zip. disregarding the directory structure, unzip -j proposal.docx.zip
|
166 |
+
Seek out blocking gadgets, find . -type b
|
167 |
+
"When zipping, disregard paths presentation.pptx.", zip -j report.pdf.zip presentation.pptx
|
168 |
+
"Concatenate document.docx and document.docx, numbering all output lines and showing non-printing characters",cat -n -v document.docx document.docx
|
169 |
+
Just show directories.,ls -d
|
170 |
+
"Transfer database.sql firmly to projects, ask permission before overwriting, and only move if a newer version is available.",mv -fiu database.sql projects
|
171 |
+
Transfer video.mp4 to scripts as a regular file,mv -T video.mp4 scripts
|
172 |
+
Show tabs as ^I for database.sql, cat -T database.sql
|
173 |
+
"Duplicate database.sql to logs_archive and keep attributes unchanged, creating a hard link, and making a backup", cp -p -l -b database.sql logs_archive
|
174 |
+
"Generate directory ""documents"" and list contents of ""documents"".",mkdir documents && ls documents
|
175 |
+
Zip report.pdf without directory structure, zip -j report.pdf.zip report.pdf
|
176 |
+
Place contract.pdf inside of the archive spreadsheet.xlsx.Zip, zip -u spreadsheet.xlsx.zip contract.pdf
|
177 |
+
Turn on output that is coloured.,ls -G
|
178 |
+
List the lines that don't include a blank in policy.pdf, cat -b policy.pdf
|
179 |
+
Ignore the directory structure and extract the files from contract.pdf.zip., unzip -j contract.pdf.zip
|
180 |
+
Move proposal.docx to photos_backup and request confirmation from the user to see if the files are there.,cp -i proposal.docx photos_backup
|
181 |
+
Mirror spreadsheet.xlsx to backup and backup existing files, cp -b -p spreadsheet.xlsx backup
|
182 |
+
Show line numbers for database.sql that are not blank., cat -b database.sql
|
183 |
+
Duplicate documents to output and include all subdirectories, cp -r documents output
|
184 |
+
"If proposal.docx is more recent, update it in audio.mp3.zip.", zip -f audio.mp3.zip proposal.docx
|
185 |
+
Display file sizes in a format that is easy to read,ls -h
|
186 |
+
Extract files without directory structure from image.jpg.zip, unzip -j image.jpg.zip
|
187 |
+
List the files in reverse order based on size and modification time.,ls -Sltr
|
188 |
+
Display contract.pdf with non-printing characters, cat -v contract.pdf
|
189 |
+
Seek for files bearing the document.docx name., find . -name document.docx
|
190 |
+
Make proposal.docx.zip with proposal.docx in it., zip -c proposal.docx.zip proposal.docx
|
191 |
+
Examine policy.pdf.zip for mistakes., zip -T policy.pdf.zip
|
192 |
+
Delete files modified more than 1 year ago, find . -type f -mtime +365 -delete
|
193 |
+
"When zipping, disregard paths proposal.docx.", zip -j video.mp4.zip proposal.docx
|
194 |
+
Look for files exactly 50 bytes in size, find . -size 50c
|
195 |
+
Search for standard files., find . -type f
|
196 |
+
"In executable.exe, update configuration.ini.zip If more recent", zip -f executable.exe.zip configuration.ini
|
197 |
+
Extract and update files with newer versions from presentation.pptx.zip, unzip -U presentation.pptx.zip
|
198 |
+
"List subdirectories recursively, each with a colour and full description.",ls -RdlG
|
199 |
+
Make a fresh archive with executable.exe.zip from executable.exe, zip -c executable.exe.zip executable.exe
|
200 |
+
Take files out of executable.exe.zip and replace any files that already exist., unzip -o executable.exe.zip
|
201 |
+
"Transfer audio.mp3 forcefully to reports, asking for confirmation, and treating destination as a file",mv -ifT audio.mp3 reports
|
202 |
+
Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
|
203 |
+
Search for files with names starting with 'data' and not owned by the user 'admin',"find . -type f -name ""data*"" ! -user admin"
|
204 |
+
List file sizes in a manner that is comprehensible to people.,ls -h
|
205 |
+
Show file sizes in a readable manner,ls -h
|
206 |
+
Display the line counts for script.py, cat -n script.py
|
207 |
+
Verbose extraction of contract.pdf.zip, unzip -v contract.pdf.zip
|
208 |
+
Transfer script.py to photos_backup while keeping all properties intact.,cp -a script.py photos_backup
|
209 |
+
Recursively list the directory tree,ls -R
|
210 |
+
Display all files and directories recursively,ls -R
|
211 |
+
"Zip the contents of the newly created directory ""backups"" into the file ""spreadsheet.xlsx.zip"".",mkdir backups && zip spreadsheet.xlsx.zip backups/*
|
212 |
+
"Transfer audio.mp3 forcefully to reports, asking for confirmation, and treating destination as a file",mv -ifT audio.mp3 reports
|
213 |
+
Print database.sql while suppressing the output from the buffer., cat -u database.sql
|
214 |
+
"List subdirectories recursively, providing coloured output and comprehensive details.",ls -Rdl
|
215 |
+
Make a copy of policy.pdf and obliterate the current files in documents_backup., cp -f policy.pdf documents_backup
|
216 |
+
Extract memo.txt that is encrypted.Zip file protected with '*.mp3', unzip -P *.mp3 memo.txt.zip
|
217 |
+
Mirror configuration.ini to images_backup with attributes intact and creating a hard link, cp -p -l configuration.ini images_backup
|
218 |
+
Show directory contents recursively,ls -R
|
219 |
+
Show suppressed buffered output for image.jpg, cat -u image.jpg
|
220 |
+
"Make a backup copy of spreadsheet.xlsx and duplicate it to templates_backup with user approval to overwrite, preserve attributes, and overwrite", cp -i -p -b spreadsheet.xlsx templates_backup
|
221 |
+
Extract the files from script.py.zip by changing the directory to output., unzip -C output script.py.zip
|
222 |
+
Find files with names containing 'report' and not executable by others,"find . -type f -name ""*report*"" ! -perm -o=x"
|
223 |
+
Output the first 25 lines of configuration.ini,cat configuration.ini | head -n 25
|
224 |
+
"Create directory ""templates"" and move files matching pattern ""*.py"" to it.",mkdir templates && mv **.py* templates
|
225 |
+
"Compress files proposal.docx, report.pdf, contract.pdf into database.sql.zip, quietly, using password 'secure123', preserving paths",zip -q -r -P secure123 database.sql.zip proposal.docx report.pdf contract.pdf
|
226 |
+
Extract files from photos.zip matching *.py and move to logs_archive,"tar -cvf - -C photos.zip . | tar xvf - -C logs_archive --wildcards ""*.py"""
|
227 |
+
"Without showing the results, extract video.mp4.zip", unzip -q video.mp4.zip
|
228 |
+
Transfer executable.exe to projects_backup while maintaining attributes,cp -a executable.exe projects_backup
|
229 |
+
"Unarchive video.mp4.zip, overwriting existing files, to directory photos_backup",unzip -o -d photos_backup video.mp4.zip
|
230 |
+
Only use configuration.ini in place of scripts if it is less than or equal to that directory.,mv -u configuration.ini scripts
|
231 |
+
Display file sizes in human-readable form,ls -h
|
232 |
+
Change the default order of sorting.,ls -r
|
233 |
+
Compress files using gzip, find . -type f -exec gzip {} \
|
234 |
+
Transfer temp and its contents to logs_archive recursively, cp -r temp logs_archive
|
235 |
+
"Ask before replacing report.pdf in backups, treat destination as file, and move only if newer",mv -iTu report.pdf backups
|
236 |
+
"Transfer presentations to music_library and, if required, prompt before overwriting",cp -ir presentations music_library
|
237 |
+
List files in reverse order of modification time,ls -r
|
238 |
+
"Move configuration.ini to documents, prompting for confirmation",mv -i configuration.ini documents
|
239 |
+
"In reports_archive, prompt before overwriting memo.txt.", cp -i memo.txt reports_archive
|
240 |
+
"Prior to files, list folders.",ls --group-directories-first
|
241 |
+
"Archive files presentation.pptx, presentation.pptx, report.pdf into memo.txt.zip, using compression level 6, excluding '*.tmp' files",zip -6 -x '*.tmp' memo.txt.zip presentation.pptx presentation.pptx report.pdf
|
242 |
+
Extract files from memo.txt.zip and overwrite existing files, unzip -o memo.txt.zip
|
243 |
+
Files from configuration.ini.zip should be extracted into documents_backup., unzip -d documents_backup configuration.ini.zip
|
244 |
+
"Create directory ""templates"" and remove files matching pattern ""*.mp3"".",mkdir templates && rm **.mp3*
|
245 |
+
List files in reverse order of their names,ls -r
|
246 |
+
Search for files with names containing 'image' and with read permissions for the group,"find . -type f -name ""*image*"" -perm /g=r"
|
247 |
+
"List every file with the word ""backup"" in its name, together with all relevant details.",ls -l *backup*
|
248 |
+
Move image.jpg to proposal.docx.zip and add it., zip -m proposal.docx.zip image.jpg
|
249 |
+
List files sorted by size and modification time in reverse order with colored output,ls -SltrG
|
250 |
+
List files in long format with colored output,ls -lG
|
251 |
+
Take remove the files from database.sql.zip that provide verbose output., unzip -v database.sql.zip
|
252 |
+
Output the first 30 lines of proposal.docx,cat proposal.docx | head -n 30
|
253 |
+
"Extract policy.pdf.zip, but only the most recent files.", unzip -U policy.pdf.zip
|
254 |
+
"Move presentation.pptx to projects_backup, verify overwrite interactively, maintain attributes, and make a backup.", cp -i -p -b presentation.pptx projects_backup
|
255 |
+
Organise files according to when they were last modified and provide file sizes in a legible manner.,ls -ltSh
|
256 |
+
Print the file's inode numbers.,ls -i
|
257 |
+
"Create directories presentations, images, images and parent directories if they do not exist with verbose output",mkdir -p -v presentations && mkdir -p -v images && mkdir -p -v images
|
258 |
+
"Recursive copying is used to move archives to music_library, maintaining attributes, and making a backup.", cp -r -p -b archives music_library
|
259 |
+
Look for figurative connections., find . -type l
|
260 |
+
Show script.py with line breaks included, cat -E script.py
|
261 |
+
Check contents of document.docx.zip, unzip -l document.docx.zip
|
262 |
+
Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
|
263 |
+
Zip contract.pdf without any folder organization, zip -j script.py.zip contract.pdf
|
264 |
+
"Before replacing current files, copy report.pdf to music_library and be sure to ask.",cp -i report.pdf music_library
|
265 |
+
"Zip files spreadsheet.xlsx, document.docx, report.pdf into script.py.zip, using compression level 6, verbose output, including empty directories",zip -6 -v -r0 script.py.zip spreadsheet.xlsx document.docx report.pdf
|
266 |
+
Transfer documents to projects_backup and backup existing files, cp -b -r documents projects_backup
|
267 |
+
Display file sizes in comprehensible units for humans.,ls -h
|
268 |
+
Transfer the files to reports, find . -name proposal.docx -execdir mv {} reports \
|
269 |
+
Display files with extended information,ls -l
|
270 |
+
"For each file name, create a backup, a hard link, and mirror it to the destination directory while preserving its properties.", cp -p -l -b photo.png documents_backup
|
271 |
+
"Concatenate video.mp4 and presentation.pptx, numbering non-empty output lines",cat -b video.mp4 presentation.pptx
|
272 |
+
Check configuration.ini.zip for errors, zip -T configuration.ini.zip
|
273 |
+
Remove spreadsheet.xlsx from database.sql.zip, zip -d database.sql.zip spreadsheet.xlsx
|
274 |
+
Show photo.png with suppressed buffered output, cat -u photo.png
|
275 |
+
Show only the names of the directories; show nothing inside.,ls -d
|
276 |
+
Display hidden files along with normal files,ls -a
|
277 |
+
Ignore paths when zipping photo.png, zip -j document.docx.zip photo.png
|
278 |
+
Search for files with name database.sql, find . -name database.sql
|
279 |
+
"Before forcibly transferring photo.png to images, make a backup of it.",mv -bf photo.png images
|
280 |
+
Move the files listed in images to videos_backup. maintaining the directory structure,find images -type f -exec mv -t videos_backup -- {} +
|
281 |
+
Print proposal.docx with tabs represented as ^I, cat -T proposal.docx
|
282 |
+
List contents of document.docx with buffered output suppression, cat -u document.docx
|
283 |
+
List directory contents including hidden files,ls -a
|
284 |
+
Show directories before files.,ls --group-directories-first
|
285 |
+
Display memo.txt in quiet mode, cat -q memo.txt
|
286 |
+
"Extend the format of hidden files and folders, then delete the owner data.","ls -al | awk '{$2=$3=$4=""""; print $0}'"
|
287 |
+
Ask before replacing presentation.pptx in videos and treat destination as a file,mv -Ti presentation.pptx videos
|
288 |
+
Make executable.exe.zip that includes report.pdf, zip -c executable.exe.zip report.pdf
|
289 |
+
Test presentation.pptx.zip for errors, unzip -t presentation.pptx.zip
|
290 |
+
"Ask before replacing report.pdf in backups, treat destination as file, and move only if newer",mv -iTu report.pdf backups
|
291 |
+
"If executable.exe is more recent, update it in script.py.zip.", zip -f script.py.zip executable.exe
|
292 |
+
Provide password '*.pdf' to extract configuration.ini.zip, unzip -P *.pdf configuration.ini.zip
|
293 |
+
List contents of executable.exe with all control characters displayed, cat -A executable.exe
|
294 |
+
Show buffered output suppressed for report.pdf, cat -u report.pdf
|
295 |
+
Transfer presentation.pptx to scripts_backup and conduct a force overwrite, cp -f presentation.pptx scripts_backup
|
296 |
+
Show directories before files.,ls --group-directories-first
|
297 |
+
Extract files from image.jpg.zip into downloads_archive, unzip -d downloads_archive image.jpg.zip
|
298 |
+
Search for directories with names starting with 'backup' and not owned by the user 'admin',"find . -type d -name ""backup*"" ! -user admin"
|
299 |
+
Display files in descending order of size.,ls -S
|
300 |
+
"Out of report.pdf.zip, remove proposal.docx.", zip -d report.pdf.zip proposal.docx
|
301 |
+
Display report.pdf with line numbers, cat -n report.pdf
|
302 |
+
Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
|
303 |
+
Extract the files from spreadsheet.xlsx.zip without a directory structure., unzip -j spreadsheet.xlsx.zip
|
304 |
+
"After placing configuration.ini inside policy.pdf.zip, remove it.", zip -u policy.pdf.zip configuration.ini
|
305 |
+
Duplicate audio.mp3 to backup with user confirmation for overwrite, cp -i audio.mp3 backup
|
306 |
+
Display hidden folders and files,ls -a
|
307 |
+
Show colored output,ls -G
|
308 |
+
Transfer temp and its contents to logs_archive recursively, cp -r temp logs_archive
|
309 |
+
"Save a backup of database.sql, do not overwrite, and move only if newer",mv -nbu database.sql archives
|
310 |
+
Files are shown in order of file size.,ls -S
|
311 |
+
Print audio.mp3 making visible all control characters., cat -A audio.mp3
|
312 |
+
Ignore paths when extracting files from memo.txt.zip, unzip -j memo.txt.zip
|
313 |
+
Find files modified within the last 7 days, find . -mtime -7
|
314 |
+
Replace outdated files from video.mp4.zip with the most recent ones., unzip -U video.mp4.zip
|
315 |
+
Search for files with names ending in '.jpg' or '.png',"find . -type f \( -name ""*.jpg"" -o -name ""*.png"" \)"
|
316 |
+
Extract newer files from contract.pdf.zip, unzip -U contract.pdf.zip
|
317 |
+
Display proposal.docx with non-blank line numbers, cat -b proposal.docx
|
318 |
+
Put backups and its contents in an archive., zip -r backups backups
|
319 |
+
Gently unzip the contents of memo.txt.zip., unzip -q memo.txt.zip
|
320 |
+
Search for files with names containing 'image' and with read permissions for the group,"find . -type f -name ""*image*"" -perm /g=r"
|
321 |
+
Mirror report.pdf to music_library and interactively prompt before replacing files, cp -i report.pdf music_library
|
322 |
+
Zip database.sql without directory structure, zip -j audio.mp3.zip database.sql
|
323 |
+
Show hidden files and directories in a lengthy format with sizes that are readable by humans and full information.,ls -alh
|
324 |
+
Contents of executable.exe.zip are listed., unzip -l executable.exe.zip
|
325 |
+
Avoid replacing report.pdf with temp.,mv -n report.pdf temp
|
326 |
+
Files from spreadsheet.xlsx.zip should be extracted into temp_folder., unzip -d temp_folder spreadsheet.xlsx.zip
|
327 |
+
"Without asking, move executable.exe firmly to presentations.",mv -f executable.exe presentations
|
328 |
+
Compile and transfer configuration.ini to configuration.ini.zip., zip -u configuration.ini.zip configuration.ini
|
329 |
+
"Request permission before changing audio.mp3 to templates, treat the destination as a file, and provide detailed comments.",mv -TiV audio.mp3 templates
|
330 |
+
File compression with gzip, find . -type f -exec gzip {} \
|
331 |
+
"Compress files presentation.pptx, proposal.docx, proposal.docx into document.docx.zip, compressing with best compression, preserving paths",zip -9 -r document.docx.zip presentation.pptx proposal.docx proposal.docx
|
332 |
+
"Files are sorted by size, file sizes are shown in a format that is understandable by humans, and the final five lines are shown.",ls -lSh | tail -n 5
|
333 |
+
Do not replace scripts with image.jpg,mv -n image.jpg scripts
|
334 |
+
Extract the files from memo.txt.zip by navigating to projects_backup., unzip -C projects_backup memo.txt.zip
|
335 |
+
Show hidden files and directories,ls -a
|
336 |
+
Create a backup by recursively copying images to images_backup while preserving its properties., cp -r -p -b images images_backup
|
337 |
+
Put policy.pdf on silent display., cat -q policy.pdf
|
338 |
+
Seek out blocking gadgets, find . -type b
|
339 |
+
Move files with size greater than 1MB from templates to music_library,find templates -type f -size +1M -exec mv {} music_library \;
|
340 |
+
"Prompt before overwriting database.sql in backups, treat destination as file, and move only if newer",mv -iuT database.sql backups
|
341 |
+
List the contents of video.mp4 while suppressing buffered output., cat -u video.mp4
|
342 |
+
"Create a directory named 'presentations', copy a file named 'audio.mp3' into it, and then create a symbolic link named 'link' to the file.",mkdir /presentations/ | cp /audio.mp3 /presentations/ | ln -s /presentations/ /link/
|
343 |
+
List directories before files in the display,ls --group-directories-first
|
344 |
+
"Make ""photos"" the directory and remove ""ignore2.png"" from it.",mkdir photos && ls | grep -v ignore2.png
|
345 |
+
silently list the contents of configuration.ini, cat -q configuration.ini
|
346 |
+
List contents of video.mp4 with line numbers, cat -n video.mp4
|
347 |
+
Make backups of the current files and mirror proposal.docx to archive.,cp -b proposal.docx archive
|
348 |
+
"List each subdirectory in detail recursively, then tally the total number of directories.","ls -Rd | grep ""/$"" | wc -l"
|
349 |
+
Search for files between 1GB and 2GB in size., find . -size +1G -size -2G
|
350 |
+
silently list the contents of report.pdf, cat -q report.pdf
|
351 |
+
Transfer executable.exe to photos_backup and interactively confirm overwrite while preserving attributes, cp -i -p executable.exe photos_backup
|
352 |
+
Look for figurative connections., find . -type l
|
353 |
+
"Compress files spreadsheet.xlsx, audio.mp3, script.py into memo.txt.zip, storing file attributes, excluding '*.tmp' files, silently",zip -X -x '*.tmp' -q memo.txt.zip spreadsheet.xlsx audio.mp3 script.py
|
354 |
+
"Keep a copy of policy.pdf, avoid overwriting, and provide detailed feedback.",mv -nbv policy.pdf logs
|
355 |
+
Compress projects recursively, zip -r projects projects
|
356 |
+
Create a new script.py by archiving report.pdf.zip, zip -c script.py.zip report.pdf
|
357 |
+
Move script.py to documents and replace existing files,mv -f script.py documents
|
358 |
+
Show configuration.ini with error messages suppressed, cat -q configuration.ini
|
359 |
+
Look for gaming devices., find . -type c
|
360 |
+
"Disentangle policy.pdf.zip, excluding exclude.mp4, to directory images_backup",unzip -x exclude.mp4 -d images_backup policy.pdf.zip
|
361 |
+
Compress projects recursively, zip -r projects projects
|
362 |
+
Zip memo.txt without directory structure, zip -j audio.mp3.zip memo.txt
|
363 |
+
Display characters for executable.exe that aren't printed, cat -v executable.exe
|
364 |
+
Print the contents of database.sql with line ends., cat -E database.sql
|
365 |
+
Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
|
366 |
+
Put policy.pdf on silent display., cat -q policy.pdf
|
367 |
+
Display directory structure recursively,ls -R
|
368 |
+
"Move presentation.pptx to scripts, preserving existing files",mv -n presentation.pptx scripts
|
369 |
+
"Without asking, move executable.exe firmly to presentations.",mv -f executable.exe presentations
|
370 |
+
"If downloads is outdated or nonexistent, substitute spreadsheet.xlsx for it.",mv -u spreadsheet.xlsx downloads
|
371 |
+
Transfer image.jpg to backup with attribute preservation, cp -p image.jpg backup
|
372 |
+
"If spreadsheet.xlsx is more recent or does not already exist in documents, move it there.",mv -u spreadsheet.xlsx documents
|
373 |
+
"Without asking, make a backup, and force copy report.pdf to logs_archive while maintaining attributes", cp -f -p -b report.pdf logs_archive
|
374 |
+
"Make a backup copy of presentation.pptx and duplicate it to output with user approval to overwrite, preserve attributes, and overwrite", cp -i -p -b presentation.pptx output
|
375 |
+
Examine audio.mp3.zip for mistakes., unzip -t audio.mp3.zip
|
376 |
+
List contents of executable.exe with all control characters displayed, cat -A executable.exe
|
377 |
+
Mirror photos_backup to scripts recursively, cp -r scripts photos_backup
|
378 |
+
Enumerate folders empty of contents.,ls -d
|
379 |
+
Print memo.txt contents with non-blank line numbering, cat -b memo.txt
|
380 |
+
Print the contents of policy.pdf with line ends., cat -E policy.pdf
|
381 |
+
"Display policy.pdf, showing line numbers, non-printing characters, and tabs as spaces, with a '$' at the end of each line",cat -n -vT -e policy.pdf
|
382 |
+
Sort the files according to their sizes.,ls -S
|
383 |
+
List files inside presentation.pptx.zip, unzip -l presentation.pptx.zip
|
384 |
+
"Display files individually, one per line",ls -1
|
385 |
+
Make a directory called scripts and output verbosely,mkdir -v scripts
|
386 |
+
"Using coloured output, comprehensive information, and human-readable sizes, sort files by size and modification time in reverse order.",ls -SltrhG
|
387 |
+
Extract files from document.docx.zip and overwrite existing files, unzip -o document.docx.zip
|
388 |
+
List files sorted by their sizes,ls -S
|
389 |
+
"Zip files document.docx, presentation.pptx, executable.exe into executable.exe.zip, including empty directories",zip -r0 executable.exe.zip document.docx presentation.pptx executable.exe
|
390 |
+
Transfer photo.png to reports solely in cases where it is not in use or is more recent.,mv -u photo.png reports
|
391 |
+
Pack document.docx without any archive paths, zip -j contract.pdf.zip document.docx
|
392 |
+
Output the first 15 lines of report.pdf,cat report.pdf | head -n 15
|
393 |
+
Update contract.pdf if newer in document.docx.zip, zip -u document.docx.zip contract.pdf
|
394 |
+
List contents of memo.txt with all control characters displayed, cat -A memo.txt
|
395 |
+
Find directories with names starting with 'dir',"find . -type d -name ""dir*"""
|
396 |
+
List the files in order of modification date.,ls -t
|
397 |
+
Provide a complete informational list of every file in the current directory.,ls -al
|
398 |
+
Freshen configuration.ini in document.docx.zip, zip -f document.docx.zip configuration.ini
|
399 |
+
See what's in image.jpg.zip, unzip -l image.jpg.zip
|
400 |
+
Overwrite databases with document.docx without prompting,mv -f document.docx databases
|
401 |
+
"Move document.docx to videos_backup, and if the files are already there, create a backup.", cp -b -i document.docx videos_backup
|
402 |
+
List video.mp4 contents with suppression of repeated empty lines, cat -s video.mp4
|
403 |
+
Find files owned by the user and group *.py,find . -type f -user *.py -group *.py
|
404 |
+
Test video.mp4.zip for errors, zip -T video.mp4.zip
|
405 |
+
Show executable.exe with line numbers that aren't blank., cat -b executable.exe
|
406 |
+
Duplicate audio.mp3 to logs_archive and back up existing files,cp -b audio.mp3 logs_archive
|
407 |
+
Shift video.mp4 to videos treating it like a normal file,mv -T video.mp4 videos
|
408 |
+
Create directory images with verbose output,mkdir -v images
|
409 |
+
"Make a copy of executable.exe, don't replace it, and output verbosely",mv -bnv executable.exe music
|
410 |
+
"Sort all files that start with ""data"" backwards.",ls -r data*
|
411 |
+
List files in reverse order of their names,ls -r
|
412 |
+
"List all files, including hidden files",ls -a
|
413 |
+
"Create a ""templates"" directory and list the files within it.",mkdir templates && cp templates/* output
|
414 |
+
"Package files video.mp4, report.pdf, database.sql into image.jpg.zip, excluding '*.tmp' files",zip -x '*.tmp' -r image.jpg.zip video.mp4 report.pdf database.sql
|
415 |
+
Print script.py while preventing the display of several blank lines., cat -s script.py
|
416 |
+
Search for standard files., find . -type f
|
417 |
+
Create backups of the current files and clone photo.png to temp_folder.,cp -b photo.png temp_folder
|
418 |
+
Move image.jpg to temp treating it as a normal file,mv -T image.jpg temp
|
419 |
+
Add and move executable.exe to report.pdf.zip, zip -m report.pdf.zip executable.exe
|
420 |
+
Move the files in archives to downloads_archive after filtering them using *.pdf.,"grep ""*.pdf"" archives/* | xargs -I {} mv {} downloads_archive"
|
421 |
+
Zip reports and subdirectories, zip -r reports reports
|
422 |
+
Move image.jpg to temp treating it as a normal file,mv -T image.jpg temp
|
423 |
+
Display hidden files and directories with extensive information in a lengthy manner.,ls -al
|
424 |
+
Ignore directory structure when zipping configuration.ini, zip -j photo.png.zip configuration.ini
|
425 |
+
List contents of memo.txt with all control characters displayed, cat -A memo.txt
|
426 |
+
"In music, prompt before overwriting proposal.docx, regard the destination as a file, and only move if it's more recent.",mv -iuT proposal.docx music
|
427 |
+
"Display the contents of video.mp4, showing non-printing characters and tabs as '^I'",cat -vT video.mp4
|
428 |
+
List each file on a single line.,ls -1
|
429 |
+
"Create a new directory called ""backups"" and create symbolic link named ""pointer"" pointing to ""backup"".",mkdir backups && ln -s backup pointer
|
430 |
+
Show image.jpg with suppressed buffered output, cat -u image.jpg
|
431 |
+
Overwrite existing files without prompting when extracting photo.png.zip, unzip -o photo.png.zip
|
432 |
+
"Make a hard link, backup, and copy spreadsheet.xlsx to photos_backup while maintaining its properties.", cp -p -l -b spreadsheet.xlsx photos_backup
|
433 |
+
Replicate document.docx to logs_archive and create backups if files exist,cp -b document.docx logs_archive
|
434 |
+
Refresh memo.txt in the zip file script.py., zip -f script.py.zip memo.txt
|
435 |
+
Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
|
436 |
+
compel Make a backup of the current files and copy document.docx to temp_folder., cp -b -f document.docx temp_folder
|
train.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
val.csv
CHANGED
@@ -1,435 +1,435 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
|
|
1 |
+
Text,Code
|
2 |
+
Copy contract.pdf to videos_backup; interactive confirmation is necessary.,cp -i contract.pdf videos_backup
|
3 |
+
Look for directories., find . -type d
|
4 |
+
Files should be sorted with human-readable sizes in reverse order based on size and modification time.,ls -Sltrh
|
5 |
+
Create zip of backups and its contents, zip -r backups backups
|
6 |
+
Look for empty files, find . -type f -empty
|
7 |
+
"List all the contents in a directory, including any hidden files.",ls -a
|
8 |
+
Take files out of executable.exe.zip and replace any files that already exist., unzip -o executable.exe.zip
|
9 |
+
"Extract spreadsheet.xlsx.zip, verbose output, to directory downloads_archive",unzip -v -d downloads_archive spreadsheet.xlsx.zip
|
10 |
+
Display directories at the top of the list,ls --group-directories-first
|
11 |
+
Show configuration.ini with every control character present., cat -A configuration.ini
|
12 |
+
Display database.sql with non-printing characters, cat -v database.sql
|
13 |
+
"Transfer memo.txt to databases, treating it like any other file.",mv -T memo.txt databases
|
14 |
+
Mirror documents to templates_backup recursively, cp -r documents templates_backup
|
15 |
+
"Move image.jpg to documents with force, prompt for confirmation, and move only if newer",mv -ifu image.jpg documents
|
16 |
+
Extract files from executable.exe.zip and switch to music_library, unzip -C music_library executable.exe.zip
|
17 |
+
Print configuration.ini with non-printing characters visible, cat -v configuration.ini
|
18 |
+
"List all files in long format whose names begin with ""file"" recursively.",ls -lR file*
|
19 |
+
Display video.mp4 with all control characters, cat -A video.mp4
|
20 |
+
Transfer document.docx to images and see the output in verbose,mv -v document.docx images
|
21 |
+
Find directories with names starting with 'project' and not modified in the last 90 days,"find . -type d -name ""project*"" -mtime +90"
|
22 |
+
"Before overwriting, move proposal.docx to logs and prompt.",mv -i proposal.docx logs
|
23 |
+
Display all files and directories recursively,ls -R
|
24 |
+
Check for updates and add presentation.pptx to proposal.docx.zip, zip -u proposal.docx.zip presentation.pptx
|
25 |
+
"Move script.py to downloads, handling it as though it were a regular file.",mv -T script.py downloads
|
26 |
+
Show buffered output suppressed for document.docx, cat -u document.docx
|
27 |
+
Display hidden files and directories with extensive information in a lengthy manner.,ls -al
|
28 |
+
Provide password '*.pdf' to extract configuration.ini.zip, unzip -P *.pdf configuration.ini.zip
|
29 |
+
Display the line counts for memo.txt, cat -n memo.txt
|
30 |
+
Prompt before overwriting script.py in videos_backup, cp -i script.py videos_backup
|
31 |
+
List the contents of presentation.pptx while suppressing the repetitive blank lines., cat -s presentation.pptx
|
32 |
+
Find the report.pdf files., find . -name report.pdf
|
33 |
+
Sort files alphabetically backwards,ls -r
|
34 |
+
"Create a directory named 'scripts', copy all files from 'scripts' to it, then move them to 'documents_archive'.",mkdir /scripts/ | cp /scripts/* /scripts/ | mv /scripts/* /documents_archive/
|
35 |
+
"Save a backup of memo.txt, do not overwrite, show verbose feedback, and treat destination as file",mv -nbvT memo.txt videos
|
36 |
+
Move the files listed in images to videos_backup. maintaining the directory structure,find images -type f -exec mv -t videos_backup -- {} +
|
37 |
+
Copy document.docx to output while preserving its attributes, cp -p document.docx output
|
38 |
+
List files in order of last modification time,ls -t
|
39 |
+
Verify integrity of spreadsheet.xlsx.zip, unzip -t spreadsheet.xlsx.zip
|
40 |
+
Extract proposal.docx.zip's non-pathable files., unzip -j proposal.docx.zip
|
41 |
+
Search for files with names containing 'backup' and created in the last 7 days,"find . -type f -name ""*backup*"" -ctime -7"
|
42 |
+
Find files with names containing 'report' and not writable by others,"find . -type f -name ""*report*"" ! -perm -o=w"
|
43 |
+
Show configuration.ini with error messages suppressed, cat -q configuration.ini
|
44 |
+
Copy executable.exe to documents_archive and prompt before overwriting if necessary,cp --interactive executable.exe documents_archive
|
45 |
+
Display each file on its own line,ls -1
|
46 |
+
"Files are sorted by size, file sizes are shown in a format that is understandable by humans, and the final five lines are shown.",ls -lSh | tail -n 5
|
47 |
+
Look for empty files, find . -type f -empty
|
48 |
+
Look for files that are no larger than 1GB or 2GB., find . -size +1G -size -2G
|
49 |
+
Show policy.pdf contents with repeated empty lines suppressed, cat -s policy.pdf
|
50 |
+
Clone database.sql with preserving attributes to temp_folder, cp -p database.sql temp_folder
|
51 |
+
"To images, copy the files.", find . -name script.py -exec cp {} images \
|
52 |
+
"Sort the files by modification time and list all names that finish in "".mp4"".",ls -t *.mp4
|
53 |
+
Test image.jpg.zip for corruption, zip -T image.jpg.zip
|
54 |
+
Print memo.txt contents with non-blank line numbering, cat -b memo.txt
|
55 |
+
Change permissions of files, find . -type f -exec chmod 644 {} \
|
56 |
+
Print report.pdf with suppression of repeated empty lines, cat -s report.pdf
|
57 |
+
Mirror photos_backup to scripts recursively, cp -r scripts photos_backup
|
58 |
+
"List all files in the current directory with detailed information, then extract only the file names",ls -al | awk '{print $9}'
|
59 |
+
Modify the file permissions, find . -type f -execdir chmod 644 {} \
|
60 |
+
Clone report.pdf to reports_archive and prompt for permission to overwrite, cp -i report.pdf reports_archive
|
61 |
+
Display contents of a directory recursively,ls -R
|
62 |
+
Place contract.pdf inside of the archive spreadsheet.xlsx.Zip, zip -u spreadsheet.xlsx.zip contract.pdf
|
63 |
+
"Move document.docx to archives, overwriting the destination if necessary",mv -f document.docx archives
|
64 |
+
Transfer script.py to photos_backup while keeping all properties intact.,cp -a script.py photos_backup
|
65 |
+
Organise files according to when they were last modified and provide file sizes in a legible manner.,ls -ltSh
|
66 |
+
"Archive files policy.pdf, photo.png, image.jpg into image.jpg.zip, compressing only '*.txt' files, storing symbolic links",zip -n '*.txt' -y image.jpg.zip policy.pdf photo.png image.jpg
|
67 |
+
"Zip files report.pdf, presentation.pptx, photo.png into video.mp4.zip, using compression level 3",zip -3 video.mp4.zip report.pdf presentation.pptx photo.png
|
68 |
+
"Extract document.docx.zip with password 'newpass123', extracting files matching pattern '*.txt', quietly, and testing archive integrity only to directory scripts_backup",unzip -P newpass123 -j -q -t -d scripts_backup document.docx.zip '*.txt'
|
69 |
+
Look for files that are no larger than 1GB or 2GB., find . -size +1G -size -2G
|
70 |
+
Transfer the 'presentation.pptx' file to the 'output' directory.,cp /presentation.pptx /output/
|
71 |
+
"List files having coloured output, sorted in reverse order by size and modification time.",ls -SltrG
|
72 |
+
"After displaying hidden files and folders in extended format, just the permissions are visible.",ls -al | awk '{print $1}'
|
73 |
+
Backup current files and mirror document.docx to templates_backup., cp -b -p document.docx templates_backup
|
74 |
+
Talkative: memo.txt should be moved to templates.,mv -v memo.txt templates
|
75 |
+
Show non-blank line numbers for proposal.docx, cat -b proposal.docx
|
76 |
+
Replace outdated files from video.mp4.zip with the most recent ones., unzip -U video.mp4.zip
|
77 |
+
"Concatenate document.docx and document.docx, numbering all output lines and showing non-printing characters",cat -n -v document.docx document.docx
|
78 |
+
"Zip files presentation.pptx, executable.exe, photo.png into audio.mp3.zip, compressing with best compression, excluding '*.log' files",zip -9 -x '*.log' audio.mp3.zip presentation.pptx executable.exe photo.png
|
79 |
+
List file sizes in a format suitable for humans,ls -h
|
80 |
+
Show executable.exe with line numbers that aren't blank., cat -b executable.exe
|
81 |
+
Duplicate proposal.docx to photos_backup with user confirmation for overwrite, cp -i proposal.docx photos_backup
|
82 |
+
Check for corruption with configuration.ini.zip., zip -T configuration.ini.zip
|
83 |
+
Copy document.docx to photos_backup and backup existing files, cp -b -p document.docx photos_backup
|
84 |
+
"Recursive copying is used to move music to documents_archive, maintaining attributes, and making a backup.", cp -r -p -b music documents_archive
|
85 |
+
Provide password '*.txt' to extract proposal.docx.zip, unzip -P *.txt proposal.docx.zip
|
86 |
+
Display presentation.pptx with line endings, cat -E presentation.pptx
|
87 |
+
Move video.mp4 to images_backup and force overwrite it., cp -f video.mp4 images_backup
|
88 |
+
"Before replacing executable.exe in temp, prompt, treating destination as file",mv -iT executable.exe temp
|
89 |
+
Delete files with name presentation.pptx, find . -name presentation.pptx -execdir rm {} \
|
90 |
+
Extract encrypted database.sql.zip with password '*.doc*', unzip -P *.doc* database.sql.zip
|
91 |
+
"Make directory ""projects"" and unzip contents of ""executable.exe.zip"" into it.",mkdir projects && unzip executable.exe.zip -d projects
|
92 |
+
Replicate memo.txt to videos_backup while retaining its attributes and creating a hard link, cp -p -l memo.txt videos_backup
|
93 |
+
Place video.mp4 inside of database.sql.zip, zip -u database.sql.zip video.mp4
|
94 |
+
List directory contents including hidden files and directories,ls -a
|
95 |
+
"Zip files configuration.ini, proposal.docx, policy.pdf into memo.txt.zip, displaying verbose output",zip -v memo.txt.zip configuration.ini proposal.docx policy.pdf
|
96 |
+
Files should be sorted by size.,ls -S
|
97 |
+
Display the line ends for spreadsheet.xlsx, cat -E spreadsheet.xlsx
|
98 |
+
Verbose output should be displayed while extracting audio.mp3.zip., unzip -v audio.mp3.zip
|
99 |
+
Backup downloads to backup and preserve directory structure, cp -r downloads backup
|
100 |
+
Show report.pdf with characters that don't print, cat -v report.pdf
|
101 |
+
Shift script.py to projects treating it as a non-directory,mv -T script.py projects
|
102 |
+
"If the parent directories do not already exist, create the directory scripts with verbose output.",mkdir -v -p scripts
|
103 |
+
Extract the files from memo.txt.zip by navigating to projects_backup., unzip -C projects_backup memo.txt.zip
|
104 |
+
Move image.jpg to temp and handle it as a regular file,mv -T image.jpg temp
|
105 |
+
Transfer executable.exe to images_backup and establish a hard link, cp -l executable.exe images_backup
|
106 |
+
Show suppressed buffered output for configuration.ini, cat -u configuration.ini
|
107 |
+
Make executable.exe a new archive.zip including image.jpg, zip -c executable.exe.zip image.jpg
|
108 |
+
"Create a directory named 'photos', copy all files from 'music' to it, then move them to 'presentations', and finally find files matching the pattern '*.sql'.","mkdir /photos/ | cp /music/* /photos/ | mv /photos/* /presentations/ | find /presentations/ -name ""*.*.sql"""
|
109 |
+
Search for files with names starting with 'file' and not modified in the last 7 days,"find . -type f -name ""file*"" -mtime +7"
|
110 |
+
"Transfer memo.txt to databases, treating it like any other file.",mv -T memo.txt databases
|
111 |
+
"List the files, one for each line.",ls -1
|
112 |
+
Display directories listed before files,ls --group-directories-first
|
113 |
+
Ask before replacing presentation.pptx in videos and treat destination as a file,mv -Ti presentation.pptx videos
|
114 |
+
Examine policy.pdf.zip for mistakes., zip -T policy.pdf.zip
|
115 |
+
"When transferring to archives, avoid overwriting executable.exe.",mv -n executable.exe archives
|
116 |
+
Search for files modified exactly 30 days ago, find . -mtime 30
|
117 |
+
Verbose mode: Transfer image.jpg to backups,mv -v image.jpg backups
|
118 |
+
Make a backup of the current files and copy configuration.ini to reports_archive., cp -b -p configuration.ini reports_archive
|
119 |
+
Transfer document.docx to images and see the output in verbose,mv -v document.docx images
|
120 |
+
Prompt for confirmation before moving document.docx to presentations,mv -i document.docx presentations
|
121 |
+
Extract and update files with newer versions from presentation.pptx.zip, unzip -U presentation.pptx.zip
|
122 |
+
Pack databases and all its files into archive, zip -r databases databases
|
123 |
+
Retrieve script.py encrypted.'*.doc*' as the password for zip, unzip -P *.doc* script.py.zip
|
124 |
+
First-listed show directories,ls --group-directories-first
|
125 |
+
Copy memo.txt to temp_folder while preserving its attributes and creating a hard link, cp -p -l memo.txt temp_folder
|
126 |
+
Print the contents of policy.pdf with line ends., cat -E policy.pdf
|
127 |
+
Update existing files in image.jpg.zip, zip -u image.jpg.zip proposal.docx
|
128 |
+
List the contents of script.py using the ^tabsI, cat -T script.py
|
129 |
+
Create a hard link and replicate image.jpg to output while preserving its properties., cp -p -l image.jpg output
|
130 |
+
Copy database.sql to documents_backup and prompt before overwriting if necessary,cp --interactive database.sql documents_backup
|
131 |
+
Transfer executable.exe to photos_backup and interactively confirm overwrite while preserving attributes, cp -i -p executable.exe photos_backup
|
132 |
+
"Concatenate video.mp4 and presentation.pptx, numbering non-empty output lines",cat -b video.mp4 presentation.pptx
|
133 |
+
Find files with names containing 'data' and modified more than 30 days ago,"find . -type f -name ""*data*"" -mtime +30"
|
134 |
+
"Move document.docx to logs_archive, and if the files are already there, create a backup.", cp -b -i document.docx logs_archive
|
135 |
+
"List files having coloured output, sorted in reverse order by size and modification time.",ls -SltrG
|
136 |
+
Files should be shown sorted by modification time.,ls -t
|
137 |
+
List contents of script.py with non-blank line numbers, cat -b script.py
|
138 |
+
Look for files that are no larger than 1GB or 2GB., find . -size +1G -size -2G
|
139 |
+
Files should be shown in reverse sorted order.,ls -r
|
140 |
+
Look for files that have the name report.pdf., find . -name report.pdf
|
141 |
+
List proposal.docx contents with suppression of repeated empty lines, cat -s proposal.docx
|
142 |
+
Extract video.mp4.zip without displaying output, unzip -q video.mp4.zip
|
143 |
+
Mirror executable.exe with properties preserved to temp_folder,cp -a executable.exe temp_folder
|
144 |
+
"Create a ""templates"" directory and list the files within it.",mkdir templates && cp templates/* output
|
145 |
+
"Replicate executable.exe to templates_backup while retaining its attributes, creating a hard link, and making a backup", cp -p -l -b executable.exe templates_backup
|
146 |
+
Output the first 30 lines of proposal.docx,cat proposal.docx | head -n 30
|
147 |
+
"Make a hard link, backup, and duplicate photo.png to scripts_backup while maintaining all attributes.", cp -p -l -b photo.png scripts_backup
|
148 |
+
Print configuration.ini without error messages, cat -q configuration.ini
|
149 |
+
Update database.sql in proposal.docx.zip if newer, zip -f proposal.docx.zip database.sql
|
150 |
+
Show directories listed first,ls --group-directories-first
|
151 |
+
Move presentation.pptx to archives without replacing,mv -n presentation.pptx archives
|
152 |
+
Display the contents of report.pdf,cat report.pdf
|
153 |
+
"Unarchive spreadsheet.xlsx.zip, quietly and extracting to standard output to directory temp_folder",unzip -q -p -d temp_folder spreadsheet.xlsx.zip
|
154 |
+
"Move audio.mp3 to templates with force, prompt for confirmation, and move only if newer",mv -ifu audio.mp3 templates
|
155 |
+
Make a backup of the current files and copy proposal.docx to logs_archive.,cp -b proposal.docx logs_archive
|
156 |
+
Change directory to projects_backup and extract files from script.py.zip, unzip -C projects_backup script.py.zip
|
157 |
+
Backup executable.exe before forcefully moving it to downloads,mv -bf executable.exe downloads
|
158 |
+
List each line ending in proposal.docx in the contents., cat -E proposal.docx
|
159 |
+
Test presentation.pptx.zip for errors, unzip -t presentation.pptx.zip
|
160 |
+
"Forcefully move document.docx to templates, but prompt before overwriting",mv -fi document.docx templates
|
161 |
+
Sort files by size,ls -S
|
162 |
+
"Create a directory named ""projects"" and list the files in it.",mkdir projects && ls projects
|
163 |
+
List the contents of document.docx while suppressing buffered output., cat -u document.docx
|
164 |
+
"For each file name, create a backup, a hard link, and mirror it to the destination directory while preserving its properties.", cp -p -l -b database.sql photos_backup
|
165 |
+
Move script.py to documents and replace existing files,mv -f script.py documents
|
166 |
+
"Free document.docx.zip, listing files only, to directory downloads_archive",unzip -l -d downloads_archive document.docx.zip
|
167 |
+
Clone database.sql to music_library and backup existing files, cp -b -p database.sql music_library
|
168 |
+
"From memo.txt.zip, remove presentation.pptx.", zip -d memo.txt.zip presentation.pptx
|
169 |
+
"Display presentation.pptx, showing the dollar at the end of each line",cat -e presentation.pptx
|
170 |
+
Transfer backups to temp_folder with recursive copying, cp -r backups temp_folder
|
171 |
+
"Mirror proposal.docx to videos_backup with attributes intact, creating a hard link, and making a backup", cp -p -l -b proposal.docx videos_backup
|
172 |
+
Extract files from photos.zip matching *.py and move to logs_archive,"tar -cvf - -C photos.zip . | tar xvf - -C logs_archive --wildcards ""*.py"""
|
173 |
+
List contents of photo.png with line numbers, cat -n photo.png
|
174 |
+
"Display spreadsheet.xlsx, showing tabs as '^I'",cat -T spreadsheet.xlsx
|
175 |
+
Move memo.txt to the backup and perform a force overwrite there., cp -f memo.txt backup
|
176 |
+
"Copy images in its entirety, including all subdirectories, to archive.", cp -r images archive
|
177 |
+
Files in report.pdf.zip are shown., unzip -l report.pdf.zip
|
178 |
+
Copy files to reports, find . -name presentation.pptx -exec cp {} reports \
|
179 |
+
"Transfer spreadsheet.xlsx to logs, then output detailed comments.",mv -v spreadsheet.xlsx logs
|
180 |
+
Find files named spreadsheet.xlsx, find . -name spreadsheet.xlsx
|
181 |
+
Find the report.pdf files., find . -name report.pdf
|
182 |
+
"Create a backup of policy.pdf, do not overwrite, and display verbose output",mv -bnv policy.pdf videos
|
183 |
+
"Package files configuration.ini, photo.png, database.sql into document.docx.zip, displaying verbose output, storing file attributes",zip -v -X document.docx.zip configuration.ini photo.png database.sql
|
184 |
+
Examine configuration.ini.zip for mistakes., zip -T configuration.ini.zip
|
185 |
+
Sort files by modification time and display file sizes in human-readable format,ls -ltSh
|
186 |
+
"Enumerate all files, even hidden ones, with the word ""log"" in their names.",ls -a *log*
|
187 |
+
Unzip files from proposal.docx.zip ignoring directory structure, unzip -j proposal.docx.zip
|
188 |
+
Display audio.mp3 with line endings, cat -E audio.mp3
|
189 |
+
"Before overwriting, move proposal.docx to logs and prompt.",mv -i proposal.docx logs
|
190 |
+
Zip proposal.docx without any folder organization, zip -j configuration.ini.zip proposal.docx
|
191 |
+
"Move audio.mp3 to reports with force, prompt for confirmation, and treat destination as file",mv -ifT audio.mp3 reports
|
192 |
+
"If spreadsheet.xlsx is more recent or does not already exist in documents, move it there.",mv -u spreadsheet.xlsx documents
|
193 |
+
"If spreadsheet.xlsx is more recent or does not already exist in documents, move it there.",mv -u spreadsheet.xlsx documents
|
194 |
+
"Move music to archive, making a backup of all currently stored files.", cp -b -r music archive
|
195 |
+
Display detailed information about files,ls -l
|
196 |
+
"Make a hard link, backup, and copy spreadsheet.xlsx to photos_backup while maintaining its properties.", cp -p -l -b spreadsheet.xlsx photos_backup
|
197 |
+
"Clone policy.pdf to music_library with attribute preservation, creating a hard link, and making a backup", cp -p -l -b policy.pdf music_library
|
198 |
+
Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
|
199 |
+
Overwrite existing files in projects with policy.pdf,mv -f policy.pdf projects
|
200 |
+
List files with each on a new line,ls -1
|
201 |
+
"Unpack configuration.ini.zip, verbose output, excluding backup_old2.docx, and testing archive integrity only to directory templates_backup",unzip -v -x backup_old2.docx -t -d templates_backup configuration.ini.zip
|
202 |
+
Show the file's inode numbers.,ls -i
|
203 |
+
Remove presentation.pptx from proposal.docx.zip, zip -d proposal.docx.zip presentation.pptx
|
204 |
+
Find the usual files., find . -type f
|
205 |
+
Files should be sorted descendingly.,ls -r
|
206 |
+
Fill executable.exe with audio.mp3.zip, zip -c executable.exe.zip audio.mp3
|
207 |
+
Avoid replacing executable.exe with an already-existing file in images.,mv -n executable.exe images
|
208 |
+
Move database.sql to report.pdf.zip and add it., zip -m report.pdf.zip database.sql
|
209 |
+
Make backup copies of database.sql and duplicate it to backup.,cp -b database.sql backup
|
210 |
+
Verbose output should be displayed while extracting contract.pdf.zip., unzip -v contract.pdf.zip
|
211 |
+
Output the first 100 lines of video.mp4,cat video.mp4 | head -n 100
|
212 |
+
Look for files exactly 50 bytes in size, find . -size 50c
|
213 |
+
Check database.sql.zip to maintain integrity, zip -T database.sql.zip
|
214 |
+
Output the first 25 lines of configuration.ini,cat configuration.ini | head -n 25
|
215 |
+
Zip memo.txt without directory structure, zip -j audio.mp3.zip memo.txt
|
216 |
+
"Concatenate script.py and database.sql, numbering non-empty output lines and showing non-printing characters",cat -b -v script.py database.sql
|
217 |
+
Sort files by the date they were last modified.,ls -t
|
218 |
+
List files in memo.txt.zip, unzip -l memo.txt.zip
|
219 |
+
Display directories without a content list.,ls -d
|
220 |
+
Make a copy of document.docx in projects_backup and forcefully replace any existing files., cp -f document.docx projects_backup
|
221 |
+
Show files arranged by size,ls -S
|
222 |
+
Extract files silently from spreadsheet.xlsx.zip, unzip -q spreadsheet.xlsx.zip
|
223 |
+
"Transfer all of the files from ""databases"" to ""reports,"" then zip them all together into a file called ""file_name].zip.""",cp /databases/* /reports/ | zip -r /reports/script.py.zip /reports/*
|
224 |
+
List the contents of image.jpg.zip., unzip -l image.jpg.zip
|
225 |
+
Ask before overwriting backups with image.jpg,mv -i image.jpg backups
|
226 |
+
Subdirectories are listed recursively,ls -R
|
227 |
+
"Display hidden files and directories in long format, then count the number of lines",ls -al | wc -l
|
228 |
+
Use hard linking to clone script.py to music_library, cp -l script.py music_library
|
229 |
+
Create a new script.py by archiving report.pdf.zip, zip -c script.py.zip report.pdf
|
230 |
+
"Prior to replacing reports with script.py, ask.",mv -i script.py reports
|
231 |
+
Prompt before overwriting script.py in videos_backup, cp -i script.py videos_backup
|
232 |
+
Make a hard link duplicate of executable.exe in images_backup., cp -l executable.exe images_backup
|
233 |
+
"Archive files audio.mp3, presentation.pptx, audio.mp3 into proposal.docx.zip, using password 'pass123', verbose output",zip -P pass123 -v proposal.docx.zip audio.mp3 presentation.pptx audio.mp3
|
234 |
+
Create new archive policy.pdf.zip from contract.pdf, zip -c policy.pdf.zip contract.pdf
|
235 |
+
"Transfer all of the files from ""databases"" to ""reports,"" then zip them all together into a file called ""file_name].zip.""",cp /databases/* /reports/ | zip -r /reports/script.py.zip /reports/*
|
236 |
+
Transfer temp and its contents to logs_archive recursively, cp -r temp logs_archive
|
237 |
+
Overwrite files without prompting when extracting memo.txt.zip, unzip -o memo.txt.zip
|
238 |
+
Display files sorted by modification time in reverse order,ls -ltr
|
239 |
+
Look for files modified within the last 7 days, find . -mtime -7
|
240 |
+
"Create a backup of video.mp4, do not overwrite, and move only if newer",mv -bnu video.mp4 documents
|
241 |
+
Put script.py on silent display., cat -q script.py
|
242 |
+
Search for files modified exactly 30 days ago, find . -mtime 30
|
243 |
+
Show files listed in reverse order,ls -r
|
244 |
+
Delete files with name document.docx, find . -name document.docx -exec rm {} \
|
245 |
+
"Open audio.mp3.zip, extract the contents, and replace any existing files.", unzip -o audio.mp3.zip
|
246 |
+
Files should be listed in the lengthy listing format.,ls -l
|
247 |
+
Add and move document.docx to video.mp4.zip, zip -m video.mp4.zip document.docx
|
248 |
+
"Extract report.pdf.zip, only extracting files matching pattern '*.txt', to directory scripts_backup",unzip -j -d scripts_backup report.pdf.zip '*.txt'
|
249 |
+
Make a backup of the current files and copy memo.txt to downloads_archive.,cp -b memo.txt downloads_archive
|
250 |
+
Move the files listed in images to videos_backup. maintaining the directory structure,find images -type f -exec mv -t videos_backup -- {} +
|
251 |
+
Check for updates and add proposal.docx to presentation.pptx.zip, zip -u presentation.pptx.zip proposal.docx
|
252 |
+
"Transfer spreadsheet.xlsx to projects, replacing any files that are already there.",mv -f spreadsheet.xlsx projects
|
253 |
+
Present file sizes in an easily readable way.,ls -h
|
254 |
+
Display detailed information: Move script.py to scripts,mv -v script.py scripts
|
255 |
+
"Move the files to documents_archive from documents, then delete them from the source.",rsync -av --remove-source-files documents/ documents_archive
|
256 |
+
Modify the file permissions, find . -type f -exec chmod 644 {} \
|
257 |
+
Show line endings for executable.exe, cat -E executable.exe
|
258 |
+
Provide password '*.sql' to extract presentation.pptx.zip, unzip -P *.sql presentation.pptx.zip
|
259 |
+
"Show directories themselves with detailed information, then list the number of files in each directory",ls -ld */ | xargs -I {} sh -c 'echo {}; ls -l {} | wc -l'
|
260 |
+
Verbose output should be displayed while extracting photo.png.zip., unzip -v photo.png.zip
|
261 |
+
Make executable.exe a new archive.zip including image.jpg, zip -c executable.exe.zip image.jpg
|
262 |
+
Mirror contract.pdf to images_backup and replace any files that already exist without authorization, cp -f contract.pdf images_backup
|
263 |
+
Show image.jpg with suppressed buffered output, cat -u image.jpg
|
264 |
+
Print presentation.pptx contents with line numbering, cat -n presentation.pptx
|
265 |
+
Zip contract.pdf without any folder organization, zip -j script.py.zip contract.pdf
|
266 |
+
Making a hard link and mirroring presentation.pptx to scripts_backup while preserving properties, cp -p -l presentation.pptx scripts_backup
|
267 |
+
List directories without their contents,ls -d
|
268 |
+
List files in long format with colored output,ls -lG
|
269 |
+
Put script.py in the designated directory. thinking about it as a file rather than a directory,mv -T script.py temp
|
270 |
+
Overwrite existing files in projects with policy.pdf,mv -f policy.pdf projects
|
271 |
+
Incorporate report.pdf into document.docx.zip then remove, zip -m document.docx.zip report.pdf
|
272 |
+
Show hidden files and directories,ls -a
|
273 |
+
Place document.docx in the configuration.ini.zip archive., zip -m configuration.ini.zip document.docx
|
274 |
+
Check report.pdf.zip for errors, unzip -t report.pdf.zip
|
275 |
+
"Transfer report.pdf to downloads_archive and, if required, prompt before overwriting",cp --interactive report.pdf downloads_archive
|
276 |
+
Files from memo.txt.zip should be extracted into reports_archive., unzip -d reports_archive memo.txt.zip
|
277 |
+
Duplicate photo.png to logs_archive and create backup copies,cp -b photo.png logs_archive
|
278 |
+
Pack document.docx into photo.png.zip, zip -c photo.png.zip document.docx
|
279 |
+
Show presentation.pptx with line numbers that aren't blank., cat -b presentation.pptx
|
280 |
+
Display files sorted by last modified time,ls -t
|
281 |
+
"Unpack proposal.docx.zip, preserving permissions, overwriting existing files, and only extracting files matching pattern '*.pdf' to directory documents_archive",unzip -K -o -j -d documents_archive proposal.docx.zip '*.pdf'
|
282 |
+
Files should be shown sorted by last modification time.,ls -t
|
283 |
+
Find files modified within the last 7 days,find . -type f -mtime -7
|
284 |
+
Create a hard link by moving configuration.ini to documents_archive., cp -l configuration.ini documents_archive
|
285 |
+
Display presentation.pptx with the error messages hidden, cat -q presentation.pptx
|
286 |
+
Duplicate configuration.ini to scripts_backup with a backup if files exist, cp -b -i configuration.ini scripts_backup
|
287 |
+
Recursively compress backups, zip -r backups backups
|
288 |
+
Create a backup by recursively copying images to images_backup while preserving its properties., cp -r -p -b images images_backup
|
289 |
+
Place document.docx.zip inside report.pdf., zip -m document.docx.zip report.pdf
|
290 |
+
"Display policy.pdf, showing line numbers, non-printing characters, and tabs as spaces, with a '$' at the end of each line",cat -n -vT -e policy.pdf
|
291 |
+
"Display spreadsheet.xlsx, showing tabs as '^I'",cat -T spreadsheet.xlsx
|
292 |
+
"Zip files configuration.ini, presentation.pptx, spreadsheet.xlsx into executable.exe.zip, using password 'pass123', excluding '*.tmp' files",zip -P pass123 -x '*.tmp' executable.exe.zip configuration.ini presentation.pptx spreadsheet.xlsx
|
293 |
+
Update existing files with newer versions from audio.mp3.zip, unzip -U audio.mp3.zip
|
294 |
+
Clone report.pdf to reports_archive with attribute preservation and creating a hard link, cp -p -l report.pdf reports_archive
|
295 |
+
List each line ending in image.jpg in the contents., cat -E image.jpg
|
296 |
+
Show hidden files and directories in long format with colored output,ls -alG
|
297 |
+
Extract encrypted photo.png.zip with password '*.pdf', unzip -P *.pdf photo.png.zip
|
298 |
+
Print database.sql contents with line numbering, cat -n database.sql
|
299 |
+
Verify presentation.pptx.zip for integrity, zip -T presentation.pptx.zip
|
300 |
+
Decompress script.py.zip with password 'password123' to directory scripts_backup,unzip -P password123 -d scripts_backup script.py.zip
|
301 |
+
Search for files between 1GB and 2GB in size, find . -size +1G -size -2G
|
302 |
+
"Unzip the contents of ""database.sql"" into the directory ""music"" that has been created.",mkdir music && unzip database.sql.zip -d music
|
303 |
+
Create a new archive using photo.png and database.sql.zip., zip -c database.sql.zip photo.png
|
304 |
+
Create directory downloads and parent directories if they do not exist with verbose output,mkdir -p -v downloads
|
305 |
+
Search for files modified in the last 24 hours and larger than 100KB,find . -type f -mtime -1 -size +100k
|
306 |
+
Show the names of the directories rather than their contents.,ls -d
|
307 |
+
Show all control characters for audio.mp3, cat -A audio.mp3
|
308 |
+
Show hidden files with regular files.,ls -a
|
309 |
+
Create a hard link and replicate video.mp4 to archive while preserving its properties., cp -p -l video.mp4 archive
|
310 |
+
Move script.py with properties preserved to documents_archive,cp -a script.py documents_archive
|
311 |
+
Show non-blank line numbers for spreadsheet.xlsx, cat -b spreadsheet.xlsx
|
312 |
+
"Using attribute preservation, clone video.mp4 to temp_folder, establish a hard link, and create a backup", cp -p -l -b video.mp4 temp_folder
|
313 |
+
Sort files based on modification time,ls -t
|
314 |
+
List files sorted by time of modification,ls -t
|
315 |
+
Unpack policy.pdf.zip with password 'pass123' and preserving permissions to directory scripts_backup,unzip -P pass123 -K -d scripts_backup policy.pdf.zip
|
316 |
+
Extract the files from policy.pdf.zip by changing the directory to projects_backup., unzip -C projects_backup policy.pdf.zip
|
317 |
+
Show line numbers for database.sql that are not blank., cat -b database.sql
|
318 |
+
List the contents of report.pdf while suppressing the repetitive blank lines., cat -s report.pdf
|
319 |
+
Move the files to scripts_backup after searching templates for *.ini.,"grep -rl ""*.ini"" templates | xargs -I {} mv {} scripts_backup"
|
320 |
+
Shift script.py to projects treating it as a non-directory,mv -T script.py projects
|
321 |
+
"Display proposal.docx, showing line numbers and non-printing characters, with a '$' at the end of each line",cat -n -v -e proposal.docx
|
322 |
+
"Unpack executable.exe.zip, preserving permissions, to directory documents_backup",unzip -K -d documents_backup executable.exe.zip
|
323 |
+
"Display hidden files and directories in long format, then remove the owner information","ls -al | awk '{$2=$3=$4=""""; print $0}'"
|
324 |
+
Verbose result: proposal.docx should be moved to templates.,mv -v proposal.docx templates
|
325 |
+
Duplicate presentation.pptx to downloads_archive and force replacement, cp -f presentation.pptx downloads_archive
|
326 |
+
"Make a hard link, backup, and duplicate executable.exe to projects_backup while maintaining all attributes.", cp -p -l -b executable.exe projects_backup
|
327 |
+
"List all the contents in a directory, including any hidden files.",ls -a
|
328 |
+
Verbose output should be displayed while extracting contract.pdf.zip., unzip -v contract.pdf.zip
|
329 |
+
"If files already exist, duplicate spreadsheet.xlsx to projects_backup using a backup.", cp -b -i spreadsheet.xlsx projects_backup
|
330 |
+
Show all control characters for audio.mp3, cat -A audio.mp3
|
331 |
+
Extract files silently from spreadsheet.xlsx.zip, unzip -q spreadsheet.xlsx.zip
|
332 |
+
Copy report.pdf to videos_backup and prompt before overwriting if necessary,cp -i report.pdf videos_backup
|
333 |
+
Provide a complete informational list of every file in the current directory.,ls -al
|
334 |
+
Create directory databases with verbose output,mkdir -v databases
|
335 |
+
Print the contents of policy.pdf with line ends., cat -E policy.pdf
|
336 |
+
Locate files modified more than 1 year ago, find . -mtime +365
|
337 |
+
Files from configuration.ini.zip should be extracted into documents_backup., unzip -d documents_backup configuration.ini.zip
|
338 |
+
Find directories modified more than 30 days ago,find . -type d -mtime +30
|
339 |
+
Move the files to reports_archive after extracting them from temp that match *.mp4.,"tar -cvf - -C temp.zip . | tar xvf - -C reports_archive --wildcards ""*.mp4"""
|
340 |
+
Verify document.docx.zip for integrity, unzip -t document.docx.zip
|
341 |
+
Search for files with names starting with 'file' and owned by the user 'user',"find . -type f -name ""file*"" -user user"
|
342 |
+
Take out only the most recent files from video.mp4.zip., unzip -U video.mp4.zip
|
343 |
+
List files sorted by size and modification time with colored output,ls -SltG
|
344 |
+
"List all files, arranged by size, with the word ""notes"" in their names.",ls -S *notes*
|
345 |
+
List contents of memo.txt with non-printing characters displayed, cat -v memo.txt
|
346 |
+
Unzip files from script.py.zip quietly, unzip -q script.py.zip
|
347 |
+
Show non-blank line numbers for proposal.docx, cat -b proposal.docx
|
348 |
+
Print database.sql while suppressing the output from the buffer., cat -u database.sql
|
349 |
+
"Provide a complete list of every file in the current directory, and then reverse-order the files based on their modification times.","ls -al | sort -k6,6r"
|
350 |
+
Duplicate images to downloads_archive including all subdirectories, cp -r images downloads_archive
|
351 |
+
"Make a hard link, backup, and replicate memo.txt to music_library while preserving its properties.", cp -p -l -b memo.txt music_library
|
352 |
+
Test integrity of contract.pdf.zip, zip -T contract.pdf.zip
|
353 |
+
Transfer data to music, find . -name report.pdf -execdir cp {} music \
|
354 |
+
List the contents of proposal.docx while displaying each control character., cat -A proposal.docx
|
355 |
+
Take files out of policy.pdf.zip and replace any files that already exist., unzip -o policy.pdf.zip
|
356 |
+
"Release photo.png.zip, excluding archive.zip, verbose output, and extracting symbolic links to directory output",unzip -x archive.zip -v -l -d output photo.png.zip
|
357 |
+
Ignore directory structure when extracting files from document.docx.zip, unzip -j document.docx.zip
|
358 |
+
Find directories with names ending in 'backup' and with read permissions for the group,"find . -type d -name ""*backup"" -perm /g=r"
|
359 |
+
Extract files from proposal.docx.zip and change to output, unzip -C output proposal.docx.zip
|
360 |
+
Search for files modified exactly 30 days ago, find . -mtime 30
|
361 |
+
Show files containing more details,ls -l
|
362 |
+
"Forcefully move presentation.pptx to photos, but ask for approval",mv -if presentation.pptx photos
|
363 |
+
"Without asking, make a backup, and force copy configuration.ini to downloads_archive while maintaining attributes", cp -f -p -b configuration.ini downloads_archive
|
364 |
+
Transfer downloads to archive with recursive copying and preserving attributes, cp -r -p downloads archive
|
365 |
+
Display files in descending order of size.,ls -S
|
366 |
+
List directories themselves with colored output and detailed information,ls -dGl
|
367 |
+
List the files in order of modification date.,ls -t
|
368 |
+
"Create directory ""templates"" and move files matching pattern ""*.py"" to it.",mkdir templates && mv **.py* templates
|
369 |
+
"List all files in the current directory with detailed information, then sort by file extension",ls -al | awk -F. '{print $NF}' | sort
|
370 |
+
List file sizes in human-readable format,ls -h
|
371 |
+
"Archive files database.sql, configuration.ini, audio.mp3 into video.mp4.zip, excluding '*.tmp' files, quietly",zip -x '*.tmp' -q video.mp4.zip database.sql configuration.ini audio.mp3
|
372 |
+
"Move memo.txt to reports_archive, then prompt for a file replacement.", cp -i memo.txt reports_archive
|
373 |
+
Print each file's inode number.,ls -i
|
374 |
+
Duplicate photo.png to logs_archive and create backup copies,cp -b photo.png logs_archive
|
375 |
+
"While extracting files, extract executable.exe.zip", unzip -q executable.exe.zip
|
376 |
+
Display files with additional details,ls -l
|
377 |
+
Include hidden files in the list of files.,ls -a
|
378 |
+
Verbose mode: Move image.jpg to documents,mv -v image.jpg documents
|
379 |
+
"Package files audio.mp3, photo.png, presentation.pptx into policy.pdf.zip, saving extended attributes",zip -X policy.pdf.zip audio.mp3 photo.png presentation.pptx
|
380 |
+
"Files can be sorted based on when they were last modified, and the output can be coloured and presented in a legible fashion.",ls -lt -hG
|
381 |
+
Look for files with the name policy.pdf., find . -name policy.pdf
|
382 |
+
Duplicate proposal.docx to photos_backup with user confirmation for overwrite, cp -i proposal.docx photos_backup
|
383 |
+
Never use policy.pdf in place of downloads.,mv -n policy.pdf downloads
|
384 |
+
Output the last 15 lines of video.mp4,cat video.mp4 | tail -n 15
|
385 |
+
"Display hidden files and directories in long format, then show only the permissions",ls -al | awk '{print $1}'
|
386 |
+
Make a copy of policy.pdf and obliterate the current files in documents_backup., cp -f policy.pdf documents_backup
|
387 |
+
List files sorted by size and modification time with colored output,ls -SltG
|
388 |
+
Display presentation.pptx with line endings, cat -E presentation.pptx
|
389 |
+
"Prompt before overwriting spreadsheet.xlsx in downloads, treat destination as file, and move only if newer",mv -iuT spreadsheet.xlsx downloads
|
390 |
+
Look for regular files, find . -type f
|
391 |
+
Output the last 10 lines of database.sql,cat database.sql | tail
|
392 |
+
Extract and update files with newer versions from presentation.pptx.zip, unzip -U presentation.pptx.zip
|
393 |
+
Transfer proposal.docx to temp without making any changes.,mv -n proposal.docx temp
|
394 |
+
"Recursive copying is used to move archives to music_library, maintaining attributes, and making a backup.", cp -r -p -b archives music_library
|
395 |
+
"Archive files photo.png, executable.exe, presentation.pptx into presentation.pptx.zip, excluding '*.tmp' files, using compression level 9",zip -x '*.tmp' -9 presentation.pptx.zip photo.png executable.exe presentation.pptx
|
396 |
+
"Out of database.sql.zip, remove database.sql.", zip -d database.sql.zip database.sql
|
397 |
+
Find files modified within the last 7 days,find . -type f -mtime -7
|
398 |
+
Insert spreadsheet.xlsx inside the configuration.ini.zip archive., zip -u configuration.ini.zip spreadsheet.xlsx
|
399 |
+
"Force copy spreadsheet.xlsx to documents_archive without prompting, preserving attributes, and creating a backup", cp -f -p -b spreadsheet.xlsx documents_archive
|
400 |
+
Files from memo.txt.zip should be extracted into scripts_backup., unzip -d scripts_backup memo.txt.zip
|
401 |
+
Place video.mp4 inside of database.sql.zip, zip -u database.sql.zip video.mp4
|
402 |
+
Search for standard files., find . -type f
|
403 |
+
Verify integrity of spreadsheet.xlsx.zip, unzip -t spreadsheet.xlsx.zip
|
404 |
+
Update image.jpg in configuration.ini.zip if newer, zip -f configuration.ini.zip image.jpg
|
405 |
+
Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
|
406 |
+
Display detailed information: Move script.py to scripts,mv -v script.py scripts
|
407 |
+
"Move audio.mp3 to reports with force, prompt for confirmation, and treat destination as file",mv -ifT audio.mp3 reports
|
408 |
+
"Create directory ""templates"" and remove files matching pattern ""*.mp3"".",mkdir templates && rm **.mp3*
|
409 |
+
Use gzip to compress files., find . -type f -exec gzip {} \
|
410 |
+
Prompt for confirmation before replacing document.docx in music,mv -i document.docx music
|
411 |
+
"Files from image.jpg.zip should be extracted, then changed to videos_backup.", unzip -C videos_backup image.jpg.zip
|
412 |
+
Copy database.sql and save its properties in documents_backup., cp -p database.sql documents_backup
|
413 |
+
"Copy photo.png to projects_backup, ensuring that the user approves the overwrite.", cp -i photo.png projects_backup
|
414 |
+
Ask for confirmation before overwriting spreadsheet.xlsx with archives,mv -i spreadsheet.xlsx archives
|
415 |
+
Search for files with names containing 'image' and with execute permissions for others,"find . -type f -name ""*image*"" -perm /o=x"
|
416 |
+
Move contract.pdf to music only if it's newer or doesn't exist,mv -u contract.pdf music
|
417 |
+
"Package files video.mp4, script.py, video.mp4 into policy.pdf.zip, compressing with best compression",zip -9 policy.pdf.zip video.mp4 script.py video.mp4
|
418 |
+
Making a hard link and mirroring presentation.pptx to scripts_backup while preserving properties, cp -p -l presentation.pptx scripts_backup
|
419 |
+
Avoid replacing report.pdf with temp.,mv -n report.pdf temp
|
420 |
+
Show file sizes in human-readable units,ls -h
|
421 |
+
Transfer script.py to downloads_archive and ask for user confirmation if files exist,cp -i script.py downloads_archive
|
422 |
+
"Clone image.jpg to images_backup with attribute preservation, creating a hard link, and making a backup", cp -p -l -b image.jpg images_backup
|
423 |
+
List the files in reverse order based on size and modification time.,ls -Sltr
|
424 |
+
Print document.docx while preventing the display of several blank lines., cat -s document.docx
|
425 |
+
"Create the directory ""videos"" and provide a list of its contents.",mkdir videos && ls videos
|
426 |
+
"While maintaining its properties, copy configuration.ini to logs_archive and establish a hard link.", cp -p -l configuration.ini logs_archive
|
427 |
+
Look for files with the name database.sql., find . -name database.sql
|
428 |
+
compel Make a backup of the current files and copy document.docx to temp_folder., cp -b -f document.docx temp_folder
|
429 |
+
"To photos, copy the files.", find . -name database.sql -exec cp {} photos \
|
430 |
+
Replicate proposal.docx to output and prompt for user confirmation,cp -i proposal.docx output
|
431 |
+
Search for files modified exactly 30 days ago, find . -mtime 30
|
432 |
+
Files will be shown sorted by size.,ls -S
|
433 |
+
Transferring report.pdf to downloads will replace any preexisting files.,mv -f report.pdf downloads
|
434 |
+
Duplicate proposal.docx to archive with interactive confirmation required,cp -i proposal.docx archive
|
435 |
+
Create zip of backups and its contents, zip -r backups backups
|