Rea-per commited on
Commit
819c01a
1 Parent(s): 5eb487b

Upload 3 files

Browse files
Files changed (3) hide show
  1. test.csv +436 -436
  2. train.csv +0 -0
  3. val.csv +435 -435
test.csv CHANGED
@@ -1,436 +1,436 @@
1
- ,Text,Code
2
- 8,Display hidden files along with normal files,ls -a
3
- 6307,Zip configuration.ini ignoring directory structure, zip -j presentation.pptx.zip configuration.ini
4
- 994,Ignore paths when extracting files from contract.pdf.zip, unzip -j contract.pdf.zip
5
- 7966,Extract files from image.jpg.zip and change to documents_backup, unzip -C documents_backup image.jpg.zip
6
- 2614,"Recursive copying is used to move music to documents_archive, maintaining attributes, and making a backup.", cp -r -p -b music documents_archive
7
- 1513,"Extract executable.exe.zip, then update your files with the latest versions.", unzip -U executable.exe.zip
8
- 3001,Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
9
- 5677,"Display every file, even those that are hidden.",ls -a
10
- 6768,Make a fresh archive with executable.exe.zip from executable.exe, zip -c executable.exe.zip executable.exe
11
- 2941,Display document.docx with suppressed empty lines, cat -s document.docx
12
- 511,List the files in order of modification date.,ls -t
13
- 7735,"Make a copy of presentation.pptx in images_backup, but before overwriting, get permission.", cp -i presentation.pptx images_backup
14
- 1055,Make new archive photo.png.zip with audio.mp3, zip -c photo.png.zip audio.mp3
15
- 1056,Freshen policy.pdf in spreadsheet.xlsx.zip, zip -f spreadsheet.xlsx.zip policy.pdf
16
- 1595,Zip proposal.docx without any folder organization, zip -j configuration.ini.zip proposal.docx
17
- 7571,"Sort all files that start with ""data"" backwards.",ls -r data*
18
- 4279,Transfer document.docx to music_library while keeping all of its properties., cp -p document.docx music_library
19
- 6431,Display database.sql with tabs as ^I, cat -T database.sql
20
- 2189,"Create directory ""scripts"" and find files matching pattern ""*.exe"" in it.","mkdir scripts && find scripts -name ""**.exe*"""
21
- 8625,Display the line ends for memo.txt, cat -E memo.txt
22
- 554,List each file on a single line.,ls -1
23
- 6323,Look for block devices, find . -type b
24
- 7407,"Generate directory ""documents"" and list contents of ""documents"".",mkdir documents && ls documents
25
- 856,"Recursive copying is used to move projects to scripts_backup, maintaining attributes, and making a backup.", cp -r -p -b projects scripts_backup
26
- 668,Put script.py in the designated directory. thinking about it as a file rather than a directory,mv -T script.py temp
27
- 1193,Display video.mp4 with line endings, cat -E video.mp4
28
- 8238,"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
- 6504,"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
- 4756,"Release memo.txt.zip, extracting symbolic links and listing files only to directory videos_backup",unzip -l -d videos_backup memo.txt.zip
31
- 8243,"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
- 4412,Extract files with verbose output from database.sql.zip, unzip -v database.sql.zip
33
- 2252,Files will be shown sorted by size.,ls -S
34
- 6861,File compression with gzip, find . -type f -execdir gzip {} \
35
- 6328,Locate symbolic links, find . -type l
36
- 323,Clone report.pdf to reports_archive and prompt for permission to overwrite, cp -i report.pdf reports_archive
37
- 1862,List files sorted by size and modification time with colored output,ls -SltG
38
- 5091,Look for figurative connections., find . -type l
39
- 1061,Check for updates and add proposal.docx to executable.exe.zip, zip -f executable.exe.zip proposal.docx
40
- 965,Extract files and overwrite existing files from document.docx.zip, unzip -o document.docx.zip
41
- 330,Generate a hard link of report.pdf in photos_backup, cp -l report.pdf photos_backup
42
- 1017,Compress projects and its contents, zip -r projects projects
43
- 1087,Zip memo.txt without directory structure, zip -j audio.mp3.zip memo.txt
44
- 4771,"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
- 7795,"While maintaining its properties, copy contract.pdf to projects_backup and establish a hard link.", cp -p -l contract.pdf projects_backup
46
- 1297,"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
- 3060,"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
- 4918,Check for corruption with configuration.ini.zip., unzip -t configuration.ini.zip
49
- 868,"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
- 6108,"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
- 3047,"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
- 1488,"While extracting files, extract image.jpg.zip", unzip -q image.jpg.zip
53
- 2201,"Display every file, even those that are hidden.",ls -a
54
- 5482,Filter files in templates based on *.mp3 and move them to downloads_archive,"grep ""*.mp3"" templates/* | xargs -I {} mv {} downloads_archive"
55
- 6213,Extract only newer files from spreadsheet.xlsx.zip, unzip -U spreadsheet.xlsx.zip
56
- 3540,Enable colorized output,ls -G
57
- 4581,Look for files with name policy.pdf, find . -name policy.pdf
58
- 6194,Extract files silently from spreadsheet.xlsx.zip, unzip -q spreadsheet.xlsx.zip
59
- 5803,Show hidden files and folders in a lengthy format with rich colours and details.,ls -alG
60
- 5665,"Create directory ""scripts"" and find files matching pattern ""*.exe"" in it.","mkdir scripts && find scripts -name ""**.exe*"""
61
- 185,"Forcefully move presentation.pptx to photos, overwriting if necessary",mv -f presentation.pptx photos
62
- 4934,Files from script.py.zip should be extracted into output., unzip -d output script.py.zip
63
- 4836,Search for files with names containing 'image' and with read permissions for the group,"find . -type f -name ""*image*"" -perm /g=r"
64
- 1027,Add and move executable.exe to report.pdf.zip, zip -m report.pdf.zip executable.exe
65
- 7413,"List all the contents in a directory, including any hidden files.",ls -a
66
- 2215,Provide a human-readable list of file sizes.,ls -h
67
- 2922,Show non-blank line numbers for document.docx, cat -b document.docx
68
- 2083,Copy document.docx to output while preserving its attributes, cp -p document.docx output
69
- 1744,"List all files and directories, including hidden ones",ls -a
70
- 7179,Move database.sql to documents and provide verbose output,mv -v database.sql documents
71
- 8156,Show report.pdf contents with repeated empty lines suppressed, cat -s report.pdf
72
- 8037,Check configuration.ini.zip for errors, zip -T configuration.ini.zip
73
- 6366,Delete files modified more than 1 year ago, find . -type f -mtime +365 -delete
74
- 742,"Transfer configuration.ini to output and, if required, prompt before overwriting",cp --interactive configuration.ini output
75
- 8084,Move files to videos, find . -name spreadsheet.xlsx -exec mv {} videos \
76
- 8561,Find the presentation.pptx files., find . -name presentation.pptx
77
- 7855,"Make a list of the files in the ""presentations"" directory after creating it.",mkdir presentations && cp presentations/* projects_backup
78
- 1864,Sort files by size and modification time in reverse order with colored output,ls -SltrG
79
- 2859,Locate files smaller than 100KB, find . -size -100k
80
- 6537,"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
- 2572,"Move music to archive, making a backup of all currently stored files.", cp -b -r music archive
82
- 1219,Print proposal.docx with tabs represented as ^I, cat -T proposal.docx
83
- 3114,Search for files with names ending in '.doc' and larger than 500KB,"find . -type f -name ""*.doc"" -size +500k"
84
- 1429,List the contents of photo.png.zip., unzip -l photo.png.zip
85
- 88,Print inode numbers for each file,ls -i
86
- 2948,List video.mp4 contents with suppression of repeated empty lines, cat -s video.mp4
87
- 3123,Show the contents of executable.exe with line numbers,cat -n executable.exe
88
- 7840,"If the parent directories and directory logs don't already exist, create them.",mkdir -p logs
89
- 7814,"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
- 1127,Move files to documents, find . -name document.docx -exec mv {} documents \
91
- 5164,Show spreadsheet.xlsx in tabbed mode as \I, cat -T spreadsheet.xlsx
92
- 5292,Show directory names without contents,ls -d
93
- 5786,List files in a lengthy format with output that is coloured.,ls -lG
94
- 8400,Extraction of image.jpg.zip in full, unzip -v image.jpg.zip
95
- 6325,Locate named pipes, find . -type p
96
- 4704,Show all control characters for presentation.pptx, cat -A presentation.pptx
97
- 1502,"When extracting files from report.pdf.zip, ignore paths.", unzip -j report.pdf.zip
98
- 1346,"Search for files with read, write, and execute permissions for the user",find . -type f -perm -700
99
- 3024,"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
- 3238,Take the files out of proposal.docx.zip. disregarding the directory structure, unzip -j proposal.docx.zip
101
- 3945,Show comprehensive file information,ls -l
102
- 1022,Compress projects recursively, zip -r projects projects
103
- 1034,Move contract.pdf into audio.mp3.zip, zip -m audio.mp3.zip contract.pdf
104
- 7021,Enable output with colors,ls -G
105
- 6930,Show report.pdf with characters that don't print, cat -v report.pdf
106
- 601,"List each subdirectory in detail recursively, then tally the total number of directories.","ls -Rd | grep ""/$"" | wc -l"
107
- 4309,Make a backup of the current files and copy configuration.ini to reports_archive., cp -b -p configuration.ini reports_archive
108
- 7756,Move contract.pdf with attribute preservation to scripts_backup, cp -p contract.pdf scripts_backup
109
- 1295,"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
- 7974,Compress projects recursively, zip -r projects projects
111
- 1322,"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
- 2263,Turn on colour output.,ls -G
113
- 8612,Print the contents of presentation.pptx with non-blank line numbering., cat -b presentation.pptx
114
- 3455,Display characters for spreadsheet.xlsx that aren't printed, cat -v spreadsheet.xlsx
115
- 2968,List contents of memo.txt with all control characters displayed, cat -A memo.txt
116
- 5942,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
- 1740,Display all files including hidden ones,ls -a
118
- 3870,"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
- 6648,Verify image.jpg.zip's integrity., unzip -t image.jpg.zip
120
- 7537,"List subdirectories recursively, each with a colour and full description.",ls -RdlG
121
- 1078,Verify integrity of audio.mp3.zip, zip -T audio.mp3.zip
122
- 483,Present file sizes in an easily readable way.,ls -h
123
- 4371,Make a verbose output directory called photos.,mkdir -v photos
124
- 1730,Print photo.png without any warning errors, cat -q photo.png
125
- 1662,Show image.jpg with line numbers that aren't blank., cat -b image.jpg
126
- 5847,"Before replacing downloads with script.py, prompt",mv -i script.py downloads
127
- 1068,Erase policy.pdf from proposal.docx.zip, zip -d proposal.docx.zip policy.pdf
128
- 6173,Extract files from document.docx.zip and overwrite existing files, unzip -o document.docx.zip
129
- 5391,Prompt for confirmation before moving document.docx to presentations,mv -i document.docx presentations
130
- 1945,Replace archives with photo.png only if it's newer or doesn't already exist,mv -u photo.png archives
131
- 5702,Files should be displayed in reverse order.,ls -r
132
- 2847,Look for block devices, find . -type b
133
- 8402,Take remove the files from spreadsheet.xlsx.zip that provide verbose output., unzip -v spreadsheet.xlsx.zip
134
- 315,Mirror proposal.docx to music_library and overwrite existing files without seeking permission, cp -f proposal.docx music_library
135
- 239,"Ask before replacing configuration.ini in downloads, treat destination as file, and show verbose feedback",mv -TiV configuration.ini downloads
136
- 3905,"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
- 7897,Extract files with verbose mode enabled from database.sql.zip, unzip -v database.sql.zip
138
- 4989,"Extract executable.exe.zip, then update your files with the latest versions.", unzip -U executable.exe.zip
139
- 2753,Change directory to videos_backup and extract files from photo.png.zip, unzip -C videos_backup photo.png.zip
140
- 1123,Search for files between 1GB and 2GB in size, find . -size +1G -size -2G
141
- 4618,Search for files modified exactly 30 days ago, find . -mtime 30
142
- 4606,Delete files with name memo.txt, find . -name memo.txt -exec rm {} \
143
- 4914,Examine image.jpg.zip for consistency., unzip -t image.jpg.zip
144
- 5546,Replicate document.docx to projects_backup with hard links, cp -l document.docx projects_backup
145
- 4335,"Move audio.mp3 to photos_backup, verify overwrite interactively, maintain attributes, and make a backup.", cp -i -p -b audio.mp3 photos_backup
146
- 1199,Print database.sql contents with line endings, cat -E database.sql
147
- 5313,"Display files individually, one per line",ls -1
148
- 1671,List each line ending in image.jpg in the contents., cat -E image.jpg
149
- 4235,Make a backup of the current files and copy proposal.docx to logs_archive.,cp -b proposal.docx logs_archive
150
- 3879,"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
- 6066,"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
- 730,Files in backups should be sorted by size before being moved to photos_backup.,ls -S backups | xargs -I {} mv backups/{} photos_backup
153
- 1183,Display proposal.docx with non-blank line numbers, cat -b proposal.docx
154
- 5412,Move report.pdf to logs only if it's newer or doesn't already exist,mv -u report.pdf logs
155
- 221,Verbose: Move database.sql to logs,mv -v database.sql logs
156
- 2246,Sort files by the date they were last modified.,ls -t
157
- 5615,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
- 5229,Show file information in long listing format,ls -l
159
- 2776,Check for updates and add proposal.docx to presentation.pptx.zip, zip -u presentation.pptx.zip proposal.docx
160
- 6581,Find files with names containing 'data' and modified more than 30 days ago,"find . -type f -name ""*data*"" -mtime +30"
161
- 8027,Remove presentation.pptx from proposal.docx.zip, zip -d proposal.docx.zip presentation.pptx
162
- 4180,"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
- 4923,Extraction of files from report.pdf.zip enabling verbose mode, unzip -v report.pdf.zip
164
- 5707,Change the default order of sorting.,ls -r
165
- 8452,Take the files out of proposal.docx.zip. disregarding the directory structure, unzip -j proposal.docx.zip
166
- 3355,Seek out blocking gadgets, find . -type b
167
- 5072,"When zipping, disregard paths presentation.pptx.", zip -j report.pdf.zip presentation.pptx
168
- 6620,"Concatenate document.docx and document.docx, numbering all output lines and showing non-printing characters",cat -n -v document.docx document.docx
169
- 532,Just show directories.,ls -d
170
- 700,"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
- 3685,Transfer video.mp4 to scripts as a regular file,mv -T video.mp4 scripts
172
- 4698,Show tabs as ^I for database.sql, cat -T database.sql
173
- 3872,"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
- 3931,"Generate directory ""documents"" and list contents of ""documents"".",mkdir documents && ls documents
175
- 8046,Zip report.pdf without directory structure, zip -j report.pdf.zip report.pdf
176
- 3288,Place contract.pdf inside of the archive spreadsheet.xlsx.Zip, zip -u spreadsheet.xlsx.zip contract.pdf
177
- 2260,Turn on output that is coloured.,ls -G
178
- 5137,List the lines that don't include a blank in policy.pdf, cat -b policy.pdf
179
- 6708,Ignore the directory structure and extract the files from contract.pdf.zip., unzip -j contract.pdf.zip
180
- 7704,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
- 2111,Mirror spreadsheet.xlsx to backup and backup existing files, cp -b -p spreadsheet.xlsx backup
182
- 3405,Show line numbers for database.sql that are not blank., cat -b database.sql
183
- 354,Duplicate documents to output and include all subdirectories, cp -r documents output
184
- 8523,"If proposal.docx is more recent, update it in audio.mp3.zip.", zip -f audio.mp3.zip proposal.docx
185
- 6977,Display file sizes in a format that is easy to read,ls -h
186
- 7945,Extract files without directory structure from image.jpg.zip, unzip -j image.jpg.zip
187
- 2316,List the files in reverse order based on size and modification time.,ls -Sltr
188
- 1233,Display contract.pdf with non-printing characters, cat -v contract.pdf
189
- 5086,Seek for files bearing the document.docx name., find . -name document.docx
190
- 6771,Make proposal.docx.zip with proposal.docx in it., zip -c proposal.docx.zip proposal.docx
191
- 1593,Examine policy.pdf.zip for mistakes., zip -T policy.pdf.zip
192
- 1149,Delete files modified more than 1 year ago, find . -type f -mtime +365 -delete
193
- 6817,"When zipping, disregard paths proposal.docx.", zip -j video.mp4.zip proposal.docx
194
- 2860,Look for files exactly 50 bytes in size, find . -size 50c
195
- 8575,Search for standard files., find . -type f
196
- 6782,"In executable.exe, update configuration.ini.zip If more recent", zip -f executable.exe.zip configuration.ini
197
- 6214,Extract and update files with newer versions from presentation.pptx.zip, unzip -U presentation.pptx.zip
198
- 5799,"List subdirectories recursively, each with a colour and full description.",ls -RdlG
199
- 5030,Make a fresh archive with executable.exe.zip from executable.exe, zip -c executable.exe.zip executable.exe
200
- 8421,Take files out of executable.exe.zip and replace any files that already exist., unzip -o executable.exe.zip
201
- 5909,"Transfer audio.mp3 forcefully to reports, asking for confirmation, and treating destination as a file",mv -ifT audio.mp3 reports
202
- 2029,Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
203
- 8310,Search for files with names starting with 'data' and not owned by the user 'admin',"find . -type f -name ""data*"" ! -user admin"
204
- 3960,List file sizes in a manner that is comprehensible to people.,ls -h
205
- 23,Show file sizes in a readable manner,ls -h
206
- 1649,Display the line counts for script.py, cat -n script.py
207
- 940,Verbose extraction of contract.pdf.zip, unzip -v contract.pdf.zip
208
- 7695,Transfer script.py to photos_backup while keeping all properties intact.,cp -a script.py photos_backup
209
- 496,Recursively list the directory tree,ls -R
210
- 6995,Display all files and directories recursively,ls -R
211
- 6128,"Zip the contents of the newly created directory ""backups"" into the file ""spreadsheet.xlsx.zip"".",mkdir backups && zip spreadsheet.xlsx.zip backups/*
212
- 7647,"Transfer audio.mp3 forcefully to reports, asking for confirmation, and treating destination as a file",mv -ifT audio.mp3 reports
213
- 3458,Print database.sql while suppressing the output from the buffer., cat -u database.sql
214
- 2318,"List subdirectories recursively, providing coloured output and comprehensive details.",ls -Rdl
215
- 7727,Make a copy of policy.pdf and obliterate the current files in documents_backup., cp -f policy.pdf documents_backup
216
- 3213,Extract memo.txt that is encrypted.Zip file protected with '*.mp3', unzip -P *.mp3 memo.txt.zip
217
- 7335,Mirror configuration.ini to images_backup with attributes intact and creating a hard link, cp -p -l configuration.ini images_backup
218
- 1783,Show directory contents recursively,ls -R
219
- 8679,Show suppressed buffered output for image.jpg, cat -u image.jpg
220
- 6084,"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
- 4995,Extract the files from script.py.zip by changing the directory to output., unzip -C output script.py.zip
222
- 6595,Find files with names containing 'report' and not executable by others,"find . -type f -name ""*report*"" ! -perm -o=x"
223
- 4883,Output the first 25 lines of configuration.ini,cat configuration.ini | head -n 25
224
- 453,"Create directory ""templates"" and move files matching pattern ""*.py"" to it.",mkdir templates && mv **.py* templates
225
- 1330,"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
- 5484,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
- 8441,"Without showing the results, extract video.mp4.zip", unzip -q video.mp4.zip
228
- 7238,Transfer executable.exe to projects_backup while maintaining attributes,cp -a executable.exe projects_backup
229
- 6480,"Unarchive video.mp4.zip, overwriting existing files, to directory photos_backup",unzip -o -d photos_backup video.mp4.zip
230
- 4141,Only use configuration.ini in place of scripts if it is less than or equal to that directory.,mv -u configuration.ini scripts
231
- 3497,Display file sizes in human-readable form,ls -h
232
- 7445,Change the default order of sorting.,ls -r
233
- 6343,Compress files using gzip, find . -type f -exec gzip {} \
234
- 2087,Transfer temp and its contents to logs_archive recursively, cp -r temp logs_archive
235
- 245,"Ask before replacing report.pdf in backups, treat destination as file, and move only if newer",mv -iTu report.pdf backups
236
- 7692,"Transfer presentations to music_library and, if required, prompt before overwriting",cp -ir presentations music_library
237
- 5250,List files in reverse order of modification time,ls -r
238
- 5385,"Move configuration.ini to documents, prompting for confirmation",mv -i configuration.ini documents
239
- 2515,"In reports_archive, prompt before overwriting memo.txt.", cp -i memo.txt reports_archive
240
- 4034,"Prior to files, list folders.",ls --group-directories-first
241
- 6533,"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
- 4439,Extract files from memo.txt.zip and overwrite existing files, unzip -o memo.txt.zip
243
- 4938,Files from configuration.ini.zip should be extracted into documents_backup., unzip -d documents_backup configuration.ini.zip
244
- 7398,"Create directory ""templates"" and remove files matching pattern ""*.mp3"".",mkdir templates && rm **.mp3*
245
- 5247,List files in reverse order of their names,ls -r
246
- 6574,Search for files with names containing 'image' and with read permissions for the group,"find . -type f -name ""*image*"" -perm /g=r"
247
- 5834,"List every file with the word ""backup"" in its name, together with all relevant details.",ls -l *backup*
248
- 1543,Move image.jpg to proposal.docx.zip and add it., zip -m proposal.docx.zip image.jpg
249
- 5349,List files sorted by size and modification time in reverse order with colored output,ls -SltrG
250
- 7066,List files in long format with colored output,ls -lG
251
- 3182,Take remove the files from database.sql.zip that provide verbose output., unzip -v database.sql.zip
252
- 3150,Output the first 30 lines of proposal.docx,cat proposal.docx | head -n 30
253
- 3245,"Extract policy.pdf.zip, but only the most recent files.", unzip -U policy.pdf.zip
254
- 7821,"Move presentation.pptx to projects_backup, verify overwrite interactively, maintain attributes, and make a backup.", cp -i -p -b presentation.pptx projects_backup
255
- 4057,Organise files according to when they were last modified and provide file sizes in a legible manner.,ls -ltSh
256
- 4019,Print the file's inode numbers.,ls -i
257
- 7388,"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
- 866,"Recursive copying is used to move archives to music_library, maintaining attributes, and making a backup.", cp -r -p -b archives music_library
259
- 3353,Look for figurative connections., find . -type l
260
- 1672,Show script.py with line breaks included, cat -E script.py
261
- 7874,Check contents of document.docx.zip, unzip -l document.docx.zip
262
- 4739,Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
263
- 6812,Zip contract.pdf without any folder organization, zip -j script.py.zip contract.pdf
264
- 758,"Before replacing current files, copy report.pdf to music_library and be sure to ask.",cp -i report.pdf music_library
265
- 4808,"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
- 2114,Transfer documents to projects_backup and backup existing files, cp -b -r documents projects_backup
267
- 7437,Display file sizes in comprehensible units for humans.,ls -h
268
- 6859,Transfer the files to reports, find . -name proposal.docx -execdir mv {} reports \
269
- 14,Display files with extended information,ls -l
270
- 4329,"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
- 4877,"Concatenate video.mp4 and presentation.pptx, numbering non-empty output lines",cat -b video.mp4 presentation.pptx
272
- 6299,Check configuration.ini.zip for errors, zip -T configuration.ini.zip
273
- 8021,Remove spreadsheet.xlsx from database.sql.zip, zip -d database.sql.zip spreadsheet.xlsx
274
- 6940,Show photo.png with suppressed buffered output, cat -u photo.png
275
- 538,Show only the names of the directories; show nothing inside.,ls -d
276
- 1746,Display hidden files along with normal files,ls -a
277
- 6302,Ignore paths when zipping photo.png, zip -j document.docx.zip photo.png
278
- 6311,Search for files with name database.sql, find . -name database.sql
279
- 4162,"Before forcibly transferring photo.png to images, make a backup of it.",mv -bf photo.png images
280
- 2471,Move the files listed in images to videos_backup. maintaining the directory structure,find images -type f -exec mv -t videos_backup -- {} +
281
- 8171,Print proposal.docx with tabs represented as ^I, cat -T proposal.docx
282
- 4722,List contents of document.docx with buffered output suppression, cat -u document.docx
283
- 1741,List directory contents including hidden files,ls -a
284
- 5774,Show directories before files.,ls --group-directories-first
285
- 1253,Display memo.txt in quiet mode, cat -q memo.txt
286
- 604,"Extend the format of hidden files and folders, then delete the owner data.","ls -al | awk '{$2=$3=$4=""""; print $0}'"
287
- 233,Ask before replacing presentation.pptx in videos and treat destination as a file,mv -Ti presentation.pptx videos
288
- 1562,Make executable.exe.zip that includes report.pdf, zip -c executable.exe.zip report.pdf
289
- 932,Test presentation.pptx.zip for errors, unzip -t presentation.pptx.zip
290
- 3721,"Ask before replacing report.pdf in backups, treat destination as file, and move only if newer",mv -iTu report.pdf backups
291
- 8517,"If executable.exe is more recent, update it in script.py.zip.", zip -f script.py.zip executable.exe
292
- 4447,Provide password '*.pdf' to extract configuration.ini.zip, unzip -P *.pdf configuration.ini.zip
293
- 1226,List contents of executable.exe with all control characters displayed, cat -A executable.exe
294
- 2982,Show buffered output suppressed for report.pdf, cat -u report.pdf
295
- 318,Transfer presentation.pptx to scripts_backup and conduct a force overwrite, cp -f presentation.pptx scripts_backup
296
- 5780,Show directories before files.,ls --group-directories-first
297
- 2691,Extract files from image.jpg.zip into downloads_archive, unzip -d downloads_archive image.jpg.zip
298
- 4844,Search for directories with names starting with 'backup' and not owned by the user 'admin',"find . -type d -name ""backup*"" ! -user admin"
299
- 3991,Display files in descending order of size.,ls -S
300
- 3316,"Out of report.pdf.zip, remove proposal.docx.", zip -d report.pdf.zip proposal.docx
301
- 8125,Display report.pdf with line numbers, cat -n report.pdf
302
- 7243,Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
303
- 1501,Extract the files from spreadsheet.xlsx.zip without a directory structure., unzip -j spreadsheet.xlsx.zip
304
- 8499,"After placing configuration.ini inside policy.pdf.zip, remove it.", zip -u policy.pdf.zip configuration.ini
305
- 321,Duplicate audio.mp3 to backup with user confirmation for overwrite, cp -i audio.mp3 backup
306
- 7411,Display hidden folders and files,ls -a
307
- 65,Show colored output,ls -G
308
- 349,Transfer temp and its contents to logs_archive recursively, cp -r temp logs_archive
309
- 3717,"Save a backup of database.sql, do not overwrite, and move only if newer",mv -nbu database.sql archives
310
- 518,Files are shown in order of file size.,ls -S
311
- 8656,Print audio.mp3 making visible all control characters., cat -A audio.mp3
312
- 2726,Ignore paths when extracting files from memo.txt.zip, unzip -j memo.txt.zip
313
- 6349,Find files modified within the last 7 days, find . -mtime -7
314
- 8461,Replace outdated files from video.mp4.zip with the most recent ones., unzip -U video.mp4.zip
315
- 3090,Search for files with names ending in '.jpg' or '.png',"find . -type f \( -name ""*.jpg"" -o -name ""*.png"" \)"
316
- 6210,Extract newer files from contract.pdf.zip, unzip -U contract.pdf.zip
317
- 8135,Display proposal.docx with non-blank line numbers, cat -b proposal.docx
318
- 5009,Put backups and its contents in an archive., zip -r backups backups
319
- 3231,Gently unzip the contents of memo.txt.zip., unzip -q memo.txt.zip
320
- 3098,Search for files with names containing 'image' and with read permissions for the group,"find . -type f -name ""*image*"" -perm /g=r"
321
- 5538,Mirror report.pdf to music_library and interactively prompt before replacing files, cp -i report.pdf music_library
322
- 1090,Zip database.sql without directory structure, zip -j audio.mp3.zip database.sql
323
- 594,Show hidden files and directories in a lengthy format with sizes that are readable by humans and full information.,ls -alh
324
- 4900,Contents of executable.exe.zip are listed., unzip -l executable.exe.zip
325
- 7605,Avoid replacing report.pdf with temp.,mv -n report.pdf temp
326
- 8407,Files from spreadsheet.xlsx.zip should be extracted into temp_folder., unzip -d temp_folder spreadsheet.xlsx.zip
327
- 637,"Without asking, move executable.exe firmly to presentations.",mv -f executable.exe presentations
328
- 1545,Compile and transfer configuration.ini to configuration.ini.zip., zip -u configuration.ini.zip configuration.ini
329
- 2455,"Request permission before changing audio.mp3 to templates, treat the destination as a file, and provide detailed comments.",mv -TiV audio.mp3 templates
330
- 1642,File compression with gzip, find . -type f -exec gzip {} \
331
- 8278,"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
- 4078,"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
- 5411,Do not replace scripts with image.jpg,mv -n image.jpg scripts
334
- 4992,Extract the files from memo.txt.zip by navigating to projects_backup., unzip -C projects_backup memo.txt.zip
335
- 1739,Show hidden files and directories,ls -a
336
- 7829,Create a backup by recursively copying images to images_backup while preserving its properties., cp -r -p -b images images_backup
337
- 6946,Put policy.pdf on silent display., cat -q policy.pdf
338
- 8569,Seek out blocking gadgets, find . -type b
339
- 7226,Move files with size greater than 1MB from templates to music_library,find templates -type f -size +1M -exec mv {} music_library \;
340
- 3720,"Prompt before overwriting database.sql in backups, treat destination as file, and move only if newer",mv -iuT database.sql backups
341
- 1721,List the contents of video.mp4 while suppressing buffered output., cat -u video.mp4
342
- 429,"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
- 2301,List directories before files in the display,ls --group-directories-first
344
- 2644,"Make ""photos"" the directory and remove ""ignore2.png"" from it.",mkdir photos && ls | grep -v ignore2.png
345
- 8683,silently list the contents of configuration.ini, cat -q configuration.ini
346
- 1176,List contents of video.mp4 with line numbers, cat -n video.mp4
347
- 5978,Make backups of the current files and mirror proposal.docx to archive.,cp -b proposal.docx archive
348
- 5815,"List each subdirectory in detail recursively, then tally the total number of directories.","ls -Rd | grep ""/$"" | wc -l"
349
- 8579,Search for files between 1GB and 2GB in size., find . -size +1G -size -2G
350
- 5211,silently list the contents of report.pdf, cat -q report.pdf
351
- 5593,Transfer executable.exe to photos_backup and interactively confirm overwrite while preserving attributes, cp -i -p executable.exe photos_backup
352
- 1615,Look for figurative connections., find . -type l
353
- 1334,"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
- 4189,"Keep a copy of policy.pdf, avoid overwriting, and provide detailed feedback.",mv -nbv policy.pdf logs
355
- 2760,Compress projects recursively, zip -r projects projects
356
- 5037,Create a new script.py by archiving report.pdf.zip, zip -c script.py.zip report.pdf
357
- 7133,Move script.py to documents and replace existing files,mv -f script.py documents
358
- 3000,Show configuration.ini with error messages suppressed, cat -q configuration.ini
359
- 1618,Look for gaming devices., find . -type c
360
- 4750,"Disentangle policy.pdf.zip, excluding exclude.mp4, to directory images_backup",unzip -x exclude.mp4 -d images_backup policy.pdf.zip
361
- 4498,Compress projects recursively, zip -r projects projects
362
- 2825,Zip memo.txt without directory structure, zip -j audio.mp3.zip memo.txt
363
- 8665,Display characters for executable.exe that aren't printed, cat -v executable.exe
364
- 3412,Print the contents of database.sql with line ends., cat -E database.sql
365
- 1263,Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
366
- 1732,Put policy.pdf on silent display., cat -q policy.pdf
367
- 1777,Display directory structure recursively,ls -R
368
- 3668,"Move presentation.pptx to scripts, preserving existing files",mv -n presentation.pptx scripts
369
- 4113,"Without asking, move executable.exe firmly to presentations.",mv -f executable.exe presentations
370
- 7609,"If downloads is outdated or nonexistent, substitute spreadsheet.xlsx for it.",mv -u spreadsheet.xlsx downloads
371
- 346,Transfer image.jpg to backup with attribute preservation, cp -p image.jpg backup
372
- 4140,"If spreadsheet.xlsx is more recent or does not already exist in documents, move it there.",mv -u spreadsheet.xlsx documents
373
- 4354,"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
- 2588,"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
- 6657,Examine audio.mp3.zip for mistakes., unzip -t audio.mp3.zip
376
- 8178,List contents of executable.exe with all control characters displayed, cat -A executable.exe
377
- 811,Mirror photos_backup to scripts recursively, cp -r scripts photos_backup
378
- 2275,Enumerate folders empty of contents.,ls -d
379
- 8141,Print memo.txt contents with non-blank line numbering, cat -b memo.txt
380
- 1670,Print the contents of policy.pdf with line ends., cat -E policy.pdf
381
- 4899,"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
- 3997,Sort the files according to their sizes.,ls -S
383
- 921,List files inside presentation.pptx.zip, unzip -l presentation.pptx.zip
384
- 99,"Display files individually, one per line",ls -1
385
- 6112,Make a directory called scripts and output verbosely,mkdir -v scripts
386
- 7548,"Using coloured output, comprehensive information, and human-readable sizes, sort files by size and modification time in reverse order.",ls -SltrhG
387
- 2697,Extract files from document.docx.zip and overwrite existing files, unzip -o document.docx.zip
388
- 7014,List files sorted by their sizes,ls -S
389
- 3034,"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
- 4132,Transfer photo.png to reports solely in cases where it is not in use or is more recent.,mv -u photo.png reports
391
- 8552,Pack document.docx without any archive paths, zip -j contract.pdf.zip document.docx
392
- 4879,Output the first 15 lines of report.pdf,cat report.pdf | head -n 15
393
- 4519,Update contract.pdf if newer in document.docx.zip, zip -u document.docx.zip contract.pdf
394
- 6444,List contents of memo.txt with all control characters displayed, cat -A memo.txt
395
- 4827,Find directories with names starting with 'dir',"find . -type d -name ""dir*"""
396
- 2249,List the files in order of modification date.,ls -t
397
- 7519,Provide a complete informational list of every file in the current directory.,ls -al
398
- 4535,Freshen configuration.ini in document.docx.zip, zip -f document.docx.zip configuration.ini
399
- 3166,See what's in image.jpg.zip, unzip -l image.jpg.zip
400
- 7138,Overwrite databases with document.docx without prompting,mv -f document.docx databases
401
- 6061,"Move document.docx to videos_backup, and if the files are already there, create a backup.", cp -b -i document.docx videos_backup
402
- 1210,List video.mp4 contents with suppression of repeated empty lines, cat -s video.mp4
403
- 3087,Find files owned by the user and group *.py,find . -type f -user *.py -group *.py
404
- 2820,Test video.mp4.zip for errors, zip -T video.mp4.zip
405
- 3396,Show executable.exe with line numbers that aren't blank., cat -b executable.exe
406
- 3779,Duplicate audio.mp3 to logs_archive and back up existing files,cp -b audio.mp3 logs_archive
407
- 1954,Shift video.mp4 to videos treating it like a normal file,mv -T video.mp4 videos
408
- 3915,Create directory images with verbose output,mkdir -v images
409
- 7664,"Make a copy of executable.exe, don't replace it, and output verbosely",mv -bnv executable.exe music
410
- 2357,"Sort all files that start with ""data"" backwards.",ls -r data*
411
- 33,List files in reverse order of their names,ls -r
412
- 6959,"List all files, including hidden files",ls -a
413
- 2183,"Create a ""templates"" directory and list the files within it.",mkdir templates && cp templates/* output
414
- 3035,"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
- 3418,Print script.py while preventing the display of several blank lines., cat -s script.py
416
- 1623,Search for standard files., find . -type f
417
- 763,Create backups of the current files and clone photo.png to temp_folder.,cp -b photo.png temp_folder
418
- 3684,Move image.jpg to temp treating it as a normal file,mv -T image.jpg temp
419
- 7979,Add and move executable.exe to report.pdf.zip, zip -m report.pdf.zip executable.exe
420
- 2464,Move the files in archives to downloads_archive after filtering them using *.pdf.,"grep ""*.pdf"" archives/* | xargs -I {} mv {} downloads_archive"
421
- 6232,Zip reports and subdirectories, zip -r reports reports
422
- 5422,Move image.jpg to temp treating it as a normal file,mv -T image.jpg temp
423
- 586,Display hidden files and directories with extensive information in a lengthy manner.,ls -al
424
- 4567,Ignore directory structure when zipping configuration.ini, zip -j photo.png.zip configuration.ini
425
- 8182,List contents of memo.txt with all control characters displayed, cat -A memo.txt
426
- 4198,"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
- 3133,"Display the contents of video.mp4, showing non-printing characters and tabs as '^I'",cat -vT video.mp4
428
- 7506,List each file on a single line.,ls -1
429
- 5661,"Create a new directory called ""backups"" and create symbolic link named ""pointer"" pointing to ""backup"".",mkdir backups && ln -s backup pointer
430
- 3460,Show image.jpg with suppressed buffered output, cat -u image.jpg
431
- 2698,Overwrite existing files without prompting when extracting photo.png.zip, unzip -o photo.png.zip
432
- 7817,"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
- 304,Replicate document.docx to logs_archive and create backups if files exist,cp -b document.docx logs_archive
434
- 6784,Refresh memo.txt in the zip file script.py., zip -f script.py.zip memo.txt
435
- 3767,Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
436
- 6040,compel Make a backup of the current files and copy document.docx to temp_folder., cp -b -f document.docx temp_folder
 
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
- ,Text,Code
2
- 4229,Copy contract.pdf to videos_backup; interactive confirmation is necessary.,cp -i contract.pdf videos_backup
3
- 6828,Look for directories., find . -type d
4
- 7540,Files should be sorted with human-readable sizes in reverse order based on size and modification time.,ls -Sltrh
5
- 8483,Create zip of backups and its contents, zip -r backups backups
6
- 1156,Look for empty files, find . -type f -empty
7
- 2199,"List all the contents in a directory, including any hidden files.",ls -a
8
- 3207,Take files out of executable.exe.zip and replace any files that already exist., unzip -o executable.exe.zip
9
- 3011,"Extract spreadsheet.xlsx.zip, verbose output, to directory downloads_archive",unzip -v -d downloads_archive spreadsheet.xlsx.zip
10
- 2303,Display directories at the top of the list,ls --group-directories-first
11
- 6916,Show configuration.ini with every control character present., cat -A configuration.ini
12
- 4717,Display database.sql with non-printing characters, cat -v database.sql
13
- 5889,"Transfer memo.txt to databases, treating it like any other file.",mv -T memo.txt databases
14
- 353,Mirror documents to templates_backup recursively, cp -r documents templates_backup
15
- 263,"Move image.jpg to documents with force, prompt for confirmation, and move only if newer",mv -ifu image.jpg documents
16
- 1010,Extract files from executable.exe.zip and switch to music_library, unzip -C music_library executable.exe.zip
17
- 4715,Print configuration.ini with non-printing characters visible, cat -v configuration.ini
18
- 4100,"List all files in long format whose names begin with ""file"" recursively.",ls -lR file*
19
- 6445,Display video.mp4 with all control characters, cat -A video.mp4
20
- 5890,Transfer document.docx to images and see the output in verbose,mv -v document.docx images
21
- 8313,Find directories with names starting with 'project' and not modified in the last 90 days,"find . -type d -name ""project*"" -mtime +90"
22
- 4102,"Before overwriting, move proposal.docx to logs and prompt.",mv -i proposal.docx logs
23
- 5257,Display all files and directories recursively,ls -R
24
- 1044,Check for updates and add presentation.pptx to proposal.docx.zip, zip -u proposal.docx.zip presentation.pptx
25
- 7626,"Move script.py to downloads, handling it as though it were a regular file.",mv -T script.py downloads
26
- 8204,Show buffered output suppressed for document.docx, cat -u document.docx
27
- 7538,Display hidden files and directories with extensive information in a lengthy manner.,ls -al
28
- 7923,Provide password '*.pdf' to extract configuration.ini.zip, unzip -P *.pdf configuration.ini.zip
29
- 8609,Display the line counts for memo.txt, cat -n memo.txt
30
- 319,Prompt before overwriting script.py in videos_backup, cp -i script.py videos_backup
31
- 5157,List the contents of presentation.pptx while suppressing the repetitive blank lines., cat -s presentation.pptx
32
- 1606,Find the report.pdf files., find . -name report.pdf
33
- 487,Sort files alphabetically backwards,ls -r
34
- 3898,"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
- 267,"Save a backup of memo.txt, do not overwrite, show verbose feedback, and treat destination as file",mv -nbvT memo.txt videos
36
- 4209,Move the files listed in images to videos_backup. maintaining the directory structure,find images -type f -exec mv -t videos_backup -- {} +
37
- 7297,Copy document.docx to output while preserving its attributes, cp -p document.docx output
38
- 50,List files in order of last modification time,ls -t
39
- 4404,Verify integrity of spreadsheet.xlsx.zip, unzip -t spreadsheet.xlsx.zip
40
- 4974,Extract proposal.docx.zip's non-pathable files., unzip -j proposal.docx.zip
41
- 3100,Search for files with names containing 'backup' and created in the last 7 days,"find . -type f -name ""*backup*"" -ctime -7"
42
- 1369,Find files with names containing 'report' and not writable by others,"find . -type f -name ""*report*"" ! -perm -o=w"
43
- 6476,Show configuration.ini with error messages suppressed, cat -q configuration.ini
44
- 2022,Copy executable.exe to documents_archive and prompt before overwriting if necessary,cp --interactive executable.exe documents_archive
45
- 93,Display each file on its own line,ls -1
46
- 5816,"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
- 4638,Look for empty files, find . -type f -empty
48
- 1631,Look for files that are no larger than 1GB or 2GB., find . -size +1G -size -2G
49
- 4684,Show policy.pdf contents with repeated empty lines suppressed, cat -s policy.pdf
50
- 7752,Clone database.sql with preserving attributes to temp_folder, cp -p database.sql temp_folder
51
- 6848,"To images, copy the files.", find . -name script.py -exec cp {} images \
52
- 4094,"Sort the files by modification time and list all names that finish in "".mp4"".",ls -t *.mp4
53
- 1084,Test image.jpg.zip for corruption, zip -T image.jpg.zip
54
- 6403,Print memo.txt contents with non-blank line numbering, cat -b memo.txt
55
- 6347,Change permissions of files, find . -type f -exec chmod 644 {} \
56
- 2943,Print report.pdf with suppression of repeated empty lines, cat -s report.pdf
57
- 2549,Mirror photos_backup to scripts recursively, cp -r scripts photos_backup
58
- 7097,"List all files in the current directory with detailed information, then extract only the file names",ls -al | awk '{print $9}'
59
- 6860,Modify the file permissions, find . -type f -execdir chmod 644 {} \
60
- 2061,Clone report.pdf to reports_archive and prompt for permission to overwrite, cp -i report.pdf reports_archive
61
- 5717,Display contents of a directory recursively,ls -R
62
- 8502,Place contract.pdf inside of the archive spreadsheet.xlsx.Zip, zip -u spreadsheet.xlsx.zip contract.pdf
63
- 7130,"Move document.docx to archives, overwriting the destination if necessary",mv -f document.docx archives
64
- 743,Transfer script.py to photos_backup while keeping all properties intact.,cp -a script.py photos_backup
65
- 2319,Organise files according to when they were last modified and provide file sizes in a legible manner.,ls -ltSh
66
- 3053,"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
- 6526,"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
- 6502,"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
- 6845,Look for files that are no larger than 1GB or 2GB., find . -size +1G -size -2G
70
- 4355,Transfer the 'presentation.pptx' file to the 'output' directory.,cp /presentation.pptx /output/
71
- 7545,"List files having coloured output, sorted in reverse order by size and modification time.",ls -SltrG
72
- 7562,"After displaying hidden files and folders in extended format, just the permissions are visible.",ls -al | awk '{print $1}'
73
- 2569,Backup current files and mirror document.docx to templates_backup., cp -b -p document.docx templates_backup
74
- 7631,Talkative: memo.txt should be moved to templates.,mv -v memo.txt templates
75
- 6406,Show non-blank line numbers for proposal.docx, cat -b proposal.docx
76
- 1509,Replace outdated files from video.mp4.zip with the most recent ones., unzip -U video.mp4.zip
77
- 1406,"Concatenate document.docx and document.docx, numbering all output lines and showing non-printing characters",cat -n -v document.docx document.docx
78
- 4812,"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
- 6976,List file sizes in a format suitable for humans,ls -h
80
- 8610,Show executable.exe with line numbers that aren't blank., cat -b executable.exe
81
- 2098,Duplicate proposal.docx to photos_backup with user confirmation for overwrite, cp -i proposal.docx photos_backup
82
- 8544,Check for corruption with configuration.ini.zip., zip -T configuration.ini.zip
83
- 7327,Copy document.docx to photos_backup and backup existing files, cp -b -p document.docx photos_backup
84
- 4352,"Recursive copying is used to move music to documents_archive, maintaining attributes, and making a backup.", cp -r -p -b music documents_archive
85
- 8435,Provide password '*.txt' to extract proposal.docx.zip, unzip -P *.txt proposal.docx.zip
86
- 6415,Display presentation.pptx with line endings, cat -E presentation.pptx
87
- 4245,Move video.mp4 to images_backup and force overwrite it., cp -f video.mp4 images_backup
88
- 710,"Before replacing executable.exe in temp, prompt, treating destination as file",mv -iT executable.exe temp
89
- 6382,Delete files with name presentation.pptx, find . -name presentation.pptx -execdir rm {} \
90
- 6180,Extract encrypted database.sql.zip with password '*.doc*', unzip -P *.doc* database.sql.zip
91
- 457,"Make directory ""projects"" and unzip contents of ""executable.exe.zip"" into it.",mkdir projects && unzip executable.exe.zip -d projects
92
- 3857,Replicate memo.txt to videos_backup while retaining its attributes and creating a hard link, cp -p -l memo.txt videos_backup
93
- 6758,Place video.mp4 inside of database.sql.zip, zip -u database.sql.zip video.mp4
94
- 1747,List directory contents including hidden files and directories,ls -a
95
- 3038,"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
- 7465,Files should be sorted by size.,ls -S
97
- 5153,Display the line ends for spreadsheet.xlsx, cat -E spreadsheet.xlsx
98
- 3187,Verbose output should be displayed while extracting audio.mp3.zip., unzip -v audio.mp3.zip
99
- 3833,Backup downloads to backup and preserve directory structure, cp -r downloads backup
100
- 3454,Show report.pdf with characters that don't print, cat -v report.pdf
101
- 212,Shift script.py to projects treating it as a non-directory,mv -T script.py projects
102
- 2638,"If the parent directories do not already exist, create the directory scripts with verbose output.",mkdir -v -p scripts
103
- 3254,Extract the files from memo.txt.zip by navigating to projects_backup., unzip -C projects_backup memo.txt.zip
104
- 217,Move image.jpg to temp and handle it as a regular file,mv -T image.jpg temp
105
- 5551,Transfer executable.exe to images_backup and establish a hard link, cp -l executable.exe images_backup
106
- 5199,Show suppressed buffered output for configuration.ini, cat -u configuration.ini
107
- 3296,Make executable.exe a new archive.zip including image.jpg, zip -c executable.exe.zip image.jpg
108
- 3903,"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
- 8324,Search for files with names starting with 'file' and not modified in the last 7 days,"find . -type f -name ""file*"" -mtime +7"
110
- 675,"Transfer memo.txt to databases, treating it like any other file.",mv -T memo.txt databases
111
- 5770,"List the files, one for each line.",ls -1
112
- 7057,Display directories listed before files,ls --group-directories-first
113
- 1971,Ask before replacing presentation.pptx in videos and treat destination as a file,mv -Ti presentation.pptx videos
114
- 8545,Examine policy.pdf.zip for mistakes., zip -T policy.pdf.zip
115
- 647,"When transferring to archives, avoid overwriting executable.exe.",mv -n executable.exe archives
116
- 1142,Search for files modified exactly 30 days ago, find . -mtime 30
117
- 5440,Verbose mode: Transfer image.jpg to backups,mv -v image.jpg backups
118
- 833,Make a backup of the current files and copy configuration.ini to reports_archive., cp -b -p configuration.ini reports_archive
119
- 676,Transfer document.docx to images and see the output in verbose,mv -v document.docx images
120
- 1915,Prompt for confirmation before moving document.docx to presentations,mv -i document.docx presentations
121
- 1005,Extract and update files with newer versions from presentation.pptx.zip, unzip -U presentation.pptx.zip
122
- 7972,Pack databases and all its files into archive, zip -r databases databases
123
- 6688,Retrieve script.py encrypted.'*.doc*' as the password for zip, unzip -P *.doc* script.py.zip
124
- 4035,First-listed show directories,ls --group-directories-first
125
- 5579,Copy memo.txt to temp_folder while preserving its attributes and creating a hard link, cp -p -l memo.txt temp_folder
126
- 5146,Print the contents of policy.pdf with line ends., cat -E policy.pdf
127
- 4518,Update existing files in image.jpg.zip, zip -u image.jpg.zip proposal.docx
128
- 1691,List the contents of script.py using the ^tabsI, cat -T script.py
129
- 6033,Create a hard link and replicate image.jpg to output while preserving its properties., cp -p -l image.jpg output
130
- 7235,Copy database.sql to documents_backup and prompt before overwriting if necessary,cp --interactive database.sql documents_backup
131
- 3855,Transfer executable.exe to photos_backup and interactively confirm overwrite while preserving attributes, cp -i -p executable.exe photos_backup
132
- 3139,"Concatenate video.mp4 and presentation.pptx, numbering non-empty output lines",cat -b video.mp4 presentation.pptx
133
- 3105,Find files with names containing 'data' and modified more than 30 days ago,"find . -type f -name ""*data*"" -mtime +30"
134
- 4303,"Move document.docx to logs_archive, and if the files are already there, create a backup.", cp -b -i document.docx logs_archive
135
- 5807,"List files having coloured output, sorted in reverse order by size and modification time.",ls -SltrG
136
- 5719,Files should be shown sorted by modification time.,ls -t
137
- 6400,List contents of script.py with non-blank line numbers, cat -b script.py
138
- 5107,Look for files that are no larger than 1GB or 2GB., find . -size +1G -size -2G
139
- 3968,Files should be shown in reverse sorted order.,ls -r
140
- 5081,Look for files that have the name report.pdf., find . -name report.pdf
141
- 2944,List proposal.docx contents with suppression of repeated empty lines, cat -s proposal.docx
142
- 7933,Extract video.mp4.zip without displaying output, unzip -q video.mp4.zip
143
- 748,Mirror executable.exe with properties preserved to temp_folder,cp -a executable.exe temp_folder
144
- 5659,"Create a ""templates"" directory and list the files within it.",mkdir templates && cp templates/* output
145
- 3889,"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
- 4888,Output the first 30 lines of proposal.docx,cat proposal.docx | head -n 30
147
- 2602,"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
- 2997,Print configuration.ini without error messages, cat -q configuration.ini
149
- 1057,Update database.sql in proposal.docx.zip if newer, zip -f proposal.docx.zip database.sql
150
- 101,Show directories listed first,ls --group-directories-first
151
- 1934,Move presentation.pptx to archives without replacing,mv -n presentation.pptx archives
152
- 1383,Display the contents of report.pdf,cat report.pdf
153
- 1281,"Unarchive spreadsheet.xlsx.zip, quietly and extracting to standard output to directory temp_folder",unzip -q -p -d temp_folder spreadsheet.xlsx.zip
154
- 1981,"Move audio.mp3 to templates with force, prompt for confirmation, and move only if newer",mv -ifu audio.mp3 templates
155
- 7711,Make a backup of the current files and copy proposal.docx to logs_archive.,cp -b proposal.docx logs_archive
156
- 4482,Change directory to projects_backup and extract files from script.py.zip, unzip -C projects_backup script.py.zip
157
- 248,Backup executable.exe before forcefully moving it to downloads,mv -bf executable.exe downloads
158
- 3413,List each line ending in proposal.docx in the contents., cat -E proposal.docx
159
- 2670,Test presentation.pptx.zip for errors, unzip -t presentation.pptx.zip
160
- 7202,"Forcefully move document.docx to templates, but prompt before overwriting",mv -fi document.docx templates
161
- 1793,Sort files by size,ls -S
162
- 6126,"Create a directory named ""projects"" and list the files in it.",mkdir projects && ls projects
163
- 3463,List the contents of document.docx while suppressing buffered output., cat -u document.docx
164
- 6087,"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
- 1919,Move script.py to documents and replace existing files,mv -f script.py documents
166
- 8223,"Free document.docx.zip, listing files only, to directory downloads_archive",unzip -l -d downloads_archive document.docx.zip
167
- 7324,Clone database.sql to music_library and backup existing files, cp -b -p database.sql music_library
168
- 6790,"From memo.txt.zip, remove presentation.pptx.", zip -d memo.txt.zip presentation.pptx
169
- 6604,"Display presentation.pptx, showing the dollar at the end of each line",cat -e presentation.pptx
170
- 2094,Transfer backups to temp_folder with recursive copying, cp -r backups temp_folder
171
- 3881,"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
- 2008,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
- 6394,List contents of photo.png with line numbers, cat -n photo.png
174
- 1393,"Display spreadsheet.xlsx, showing tabs as '^I'",cat -T spreadsheet.xlsx
175
- 4252,Move memo.txt to the backup and perform a force overwrite there., cp -f memo.txt backup
176
- 4284,"Copy images in its entirety, including all subdirectories, to archive.", cp -r images archive
177
- 8383,Files in report.pdf.zip are shown., unzip -l report.pdf.zip
178
- 2864,Copy files to reports, find . -name presentation.pptx -exec cp {} reports \
179
- 7635,"Transfer spreadsheet.xlsx to logs, then output detailed comments.",mv -v spreadsheet.xlsx logs
180
- 8048,Find files named spreadsheet.xlsx, find . -name spreadsheet.xlsx
181
- 8558,Find the report.pdf files., find . -name report.pdf
182
- 3710,"Create a backup of policy.pdf, do not overwrite, and display verbose output",mv -bnv policy.pdf videos
183
- 6543,"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
- 3328,Examine configuration.ini.zip for mistakes., zip -T configuration.ini.zip
185
- 5337,Sort files by modification time and display file sizes in human-readable format,ls -ltSh
186
- 623,"Enumerate all files, even hidden ones, with the word ""log"" in their names.",ls -a *log*
187
- 7944,Unzip files from proposal.docx.zip ignoring directory structure, unzip -j proposal.docx.zip
188
- 1197,Display audio.mp3 with line endings, cat -E audio.mp3
189
- 5840,"Before overwriting, move proposal.docx to logs and prompt.",mv -i proposal.docx logs
190
- 5071,Zip proposal.docx without any folder organization, zip -j configuration.ini.zip proposal.docx
191
- 3733,"Move audio.mp3 to reports with force, prompt for confirmation, and treat destination as file",mv -ifT audio.mp3 reports
192
- 7616,"If spreadsheet.xlsx is more recent or does not already exist in documents, move it there.",mv -u spreadsheet.xlsx documents
193
- 664,"If spreadsheet.xlsx is more recent or does not already exist in documents, move it there.",mv -u spreadsheet.xlsx documents
194
- 7786,"Move music to archive, making a backup of all currently stored files.", cp -b -r music archive
195
- 3487,Display detailed information about files,ls -l
196
- 4341,"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
- 5628,"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
- 8215,Extract database.sql.zip with no password to directory projects_backup,unzip -d projects_backup database.sql.zip
199
- 1918,Overwrite existing files in projects with policy.pdf,mv -f policy.pdf projects
200
- 3574,List files with each on a new line,ls -1
201
- 1282,"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
- 2283,Show the file's inode numbers.,ls -i
203
- 1075,Remove presentation.pptx from proposal.docx.zip, zip -d proposal.docx.zip presentation.pptx
204
- 1616,Find the usual files., find . -type f
205
- 7442,Files should be sorted descendingly.,ls -r
206
- 3298,Fill executable.exe with audio.mp3.zip, zip -c executable.exe.zip audio.mp3
207
- 7601,Avoid replacing executable.exe with an already-existing file in images.,mv -n executable.exe images
208
- 5011,Move database.sql to report.pdf.zip and add it., zip -m report.pdf.zip database.sql
209
- 4241,Make backup copies of database.sql and duplicate it to backup.,cp -b database.sql backup
210
- 1446,Verbose output should be displayed while extracting contract.pdf.zip., unzip -v contract.pdf.zip
211
- 8373,Output the first 100 lines of video.mp4,cat video.mp4 | head -n 100
212
- 6336,Look for files exactly 50 bytes in size, find . -size 50c
213
- 8543,Check database.sql.zip to maintain integrity, zip -T database.sql.zip
214
- 8359,Output the first 25 lines of configuration.ini,cat configuration.ini | head -n 25
215
- 8039,Zip memo.txt without directory structure, zip -j audio.mp3.zip memo.txt
216
- 4886,"Concatenate script.py and database.sql, numbering non-empty output lines and showing non-printing characters",cat -b -v script.py database.sql
217
- 5722,Sort files by the date they were last modified.,ls -t
218
- 6133,List files in memo.txt.zip, unzip -l memo.txt.zip
219
- 533,Display directories without a content list.,ls -d
220
- 4250,Make a copy of document.docx in projects_backup and forcefully replace any existing files., cp -f document.docx projects_backup
221
- 7013,Show files arranged by size,ls -S
222
- 2718,Extract files silently from spreadsheet.xlsx.zip, unzip -q spreadsheet.xlsx.zip
223
- 6100,"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
- 3165,List the contents of image.jpg.zip., unzip -l image.jpg.zip
225
- 169,Ask before overwriting backups with image.jpg,mv -i image.jpg backups
226
- 2233,Subdirectories are listed recursively,ls -R
227
- 7092,"Display hidden files and directories in long format, then count the number of lines",ls -al | wc -l
228
- 6005,Use hard linking to clone script.py to music_library, cp -l script.py music_library
229
- 1561,Create a new script.py by archiving report.pdf.zip, zip -c script.py.zip report.pdf
230
- 5841,"Prior to replacing reports with script.py, ask.",mv -i script.py reports
231
- 2057,Prompt before overwriting script.py in videos_backup, cp -i script.py videos_backup
232
- 789,Make a hard link duplicate of executable.exe in images_backup., cp -l executable.exe images_backup
233
- 6549,"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
- 1046,Create new archive policy.pdf.zip from contract.pdf, zip -c policy.pdf.zip contract.pdf
235
- 7838,"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
- 5563,Transfer temp and its contents to logs_archive recursively, cp -r temp logs_archive
237
- 4434,Overwrite files without prompting when extracting memo.txt.zip, unzip -o memo.txt.zip
238
- 5327,Display files sorted by modification time in reverse order,ls -ltr
239
- 2876,Look for files modified within the last 7 days, find . -mtime -7
240
- 7212,"Create a backup of video.mp4, do not overwrite, and move only if newer",mv -bnu video.mp4 documents
241
- 8688,Put script.py on silent display., cat -q script.py
242
- 1139,Search for files modified exactly 30 days ago, find . -mtime 30
243
- 1768,Show files listed in reverse order,ls -r
244
- 8077,Delete files with name document.docx, find . -name document.docx -exec rm {} \
245
- 6681,"Open audio.mp3.zip, extract the contents, and replace any existing files.", unzip -o audio.mp3.zip
246
- 5688,Files should be listed in the lengthy listing format.,ls -l
247
- 6249,Add and move document.docx to video.mp4.zip, zip -m video.mp4.zip document.docx
248
- 6481,"Extract report.pdf.zip, only extracting files matching pattern '*.txt', to directory scripts_backup",unzip -j -d scripts_backup report.pdf.zip '*.txt'
249
- 766,Make a backup of the current files and copy memo.txt to downloads_archive.,cp -b memo.txt downloads_archive
250
- 733,Move the files listed in images to videos_backup. maintaining the directory structure,find images -type f -exec mv -t videos_backup -- {} +
251
- 1038,Check for updates and add proposal.docx to presentation.pptx.zip, zip -u presentation.pptx.zip proposal.docx
252
- 2377,"Transfer spreadsheet.xlsx to projects, replacing any files that are already there.",mv -f spreadsheet.xlsx projects
253
- 5697,Present file sizes in an easily readable way.,ls -h
254
- 5436,Display detailed information: Move script.py to scripts,mv -v script.py scripts
255
- 736,"Move the files to documents_archive from documents, then delete them from the source.",rsync -av --remove-source-files documents/ documents_archive
256
- 5117,Modify the file permissions, find . -type f -exec chmod 644 {} \
257
- 2932,Show line endings for executable.exe, cat -E executable.exe
258
- 1479,Provide password '*.sql' to extract presentation.pptx.zip, unzip -P *.sql presentation.pptx.zip
259
- 3624,"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
- 1452,Verbose output should be displayed while extracting photo.png.zip., unzip -v photo.png.zip
261
- 1558,Make executable.exe a new archive.zip including image.jpg, zip -c executable.exe.zip image.jpg
262
- 7725,Mirror contract.pdf to images_backup and replace any files that already exist without authorization, cp -f contract.pdf images_backup
263
- 5194,Show image.jpg with suppressed buffered output, cat -u image.jpg
264
- 2917,Print presentation.pptx contents with line numbering, cat -n presentation.pptx
265
- 8550,Zip contract.pdf without any folder organization, zip -j script.py.zip contract.pdf
266
- 841,Making a hard link and mirroring presentation.pptx to scripts_backup while preserving properties, cp -p -l presentation.pptx scripts_backup
267
- 1817,List directories without their contents,ls -d
268
- 5328,List files in long format with colored output,ls -lG
269
- 7620,Put script.py in the designated directory. thinking about it as a file rather than a directory,mv -T script.py temp
270
- 180,Overwrite existing files in projects with policy.pdf,mv -f policy.pdf projects
271
- 3279,Incorporate report.pdf into document.docx.zip then remove, zip -m document.docx.zip report.pdf
272
- 5215,Show hidden files and directories,ls -a
273
- 1536,Place document.docx in the configuration.ini.zip archive., zip -m configuration.ini.zip document.docx
274
- 2673,Check report.pdf.zip for errors, unzip -t report.pdf.zip
275
- 4217,"Transfer report.pdf to downloads_archive and, if required, prompt before overwriting",cp --interactive report.pdf downloads_archive
276
- 4932,Files from memo.txt.zip should be extracted into reports_archive., unzip -d reports_archive memo.txt.zip
277
- 5521,Duplicate photo.png to logs_archive and create backup copies,cp -b photo.png logs_archive
278
- 6261,Pack document.docx into photo.png.zip, zip -c photo.png.zip document.docx
279
- 3404,Show presentation.pptx with line numbers that aren't blank., cat -b presentation.pptx
280
- 3527,Display files sorted by last modified time,ls -t
281
- 3017,"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
- 509,Files should be shown sorted by last modification time.,ls -t
283
- 3078,Find files modified within the last 7 days,find . -type f -mtime -7
284
- 4271,Create a hard link by moving configuration.ini to documents_archive., cp -l configuration.ini documents_archive
285
- 1737,Display presentation.pptx with the error messages hidden, cat -q presentation.pptx
286
- 3846,Duplicate configuration.ini to scripts_backup with a backup if files exist, cp -b -i configuration.ini scripts_backup
287
- 8482,Recursively compress backups, zip -r backups backups
288
- 6091,Create a backup by recursively copying images to images_backup while preserving its properties., cp -r -p -b images images_backup
289
- 5014,Place document.docx.zip inside report.pdf., zip -m document.docx.zip report.pdf
290
- 3161,"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
- 3131,"Display spreadsheet.xlsx, showing tabs as '^I'",cat -T spreadsheet.xlsx
292
- 1328,"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
- 6215,Update existing files with newer versions from audio.mp3.zip, unzip -U audio.mp3.zip
294
- 7314,Clone report.pdf to reports_archive with attribute preservation and creating a hard link, cp -p -l report.pdf reports_archive
295
- 6885,List each line ending in image.jpg in the contents., cat -E image.jpg
296
- 7073,Show hidden files and directories in long format with colored output,ls -alG
297
- 6188,Extract encrypted photo.png.zip with password '*.pdf', unzip -P *.pdf photo.png.zip
298
- 2913,Print database.sql contents with line numbering, cat -n database.sql
299
- 4556,Verify presentation.pptx.zip for integrity, zip -T presentation.pptx.zip
300
- 4740,Decompress script.py.zip with password 'password123' to directory scripts_backup,unzip -P password123 -d scripts_backup script.py.zip
301
- 6337,Search for files between 1GB and 2GB in size, find . -size +1G -size -2G
302
- 908,"Unzip the contents of ""database.sql"" into the directory ""music"" that has been created.",mkdir music && unzip database.sql.zip -d music
303
- 5039,Create a new archive using photo.png and database.sql.zip., zip -c database.sql.zip photo.png
304
- 2173,Create directory downloads and parent directories if they do not exist with verbose output,mkdir -p -v downloads
305
- 6562,Search for files modified in the last 24 hours and larger than 100KB,find . -type f -mtime -1 -size +100k
306
- 5749,Show the names of the directories rather than their contents.,ls -d
307
- 4700,Show all control characters for audio.mp3, cat -A audio.mp3
308
- 5680,Show hidden files with regular files.,ls -a
309
- 2577,Create a hard link and replicate video.mp4 to archive while preserving its properties., cp -p -l video.mp4 archive
310
- 4220,Move script.py with properties preserved to documents_archive,cp -a script.py documents_archive
311
- 8140,Show non-blank line numbers for spreadsheet.xlsx, cat -b spreadsheet.xlsx
312
- 6086,"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
- 7001,Sort files based on modification time,ls -t
314
- 5267,List files sorted by time of modification,ls -t
315
- 6489,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
- 4999,Extract the files from policy.pdf.zip by changing the directory to projects_backup., unzip -C projects_backup policy.pdf.zip
317
- 5143,Show line numbers for database.sql that are not blank., cat -b database.sql
318
- 6899,List the contents of report.pdf while suppressing the repetitive blank lines., cat -s report.pdf
319
- 7681,Move the files to scripts_backup after searching templates for *.ini.,"grep -rl ""*.ini"" templates | xargs -I {} mv {} scripts_backup"
320
- 3688,Shift script.py to projects treating it as a non-directory,mv -T script.py projects
321
- 1405,"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
- 3003,"Unpack executable.exe.zip, preserving permissions, to directory documents_backup",unzip -K -d documents_backup executable.exe.zip
323
- 5360,"Display hidden files and directories in long format, then remove the owner information","ls -al | awk '{$2=$3=$4=""""; print $0}'"
324
- 682,Verbose result: proposal.docx should be moved to templates.,mv -v proposal.docx templates
325
- 7264,Duplicate presentation.pptx to downloads_archive and force replacement, cp -f presentation.pptx downloads_archive
326
- 2592,"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
- 461,"List all the contents in a directory, including any hidden files.",ls -a
328
- 4922,Verbose output should be displayed while extracting contract.pdf.zip., unzip -v contract.pdf.zip
329
- 828,"If files already exist, duplicate spreadsheet.xlsx to projects_backup using a backup.", cp -b -i spreadsheet.xlsx projects_backup
330
- 6438,Show all control characters for audio.mp3, cat -A audio.mp3
331
- 4456,Extract files silently from spreadsheet.xlsx.zip, unzip -q spreadsheet.xlsx.zip
332
- 7233,Copy report.pdf to videos_backup and prompt before overwriting if necessary,cp -i report.pdf videos_backup
333
- 567,Provide a complete informational list of every file in the current directory.,ls -al
334
- 5654,Create directory databases with verbose output,mkdir -v databases
335
- 8622,Print the contents of policy.pdf with line ends., cat -E policy.pdf
336
- 8089,Locate files modified more than 1 year ago, find . -mtime +365
337
- 6676,Files from configuration.ini.zip should be extracted into documents_backup., unzip -d documents_backup configuration.ini.zip
338
- 6555,Find directories modified more than 30 days ago,find . -type d -mtime +30
339
- 4204,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
- 4409,Verify document.docx.zip for integrity, unzip -t document.docx.zip
341
- 3092,Search for files with names starting with 'file' and owned by the user 'user',"find . -type f -name ""file*"" -user user"
342
- 4981,Take out only the most recent files from video.mp4.zip., unzip -U video.mp4.zip
343
- 5338,List files sorted by size and modification time with colored output,ls -SltG
344
- 625,"List all files, arranged by size, with the word ""notes"" in their names.",ls -S *notes*
345
- 4716,List contents of memo.txt with non-printing characters displayed, cat -v memo.txt
346
- 7937,Unzip files from script.py.zip quietly, unzip -q script.py.zip
347
- 8144,Show non-blank line numbers for proposal.docx, cat -b proposal.docx
348
- 5196,Print database.sql while suppressing the output from the buffer., cat -u database.sql
349
- 7549,"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
- 7302,Duplicate images to downloads_archive including all subdirectories, cp -r images downloads_archive
351
- 7813,"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
- 1076,Test integrity of contract.pdf.zip, zip -T contract.pdf.zip
353
- 6858,Transfer data to music, find . -name report.pdf -execdir cp {} music \
354
- 1701,List the contents of proposal.docx while displaying each control character., cat -A proposal.docx
355
- 8425,Take files out of policy.pdf.zip and replace any files that already exist., unzip -o policy.pdf.zip
356
- 3025,"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
- 7943,Ignore directory structure when extracting files from document.docx.zip, unzip -j document.docx.zip
358
- 1373,Find directories with names ending in 'backup' and with read permissions for the group,"find . -type d -name ""*backup"" -perm /g=r"
359
- 6221,Extract files from proposal.docx.zip and change to output, unzip -C output proposal.docx.zip
360
- 6350,Search for files modified exactly 30 days ago, find . -mtime 30
361
- 472,Show files containing more details,ls -l
362
- 7661,"Forcefully move presentation.pptx to photos, but ask for approval",mv -if presentation.pptx photos
363
- 6062,"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
- 3862,Transfer downloads to archive with recursive copying and preserving attributes, cp -r -p downloads archive
365
- 5729,Display files in descending order of size.,ls -S
366
- 119,List directories themselves with colored output and detailed information,ls -dGl
367
- 7463,List the files in order of modification date.,ls -t
368
- 7405,"Create directory ""templates"" and move files matching pattern ""*.py"" to it.",mkdir templates && mv **.py* templates
369
- 7109,"List all files in the current directory with detailed information, then sort by file extension",ls -al | awk -F. '{print $NF}' | sort
370
- 19,List file sizes in human-readable format,ls -h
371
- 8259,"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
- 5999,"Move memo.txt to reports_archive, then prompt for a file replacement.", cp -i memo.txt reports_archive
373
- 540,Print each file's inode number.,ls -i
374
- 3783,Duplicate photo.png to logs_archive and create backup copies,cp -b photo.png logs_archive
375
- 1491,"While extracting files, extract executable.exe.zip", unzip -q executable.exe.zip
376
- 17,Display files with additional details,ls -l
377
- 5676,Include hidden files in the list of files.,ls -a
378
- 1957,Verbose mode: Move image.jpg to documents,mv -v image.jpg documents
379
- 3039,"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
- 7544,"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
- 3346,Look for files with the name policy.pdf., find . -name policy.pdf
382
- 360,Duplicate proposal.docx to photos_backup with user confirmation for overwrite, cp -i proposal.docx photos_backup
383
- 5869,Never use policy.pdf in place of downloads.,mv -n policy.pdf downloads
384
- 3142,Output the last 15 lines of video.mp4,cat video.mp4 | tail -n 15
385
- 5366,"Display hidden files and directories in long format, then show only the permissions",ls -al | awk '{print $1}'
386
- 4251,Make a copy of policy.pdf and obliterate the current files in documents_backup., cp -f policy.pdf documents_backup
387
- 7076,List files sorted by size and modification time with colored output,ls -SltG
388
- 2939,Display presentation.pptx with line endings, cat -E presentation.pptx
389
- 2002,"Prompt before overwriting spreadsheet.xlsx in downloads, treat destination as file, and move only if newer",mv -iuT spreadsheet.xlsx downloads
390
- 1115,Look for regular files, find . -type f
391
- 6603,Output the last 10 lines of database.sql,cat database.sql | tail
392
- 7952,Extract and update files with newer versions from presentation.pptx.zip, unzip -U presentation.pptx.zip
393
- 7598,Transfer proposal.docx to temp without making any changes.,mv -n proposal.docx temp
394
- 7818,"Recursive copying is used to move archives to music_library, maintaining attributes, and making a backup.", cp -r -p -b archives music_library
395
- 1323,"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
- 1575,"Out of database.sql.zip, remove database.sql.", zip -d database.sql.zip database.sql
397
- 8292,Find files modified within the last 7 days,find . -type f -mtime -7
398
- 6760,Insert spreadsheet.xlsx inside the configuration.ini.zip archive., zip -u configuration.ini.zip spreadsheet.xlsx
399
- 2138,"Force copy spreadsheet.xlsx to documents_archive without prompting, preserving attributes, and creating a backup", cp -f -p -b spreadsheet.xlsx documents_archive
400
- 8409,Files from memo.txt.zip should be extracted into scripts_backup., unzip -d scripts_backup memo.txt.zip
401
- 1544,Place video.mp4 inside of database.sql.zip, zip -u database.sql.zip video.mp4
402
- 6837,Search for standard files., find . -type f
403
- 6142,Verify integrity of spreadsheet.xlsx.zip, unzip -t spreadsheet.xlsx.zip
404
- 8015,Update image.jpg in configuration.ini.zip if newer, zip -f configuration.ini.zip image.jpg
405
- 291,Duplicate document.docx to archive keeping all attributes,cp -a document.docx archive
406
- 222,Display detailed information: Move script.py to scripts,mv -v script.py scripts
407
- 5471,"Move audio.mp3 to reports with force, prompt for confirmation, and treat destination as file",mv -ifT audio.mp3 reports
408
- 5660,"Create directory ""templates"" and remove files matching pattern ""*.mp3"".",mkdir templates && rm **.mp3*
409
- 3375,Use gzip to compress files., find . -type f -exec gzip {} \
410
- 7122,Prompt for confirmation before replacing document.docx in music,mv -i document.docx music
411
- 6729,"Files from image.jpg.zip should be extracted, then changed to videos_backup.", unzip -C videos_backup image.jpg.zip
412
- 7751,Copy database.sql and save its properties in documents_backup., cp -p database.sql documents_backup
413
- 2517,"Copy photo.png to projects_backup, ensuring that the user approves the overwrite.", cp -i photo.png projects_backup
414
- 172,Ask for confirmation before overwriting spreadsheet.xlsx with archives,mv -i spreadsheet.xlsx archives
415
- 1374,Search for files with names containing 'image' and with execute permissions for others,"find . -type f -name ""*image*"" -perm /o=x"
416
- 5418,Move contract.pdf to music only if it's newer or doesn't exist,mv -u contract.pdf music
417
- 3043,"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
- 2579,Making a hard link and mirroring presentation.pptx to scripts_backup while preserving properties, cp -p -l presentation.pptx scripts_backup
419
- 4129,Avoid replacing report.pdf with temp.,mv -n report.pdf temp
420
- 1765,Show file sizes in human-readable units,ls -h
421
- 5508,Transfer script.py to downloads_archive and ask for user confirmation if files exist,cp -i script.py downloads_archive
422
- 2132,"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
- 4054,List the files in reverse order based on size and modification time.,ls -Sltr
424
- 8636,Print document.docx while preventing the display of several blank lines., cat -s document.docx
425
- 6127,"Create the directory ""videos"" and provide a list of its contents.",mkdir videos && ls videos
426
- 4299,"While maintaining its properties, copy configuration.ini to logs_archive and establish a hard link.", cp -p -l configuration.ini logs_archive
427
- 6825,Look for files with the name database.sql., find . -name database.sql
428
- 7778,compel Make a backup of the current files and copy document.docx to temp_folder., cp -b -f document.docx temp_folder
429
- 3377,"To photos, copy the files.", find . -name database.sql -exec cp {} photos \
430
- 3772,Replicate proposal.docx to output and prompt for user confirmation,cp -i proposal.docx output
431
- 2880,Search for files modified exactly 30 days ago, find . -mtime 30
432
- 7466,Files will be shown sorted by size.,ls -S
433
- 7594,Transferring report.pdf to downloads will replace any preexisting files.,mv -f report.pdf downloads
434
- 3771,Duplicate proposal.docx to archive with interactive confirmation required,cp -i proposal.docx archive
435
- 3269,Create zip of backups and its contents, zip -r backups backups
 
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