<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8396014497656672369</id><updated>2026-10-15T22:10:53.365+05:30</updated><category term="perl"/><category term="Interview question"/><category term="Python"/><category term="Quiz"/><category term="C"/><category term="Linux"/><category term="List"/><category term="String"/><category term="AWS"/><category term="Generators"/><category term="Sort"/><category term="AWK"/><category term="Append"/><category term="Bases"/><category term="CLI"/><category term="Class"/><category term="Control"/><category term="Cronjob"/><category term="Dictionary"/><category term="Disk Free"/><category term="Disk Usage"/><category term="Error Handling"/><category term="Exception"/><category term="File Bin"/><category term="Filehandle"/><category term="Find"/><category term="Flow"/><category term="Format"/><category term="Input record seperator"/><category term="Insert"/><category term="Int function"/><category term="Interview"/><category term="Iteration"/><category term="Lambda"/><category term="List Util"/><category term="Method"/><category term="Methods"/><category term="Module"/><category term="Modules"/><category term="Nested List"/><category term="Net FTP"/><category term="Next"/><category term="Number"/><category term="OOP"/><category term="Output"/><category term="PHP"/><category term="Reading from file"/><category term="Round"/><category term="S3"/><category term="SED"/><category term="Security Group"/><category term="Seek"/><category term="Set"/><category term="Slicing"/><category term="Split"/><category term="Tell"/><category term="Truncate"/><category term="Truthiness"/><category term="Vi"/><category term="bolean"/><category term="boolean"/><category term="compare values"/><category term="defined"/><category term="diamond operator"/><category term="eof"/><category term="false"/><category term="hard link"/><category term="initialize"/><category term="lambda function"/><category term="logical Expression"/><category term="read"/><category term="reverse"/><category term="soap"/><category term="soft link"/><category term="sql"/><category term="ternary operator"/><category term="true"/><category term="undef"/><title type='text'>Perl/Shell/Python Knowledge Sharing</title><subtitle type='html'>Perl, shell, python Interview Questions and Answers and quiz </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>332</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-3980586509026071738</id><published>2026-10-15T22:05:05.093+05:30</published><updated>2026-10-15T22:05:08.224+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Quiz: `and` vs `or` — Operand Return Behavior</title><content type='html'>&lt;p&gt;&amp;nbsp;### Python Quiz: `and` vs `or` — Operand Return Behavior&lt;/p&gt;&lt;p&gt;Test your Python knowledge with these 10 quiz questions, covering truthy/falsy values, short-circuit evaluation, and code output.&lt;/p&gt;&lt;p&gt;Key rule to remember:&lt;/p&gt;&lt;p&gt;* `x and y` → returns `x` if `x` is falsy; otherwise returns `y`.&lt;/p&gt;&lt;p&gt;* `x or y` → returns `x` if `x` is truthy; otherwise returns `y`.&lt;/p&gt;&lt;p&gt;Python and/or Operator Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? print(0 or 15)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. False&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 15&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? print(&quot;Python&quot; and &quot;Quiz&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Python&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. False&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Quiz&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? print([] or &quot;Empty&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Empty&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. []&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? print(5 and 0 and 8)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? print(None or False or &quot;Done&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. False&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Done&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. Select every expression that evaluates to the integer 0. # Evaluate each expression independently&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 9 or 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 9 and 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0 and 7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0 or 7&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. In Python, the expression &quot;Hi&quot; or &quot;Bye&quot; evaluates to the string &quot;Hi&quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. In Python, [] and 10 evaluates to the integer 10 because and always returns its last operand.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What is printed? def check(): print(&quot;called&quot;) return 99 print(1 or check())&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. called, then 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. called, then 99&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 99 only&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1 only&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? value = &quot;&quot; result = value and 100 print(repr(result))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. &#39;&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 100&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. False&lt;/p&gt;&lt;p&gt;Quick revision tip: `and` stops at the first falsy operand; `or` stops at the first truthy operand. Both return the actual operand,&amp;nbsp;&lt;/p&gt;&lt;p&gt;not necessarily `True` or `False`.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/3980586509026071738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/3980586509026071738?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/3980586509026071738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/3980586509026071738'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/10/python-quiz-and-vs-or-operand-return.html' title='Python Quiz: `and` vs `or` — Operand Return Behavior'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-8206524481249896413</id><published>2026-10-08T12:52:32.767+05:30</published><updated>2026-10-08T12:52:32.767+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Requests Package quiz</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Python Requests Package — Complete Quiz with Answers&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Basic + Intermediate&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q1. Which Python package is commonly used to send HTTP requests easily?&lt;/p&gt;&lt;p&gt;A) urllib&lt;/p&gt;&lt;p&gt;B) requests&lt;/p&gt;&lt;p&gt;C) httpclient&lt;/p&gt;&lt;p&gt;D) httplib&lt;/p&gt;&lt;p&gt;Answer: B) requests&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q2. Which attribute returns the HTTP status code of a response object r?&lt;/p&gt;&lt;p&gt;A) r.status&lt;/p&gt;&lt;p&gt;B) r.code&lt;/p&gt;&lt;p&gt;C) r.status_code&lt;/p&gt;&lt;p&gt;D) r.http_code&lt;/p&gt;&lt;p&gt;Answer: C) r.status_code&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q3. response.json() converts a JSON response into a Python dictionary or list.&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;Answer: A) True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q4. The requests package is included in Python&#39;s standard library and does not require installation.&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;Answer: B) False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q5. Which methods are valid HTTP methods supported directly by Requests?&lt;/p&gt;&lt;p&gt;A) delete()&lt;/p&gt;&lt;p&gt;B) get()&lt;/p&gt;&lt;p&gt;C) post()&lt;/p&gt;&lt;p&gt;D) put()&lt;/p&gt;&lt;p&gt;Answer: B, C, D&lt;/p&gt;&lt;p&gt;Note: delete() is also supported by Requests; this question&#39;s original answer set was incomplete.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q6. Which parameter is used to send query-string values in requests.get()?&lt;/p&gt;&lt;p&gt;A) data&lt;/p&gt;&lt;p&gt;B) params&lt;/p&gt;&lt;p&gt;C) query&lt;/p&gt;&lt;p&gt;D) args&lt;/p&gt;&lt;p&gt;Answer: B) params&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;---&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Intermediate Code Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q7. What is printed?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;import requests&lt;/p&gt;&lt;p&gt;r = requests.get(&#39;https://example.com&#39;)&lt;/p&gt;&lt;p&gt;print(r.status_code)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) 404&lt;/p&gt;&lt;p&gt;B) 200&lt;/p&gt;&lt;p&gt;C) 500&lt;/p&gt;&lt;p&gt;D) 301&lt;/p&gt;&lt;p&gt;Answer: B) 200&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q8. What does this send to the server?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;requests.get(&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &#39;https://api.example.com/users&#39;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; params={&#39;page&#39;: 2, &#39;limit&#39;: 10}&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) JSON body&lt;/p&gt;&lt;p&gt;B) Form data&lt;/p&gt;&lt;p&gt;C) URL query parameters&lt;/p&gt;&lt;p&gt;D) HTTP headers&lt;/p&gt;&lt;p&gt;Answer: C) URL query parameters&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q9. What Python object is most likely returned?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;response = requests.get(url)&lt;/p&gt;&lt;p&gt;data = response.json()&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If the API returns a JSON object: A) tuple&lt;/p&gt;&lt;p&gt;B) list&lt;/p&gt;&lt;p&gt;C) dict&lt;/p&gt;&lt;p&gt;D) bytes&lt;/p&gt;&lt;p&gt;Answer: C) dict&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q10. response.text returns the response body decoded as text.&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;Answer: A) True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q11. What is the purpose of response.raise_for_status()?&lt;/p&gt;&lt;p&gt;A) Converts response to JSON&lt;/p&gt;&lt;p&gt;B) Raises an exception for unsuccessful HTTP status codes&lt;/p&gt;&lt;p&gt;C) Retries the request&lt;/p&gt;&lt;p&gt;D) Closes the connection&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q12. What does this request do?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;requests.post(&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; url,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; json={&#39;name&#39;: &#39;John&#39;},&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; headers={&#39;Authorization&#39;: &#39;Bearer TOKEN&#39;}&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) Sends data as URL parameters&lt;/p&gt;&lt;p&gt;B) Sends JSON data in the request body&lt;/p&gt;&lt;p&gt;C) Sends a POST request&lt;/p&gt;&lt;p&gt;D) Sends an Authorization header&lt;/p&gt;&lt;p&gt;Answer: B, C, D&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q13. What does timeout=5 do?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;requests.get(url, timeout=5)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) Retries 5 times&lt;/p&gt;&lt;p&gt;B) Sets a 5-second timeout&lt;/p&gt;&lt;p&gt;C) Sends 5 requests&lt;/p&gt;&lt;p&gt;D) Waits 5 minutes&lt;/p&gt;&lt;p&gt;Answer: B) Sets a 5-second timeout&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q14. Which exception can be caught for timeout or other Requests-related network errors?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;try:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; requests.get(url, timeout=3)&lt;/p&gt;&lt;p&gt;except ______ as e:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; print(e)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) ValueError&lt;/p&gt;&lt;p&gt;B) KeyError&lt;/p&gt;&lt;p&gt;C) requests.exceptions.RequestException&lt;/p&gt;&lt;p&gt;D) IndexError&lt;/p&gt;&lt;p&gt;Answer: C&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q15. What does this return?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;r.headers.get(&#39;Content-Type&#39;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) HTTP status code&lt;/p&gt;&lt;p&gt;B) Content-Type header value&lt;/p&gt;&lt;p&gt;C) Request body&lt;/p&gt;&lt;p&gt;D) URL&lt;/p&gt;&lt;p&gt;Answer: B) Content-Type header value&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q16. What does this send?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;requests.post(url, data={&#39;name&#39;: &#39;John&#39;})&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) JSON data&lt;/p&gt;&lt;p&gt;B) Form data&lt;/p&gt;&lt;p&gt;C) Query parameters&lt;/p&gt;&lt;p&gt;D) Cookies&lt;/p&gt;&lt;p&gt;Answer: B) Form data&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fresh Intermediate Code Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q17. What does r.ok indicate?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;r = requests.get(url)&lt;/p&gt;&lt;p&gt;print(r.ok)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) True only for status 200&lt;/p&gt;&lt;p&gt;B) True only for status 201&lt;/p&gt;&lt;p&gt;C) True only for status 300&lt;/p&gt;&lt;p&gt;D) True when status is below 400&lt;/p&gt;&lt;p&gt;Answer: D&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q18. What does r.content provide?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;r = requests.get(url)&lt;/p&gt;&lt;p&gt;content = r.content&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) JSON dictionary&lt;/p&gt;&lt;p&gt;B) Raw response bytes&lt;/p&gt;&lt;p&gt;C) HTTP status&lt;/p&gt;&lt;p&gt;D) Headers&lt;/p&gt;&lt;p&gt;Answer: B) Raw response bytes&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q19. What happens for HTTP 404?&lt;/p&gt;&lt;p&gt;r = requests.get(url)&lt;/p&gt;&lt;p&gt;r.raise_for_status()&lt;/p&gt;&lt;p&gt;print(&quot;Done&quot;)&lt;/p&gt;&lt;p&gt;A) Prints Done&lt;/p&gt;&lt;p&gt;B) Returns 200&lt;/p&gt;&lt;p&gt;C) Retries automatically&lt;/p&gt;&lt;p&gt;D) Raises HTTPError&lt;/p&gt;&lt;p&gt;Answer: D&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q20. Which arguments can be supplied to requests.get()?&lt;/p&gt;&lt;p&gt;A) cookies&lt;/p&gt;&lt;p&gt;B) headers&lt;/p&gt;&lt;p&gt;C) verify&lt;/p&gt;&lt;p&gt;D) All of the above&lt;/p&gt;&lt;p&gt;Answer: D&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q21. A requests.Session can persist settings such as cookies across multiple requests.&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;Answer: A) True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q22. What is the purpose of this code?&lt;/p&gt;&lt;p&gt;session = requests.Session()&lt;/p&gt;&lt;p&gt;session.headers.update({&#39;User-Agent&#39;: &#39;MyApp&#39;})&lt;/p&gt;&lt;p&gt;A) Sends one request&lt;/p&gt;&lt;p&gt;B) Sets a default header for session requests&lt;/p&gt;&lt;p&gt;C) Deletes headers&lt;/p&gt;&lt;p&gt;D) Disables cookies&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q23. What does this do?&lt;/p&gt;&lt;p&gt;requests.get(url, allow_redirects=False)&lt;/p&gt;&lt;p&gt;A) Prevents automatic redirects&lt;/p&gt;&lt;p&gt;B) Forces a redirect&lt;/p&gt;&lt;p&gt;C) Disables HTTPS&lt;/p&gt;&lt;p&gt;D) Retries redirects&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q24. What does this do?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;requests.get(&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; url,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; cookies={&#39;session_id&#39;: &#39;abc123&#39;}&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) Sends cookies with the request&lt;/p&gt;&lt;p&gt;B) Creates a new session&lt;/p&gt;&lt;p&gt;C) Deletes cookies&lt;/p&gt;&lt;p&gt;D) Reads response headers&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q25. Which code correctly saves an image response?&lt;/p&gt;&lt;p&gt;r = requests.get(url)&lt;/p&gt;&lt;p&gt;A)open(&#39;image.jpg&#39;, &#39;w&#39;).write(r.text)&lt;/p&gt;&lt;p&gt;B)open(&#39;image.jpg&#39;, &#39;r&#39;).write(r.content)&lt;/p&gt;&lt;p&gt;C) open(&#39;image.jpg&#39;, &#39;wb&#39;).write(r.content)&lt;/p&gt;&lt;p&gt;D) open(&#39;image.jpg&#39;, &#39;a&#39;).write(r.json())&lt;/p&gt;&lt;p&gt;Answer: C&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q26. What is the purpose of requests.head(url)?&lt;/p&gt;&lt;p&gt;A) Downloads the complete response body&lt;/p&gt;&lt;p&gt;B) Sends a POST request&lt;/p&gt;&lt;p&gt;C) Deletes a resource&lt;/p&gt;&lt;p&gt;D) Fetches headers without normally downloading the response body&lt;/p&gt;&lt;p&gt;Answer: D&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Quick Revision&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;requests.get()       → GET request&lt;/p&gt;&lt;p&gt;requests.post()      → POST request&lt;/p&gt;&lt;p&gt;requests.put()       → PUT request&lt;/p&gt;&lt;p&gt;requests.delete()    → DELETE request&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;params={}            → URL query parameters&lt;/p&gt;&lt;p&gt;data={}              → Form/request data&lt;/p&gt;&lt;p&gt;json={}              → JSON request body&lt;/p&gt;&lt;p&gt;headers={}           → HTTP headers&lt;/p&gt;&lt;p&gt;cookies={}           → Cookies&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;r.status_code        → HTTP status code&lt;/p&gt;&lt;p&gt;r.ok                 → True for status &amp;lt; 400&lt;/p&gt;&lt;p&gt;r.text               → Response as text&lt;/p&gt;&lt;p&gt;r.content            → Response as bytes&lt;/p&gt;&lt;p&gt;r.json()             → Parse JSON response&lt;/p&gt;&lt;p&gt;r.headers            → Response headers&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;raise_for_status()   → Raise HTTP error&lt;/p&gt;&lt;p&gt;timeout=5            → Request timeout&lt;/p&gt;&lt;p&gt;Session()            → Persist settings/cookies&lt;/p&gt;&lt;p&gt;allow_redirects=False→ Don&#39;t follow redirects&lt;/p&gt;&lt;p&gt;head()               → Fetch headers&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/8206524481249896413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/8206524481249896413?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/8206524481249896413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/8206524481249896413'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/10/python-requests-package-quiz.html' title='Python Requests Package quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-8047074137188618725</id><published>2026-10-06T14:33:47.120+05:30</published><updated>2026-10-06T14:33:47.121+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python try-except Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;Python try-except Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? try: print(10 / 0) except ZeroDivisionError: print(&quot;Error&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Error&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. No output&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What happens if an exception occurs inside try and there is no matching except block?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. The finally block is skipped automatically&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. The exception becomes None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. The program raises the exception&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Python ignores the exception&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. A finally block normally executes whether or not an exception occurs in the associated try block.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? try: x = int(&quot;abc&quot;) except ValueError: print(&quot;Invalid&quot;) else: print(&quot;Valid&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. No output&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Valid&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Invalid&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. abc&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. Which of the following can be used to explicitly raise an exception in Python? Select all that apply.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. throw ValueError(&quot;Invalid&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. raise RuntimeError(&quot;Failed&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. raise ValueError(&quot;Invalid&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. raise Exception(&quot;Problem&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. The except block must always specify an exception type.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What is the output? try: print(5 / 1) except ZeroDivisionError: print(&quot;Error&quot;) else: print(&quot;Success&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Success only&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 5 then Error&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 5.0 then Success&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. Which exception is most appropriate when accessing a dictionary key that does not exist?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. TypeError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. NameError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. IndexError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. KeyError&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What does the else block in try-except-else execute when the try block completes successfully?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. It executes only when an exception occurs&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. It executes after the try block&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. It always executes before try&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. It replaces finally&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? try: numbers = [1, 2, 3] print(numbers[5]) except IndexError: print(&quot;Index problem&quot;) finally: print(&quot;Done&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Index problem then Done&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 5 then Done&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Index problem only&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Done only&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/8047074137188618725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/8047074137188618725?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/8047074137188618725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/8047074137188618725'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/10/python-try-except-quiz.html' title='Python try-except Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-9055167183628493174</id><published>2026-09-29T19:24:44.540+05:30</published><updated>2026-09-29T19:24:44.540+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Filehandle"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python file-handling</title><content type='html'>&lt;p&gt;&amp;nbsp;### Top 20 Python `open()` Function Quiz 🐍&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Test your Python file-handling knowledge with 20 multiple-choice questions covering file modes, reading, writing, appending, `with` statements, and file pointers.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Part 1: Basic `open()` Quiz&lt;/p&gt;&lt;p&gt;Q1. What is the default mode of open()?&lt;/p&gt;&lt;p&gt;A. &#39;w&#39;&lt;/p&gt;&lt;p&gt;B. &#39;r&#39;&lt;/p&gt;&lt;p&gt;C. &#39;a&#39;&lt;/p&gt;&lt;p&gt;D. &#39;x&#39;&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;The default mode is &#39;r&#39;, which opens a file for reading.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q2. What happens if you open a non-existing file using open(&#39;test.txt&#39;, &#39;r&#39;)?&lt;/p&gt;&lt;p&gt;A. Creates the file&lt;/p&gt;&lt;p&gt;B. Returns None&lt;/p&gt;&lt;p&gt;C. Raises FileNotFoundError&lt;/p&gt;&lt;p&gt;D. Creates an empty file&lt;/p&gt;&lt;p&gt;Correct answer: C&lt;/p&gt;&lt;p&gt;Read mode requires the file to exist.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q3. Which mode opens a file for writing and truncates existing content?&lt;/p&gt;&lt;p&gt;A. &#39;a&#39;&lt;/p&gt;&lt;p&gt;B. &#39;r&#39;&lt;/p&gt;&lt;p&gt;C. &#39;w&#39;&lt;/p&gt;&lt;p&gt;D. &#39;x&#39;&lt;/p&gt;&lt;p&gt;Correct answer: C&lt;/p&gt;&lt;p&gt;&#39;w&#39; creates a file if needed and clears existing content.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q4. Which mode adds content to the end of a file?&lt;/p&gt;&lt;p&gt;A. &#39;r&#39;&lt;/p&gt;&lt;p&gt;B. &#39;a&#39;&lt;/p&gt;&lt;p&gt;C. &#39;w&#39;&lt;/p&gt;&lt;p&gt;D. &#39;x&#39;&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;Append mode writes at the end without removing existing content.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q5. What does mode &#39;x&#39; do?&lt;/p&gt;&lt;p&gt;A. Reads a file&lt;/p&gt;&lt;p&gt;B. Appends content&lt;/p&gt;&lt;p&gt;C. Creates a new file exclusively&lt;/p&gt;&lt;p&gt;D. Deletes a file&lt;/p&gt;&lt;p&gt;Correct answer: C&lt;/p&gt;&lt;p&gt;&#39;x&#39; raises FileExistsError if the file already exists.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q6. What does file.read() return?&lt;/p&gt;&lt;p&gt;A. A list of lines&lt;/p&gt;&lt;p&gt;B. A string containing file content&lt;/p&gt;&lt;p&gt;C. A file object&lt;/p&gt;&lt;p&gt;D. An integer&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;read() returns the file contents as a string in text mode.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q7. What does readline() return?&lt;/p&gt;&lt;p&gt;A. All lines&lt;/p&gt;&lt;p&gt;B. One line, including newline if present&lt;/p&gt;&lt;p&gt;C. A list&lt;/p&gt;&lt;p&gt;D. The last line only&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;readline() reads one line at a time.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q8. What does readlines() return?&lt;/p&gt;&lt;p&gt;A. A string&lt;/p&gt;&lt;p&gt;B. A tuple&lt;/p&gt;&lt;p&gt;C. A list of lines&lt;/p&gt;&lt;p&gt;D. A dictionary&lt;/p&gt;&lt;p&gt;Correct answer: C&lt;/p&gt;&lt;p&gt;readlines() returns a list where each element is a line.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q9. Which method writes a string to a file?&lt;/p&gt;&lt;p&gt;A. read()&lt;/p&gt;&lt;p&gt;B. write()&lt;/p&gt;&lt;p&gt;C. readline()&lt;/p&gt;&lt;p&gt;D. append()&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;write() writes a string and does not automatically add a newline.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q10. What is the purpose of the with statement when opening files?&lt;/p&gt;&lt;p&gt;A. Makes file read-only&lt;/p&gt;&lt;p&gt;B. Automatically closes the file&lt;/p&gt;&lt;p&gt;C. Deletes the file&lt;/p&gt;&lt;p&gt;D. Opens only binary files&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;The context manager closes the file automatically, even if an exception occurs.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Part 2: Output-Based Quiz&lt;/p&gt;&lt;p&gt;Q11. What is printed if file.txt contains Hello World?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;r&#39;) print(f.read(5))&lt;/p&gt;&lt;p&gt;A. Hello&lt;/p&gt;&lt;p&gt;B. Hello World&lt;/p&gt;&lt;p&gt;C. World&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Correct answer: A&lt;/p&gt;&lt;p&gt;read(5) reads the first five characters.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q12. What is printed if file.txt contains Python?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;r&#39;) print(f.read()) print(f.read())&lt;/p&gt;&lt;p&gt;A. Python twice&lt;/p&gt;&lt;p&gt;B. Python followed by a blank line&lt;/p&gt;&lt;p&gt;C. Error&lt;/p&gt;&lt;p&gt;D. None twice&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;The first read consumes the content. The second read returns an empty string.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q13. What is the content after execution if file.txt initially contains ABC?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;w&#39;) f.write(&#39;XYZ&#39;) f.close()&lt;/p&gt;&lt;p&gt;A. ABCXYZ&lt;/p&gt;&lt;p&gt;B. ABC&lt;/p&gt;&lt;p&gt;C. XYZ&lt;/p&gt;&lt;p&gt;D. XYZABC&lt;/p&gt;&lt;p&gt;Correct answer: C&lt;/p&gt;&lt;p&gt;Write mode truncates the original file before writing XYZ.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q14. If file.txt contains Hi, what is its content after this?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;a&#39;) f.write(&#39;!&#39;) f.close()&lt;/p&gt;&lt;p&gt;A. !&lt;/p&gt;&lt;p&gt;B. Hi!&lt;/p&gt;&lt;p&gt;C. Hi&lt;/p&gt;&lt;p&gt;D. !Hi&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;Append mode adds ! at the end.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q15. What does this print?&lt;/p&gt;&lt;p&gt;with open(&#39;file.txt&#39;, &#39;w&#39;) as f: f.write(&#39;Python&#39;) print(f.closed)&lt;/p&gt;&lt;p&gt;A. False&lt;/p&gt;&lt;p&gt;B. True&lt;/p&gt;&lt;p&gt;C. Python&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;The with block closes the file when execution exits the block.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q16. What is printed?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;w&#39;) print(f.write(&#39;Hello&#39;)) f.close()&lt;/p&gt;&lt;p&gt;A. Hello&lt;/p&gt;&lt;p&gt;B. 5&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;D. True&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;write() returns the number of characters written. Hello has five characters.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q17. What is printed?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;w&#39;) f.write(&#39;ABC\\nDEF&#39;) f.close() f = open(&#39;file.txt&#39;, &#39;r&#39;) print(f.readline().strip())&lt;/p&gt;&lt;p&gt;A. ABC&lt;/p&gt;&lt;p&gt;B. DEF&lt;/p&gt;&lt;p&gt;C. ABC DEF&lt;/p&gt;&lt;p&gt;D. ABC\\nDEF&lt;/p&gt;&lt;p&gt;Correct answer: A&lt;/p&gt;&lt;p&gt;readline() reads the first line; strip() removes the newline.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q18. What does seek(0) do?&lt;/p&gt;&lt;p&gt;f.seek(0)&lt;/p&gt;&lt;p&gt;A. Closes the file&lt;/p&gt;&lt;p&gt;B. Moves the file pointer to the beginning&lt;/p&gt;&lt;p&gt;C. Deletes the first character&lt;/p&gt;&lt;p&gt;D. Moves to the end&lt;/p&gt;&lt;p&gt;Correct answer: B&lt;/p&gt;&lt;p&gt;seek(0) moves the file pointer to byte/character position zero in ordinary text-file usage.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q19. What is printed?&lt;/p&gt;&lt;p&gt;f = open(&#39;file.txt&#39;, &#39;w+&#39;) f.write(&#39;ABC&#39;) f.seek(0) print(f.read()) f.close()&lt;/p&gt;&lt;p&gt;A. ABC&lt;/p&gt;&lt;p&gt;B. Empty string&lt;/p&gt;&lt;p&gt;C. 3&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Correct answer: A&lt;/p&gt;&lt;p&gt;w+ permits reading and writing. seek(0) moves the pointer back to the beginning.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q20. What happens when opening an existing file with mode &#39;x&#39;?&lt;/p&gt;&lt;p&gt;f = open(&#39;existing.txt&#39;, &#39;x&#39;)&lt;/p&gt;&lt;p&gt;A. File is overwritten&lt;/p&gt;&lt;p&gt;B. File is appended&lt;/p&gt;&lt;p&gt;C. FileExistsError is raised&lt;/p&gt;&lt;p&gt;D. File is read&lt;/p&gt;&lt;p&gt;Correct answer: C&lt;/p&gt;&lt;p&gt;Exclusive creation fails if the file already exists.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Quick revision: Python file modes&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;| Mode | Purpose                                  |&lt;/p&gt;&lt;p&gt;| ---- | ---------------------------------------- |&lt;/p&gt;&lt;p&gt;| r    | Read; file must exist                    |&lt;/p&gt;&lt;p&gt;| w    | Write; truncates existing content        |&lt;/p&gt;&lt;p&gt;| a    | Append; creates file if missing          |&lt;/p&gt;&lt;p&gt;| x    | Create exclusively; fails i&lt;/p&gt;&lt;p&gt;f file exists |&lt;/p&gt;&lt;p&gt;| r+   | Read and write; file must exist          |&lt;/p&gt;&lt;p&gt;| w+   | Read and write; truncates existing file  |&lt;/p&gt;&lt;p&gt;| a+   | Read and append; creates if missing      |&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Remember: Use `with open(&quot;file.txt&quot;, &quot;r&quot;) as f:` for automatic file closing.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/9055167183628493174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/9055167183628493174?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/9055167183628493174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/9055167183628493174'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-file-handling.html' title='Python file-handling'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-7269278017716592927</id><published>2026-09-29T16:39:37.749+05:30</published><updated>2026-09-29T16:39:37.749+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="OOP"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Classes, Objects, Inheritance, Method Overriding &amp; More</title><content type='html'>&lt;p&gt;&amp;nbsp;### Top 20 Python OOP Quiz 🐍&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Classes, Objects, Inheritance, Method Overriding &amp;amp; More&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Test your Python knowledge with these 20 output-based MCQs covering classes, constructors, inheritance, method overriding, `super()`, polymorphism, encapsulation, and abstraction.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Section 1: Classes and Objects&lt;/p&gt;&lt;p&gt;Q1. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Student:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self, name):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.name = name&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;s = Student(&quot;Ravi&quot;)&lt;/p&gt;&lt;p&gt;print(s.name)&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. Student&lt;/p&gt;&lt;p&gt;B. Ravi&lt;/p&gt;&lt;p&gt;C. name&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: B — Ravi. `self.name` stores the instance attribute.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q2. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Demo:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; x = 10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;a = Demo()&lt;/p&gt;&lt;p&gt;b = Demo()&lt;/p&gt;&lt;p&gt;a.x = 20&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;print(b.x)&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 10&lt;/p&gt;&lt;p&gt;B. 20&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: A — 10. Assigning `a.x` creates an instance attribute; `b.x` still resolves to the class attribute.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q3. What does `__init__()` do?&lt;/p&gt;&lt;p&gt;A. Destroys an object&lt;/p&gt;&lt;p&gt;B. Initializes an instance after it is created&lt;/p&gt;&lt;p&gt;C. Inherits a class&lt;/p&gt;&lt;p&gt;D. Defines a static method&lt;/p&gt;&lt;p&gt;Answer: B — It initializes the newly created instance.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q4. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;A&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;obj = A()&lt;/p&gt;&lt;p&gt;obj.show()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. A&lt;/p&gt;&lt;p&gt;B. show&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: A — A.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q5. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Counter:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; count = 0&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Counter.count += 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;a = Counter()&lt;/p&gt;&lt;p&gt;b = Counter()&lt;/p&gt;&lt;p&gt;print(Counter.count)&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. 0&lt;/p&gt;&lt;p&gt;B. 1&lt;/p&gt;&lt;p&gt;C. 2&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: C — 2. The class variable is incremented for each instance.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Section 2: Inheritance and Method Overriding&lt;/p&gt;&lt;p&gt;Q6. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Parent:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;Parent&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class Child(Parent):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; pass&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Child().show()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. Child&lt;/p&gt;&lt;p&gt;B. Parent&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: B — Parent. Child inherits the method.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q7. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Parent:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;Parent&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class Child(Parent):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;Child&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Child().show()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. Parent&lt;/p&gt;&lt;p&gt;B. Child&lt;/p&gt;&lt;p&gt;C. Parent Child&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: B — Child. The child overrides the parent method.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q8. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;A&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class B(A):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super().show()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;B&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B().show()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. B then A&lt;/p&gt;&lt;p&gt;B. A then B&lt;/p&gt;&lt;p&gt;C. B only&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: B — A, then B. `super()` calls the next implementation in the method resolution order.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q9. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;A&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class B(A):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;B&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. A then B&lt;/p&gt;&lt;p&gt;B. B then A&lt;/p&gt;&lt;p&gt;C. B only&lt;/p&gt;&lt;p&gt;D. A only&lt;/p&gt;&lt;p&gt;Answer: C — B only. The child constructor does not call the parent constructor.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q10. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.x = 10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class B(A):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super().__init__()&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.y = 20&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;obj = B()&lt;/p&gt;&lt;p&gt;print(obj.x + obj.y)&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. 10&lt;/p&gt;&lt;p&gt;B. 20&lt;/p&gt;&lt;p&gt;C. 30&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: C — 30. `super().__init__()` initializes `x`; the child initializes `y`.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q11. Which inheritance type allows a class to inherit from two parent classes?&lt;/p&gt;&lt;p&gt;A. Single inheritance&lt;/p&gt;&lt;p&gt;B. Multiple inheritance&lt;/p&gt;&lt;p&gt;C. Multilevel inheritance&lt;/p&gt;&lt;p&gt;D. Hierarchical inheritance&lt;/p&gt;&lt;p&gt;Answer: B — Multiple inheritance.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q12. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;A&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class B:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;B&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class C(A, B):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; pass&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C().show()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. A&lt;/p&gt;&lt;p&gt;B. B&lt;/p&gt;&lt;p&gt;C. A B&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: A — A. Python searches base classes according to the MRO; A comes first.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Section 3: Polymorphism, Encapsulation &amp;amp; Abstraction&lt;/p&gt;&lt;p&gt;Q13. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Animal:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def sound(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;Animal&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class Dog(Animal):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def sound(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;Bark&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;def make_sound(obj):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; obj.sound()&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;make_sound(Dog())&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. Animal&lt;/p&gt;&lt;p&gt;B. Bark&lt;/p&gt;&lt;p&gt;C. Both&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: B — Bark. This demonstrates runtime polymorphism.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q14. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &quot;Hello&quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;obj = A()&lt;/p&gt;&lt;p&gt;print(obj.show())&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. None&lt;/p&gt;&lt;p&gt;B. Hello&lt;/p&gt;&lt;p&gt;C. show&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: B — Hello. The method returns a string.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q15. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class Employee:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.__salary = 50000&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;e = Employee()&lt;/p&gt;&lt;p&gt;print(e.__salary)&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. 50000&lt;/p&gt;&lt;p&gt;B. None&lt;/p&gt;&lt;p&gt;C. AttributeError&lt;/p&gt;&lt;p&gt;D. SyntaxError&lt;/p&gt;&lt;p&gt;Answer: C — AttributeError. Double-underscore attributes undergo name mangling.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q16. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def __init__(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.__x = 10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;obj = A()&lt;/p&gt;&lt;p&gt;print(obj._A__x)&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. 10&lt;/p&gt;&lt;p&gt;B. None&lt;/p&gt;&lt;p&gt;C. AttributeError&lt;/p&gt;&lt;p&gt;D. SyntaxError&lt;/p&gt;&lt;p&gt;Answer: A — 10. Name mangling changes `__x` to `_A__x`; it is not strict privacy.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q17. Which module provides support for abstract base classes?&lt;/p&gt;&lt;p&gt;A. os&lt;/p&gt;&lt;p&gt;B. abc&lt;/p&gt;&lt;p&gt;C. sys&lt;/p&gt;&lt;p&gt;D. math&lt;/p&gt;&lt;p&gt;Answer: B — `abc` (Abstract Base Classes).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q18. What happens when you run this code?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;from abc import ABC, abstractmethod&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class Shape(ABC):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; @abstractmethod&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def area(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pass&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;s = Shape()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. Object created successfully&lt;/p&gt;&lt;p&gt;B. Returns None&lt;/p&gt;&lt;p&gt;C. TypeError&lt;/p&gt;&lt;p&gt;D. SyntaxError&lt;/p&gt;&lt;p&gt;Answer: C — TypeError. A class with unimplemented abstract methods cannot be instantiated.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q19. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def greet(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;Hello&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class B(A):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; pass&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class C(B):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; pass&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C().greet()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. Hello&lt;/p&gt;&lt;p&gt;B. A&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;Answer: A — Hello. This is multilevel inheritance: A → B → C.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q20. What is the output?&lt;/p&gt;&lt;p&gt;```python&lt;/p&gt;&lt;p&gt;class A:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;A&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class B(A):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;B&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super().show()&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;class C(B):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; def show(self):&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print(&quot;C&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super().show()&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C().show()&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;&lt;p&gt;A. A B C&lt;/p&gt;&lt;p&gt;B. C B A&lt;/p&gt;&lt;p&gt;C. C A B&lt;/p&gt;&lt;p&gt;D. C only&lt;/p&gt;&lt;p&gt;Answer: B — C, B, A. Each `super()` call invokes the next method in the MRO.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Quick Revision – Python OOP&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;| Concept       | Key point                                                              |&lt;/p&gt;&lt;p&gt;| ------------- | ---------------------------------------------------------------------- |&lt;/p&gt;&lt;p&gt;| Class         | Blueprint for creating objects                                         |&lt;/p&gt;&lt;p&gt;| Object        | Instance of a class                                                    |&lt;/p&gt;&lt;p&gt;| Inheritance   | Reuse parent class functionality                                       |&lt;/p&gt;&lt;p&gt;| Overriding    | Child provides its own implementation of an inherited method           |&lt;/p&gt;&lt;p&gt;| super()       | Accesses the next implementation in the MRO                            |&lt;/p&gt;&lt;p&gt;| Polymorphism  | Same interface, different behavior                                     |&lt;/p&gt;&lt;p&gt;| Encapsulation | Bundling data and methods; name mangling helps avoid accidental access |&lt;/p&gt;&lt;p&gt;| Abstraction   | Define required interfaces using abstract classes and methods          |&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/7269278017716592927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/7269278017716592927?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7269278017716592927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7269278017716592927'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/classes-objects-inheritance-method.html' title='Classes, Objects, Inheritance, Method Overriding &amp; More'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-1056443730707105629</id><published>2026-09-22T12:35:44.740+05:30</published><updated>2026-09-26T20:09:14.167+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Disk Free"/><category scheme="http://www.blogger.com/atom/ns#" term="Disk Usage"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Linux df and du commands to manage and check disk space</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div _ngcontent-ng-c972430416=&quot;&quot; aria-busy=&quot;false&quot; aria-live=&quot;polite&quot; class=&quot;markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color stronger tutor-markdown-rendering&quot; dir=&quot;ltr&quot; id=&quot;model-response-message-contentr_e20d24cdeb13b3e3&quot; inline-copy-host=&quot;&quot; style=&quot;--animation-duration: 400ms; --fade-animation-function: ease-out; animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; color: #1f1f1f; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;h3 data-path-to-node=&quot;2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;1. &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df&lt;/code&gt; (Disk Free) — Check Filesystem Space&lt;/h3&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;The &lt;b data-index-in-node=&quot;4&quot; data-path-to-node=&quot;3&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code data-index-in-node=&quot;4&quot; data-path-to-node=&quot;3&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df&lt;/code&gt;&lt;/b&gt; command shows the amount of disk space available on the entire file system.&lt;/div&gt;&lt;br /&gt;&lt;ul data-path-to-node=&quot;4&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding-inline-start: 32px; padding: 0px 0px 0px 3.36px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Basic usage (Human-readable format):&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-128 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-128 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQzgM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-128&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-128&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-128 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-128&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-128&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-128&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df -h
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;i data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,0,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;(The &lt;code data-index-in-node=&quot;5&quot; data-path-to-node=&quot;4,0,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;-h&lt;/code&gt; flag converts bytes into KB, MB, or GB for readability).&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Show filesystem types along with space:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-129 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-129 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQzwM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-129&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-129&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-129 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-129&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-129&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-129&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df -Th
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;i data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,1,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;(Displays formats like &lt;code data-index-in-node=&quot;23&quot; data-path-to-node=&quot;4,1,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;ext4&lt;/code&gt;, &lt;code data-index-in-node=&quot;29&quot; data-path-to-node=&quot;4,1,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;tmpfs&lt;/code&gt;, &lt;code data-index-in-node=&quot;36&quot; data-path-to-node=&quot;4,1,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;xfs&lt;/code&gt;, etc.)&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,2,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Check Inode usage (file count limits):&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-130 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-130 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQ0AM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-130&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-130&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-130 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-130&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-130&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-130&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df -i
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;i data-index-in-node=&quot;0&quot; data-path-to-node=&quot;4,2,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;(Useful if your disk says it has space, but you get &quot;No space left on device&quot; errors due to running out of inodes).&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;6&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;2. &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;6&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du&lt;/code&gt; (Disk Usage) — Check File &amp;amp; Directory Sizes&lt;/h3&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;The &lt;b data-index-in-node=&quot;4&quot; data-path-to-node=&quot;7&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code data-index-in-node=&quot;4&quot; data-path-to-node=&quot;7&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du&lt;/code&gt;&lt;/b&gt; command estimates file and directory space usage, helping you find which specific folders are consuming your storage.&lt;/div&gt;&lt;br /&gt;&lt;ul data-path-to-node=&quot;8&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding-inline-start: 32px; padding: 0px 0px 0px 3.36px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Check the size of a specific directory (human-readable):&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-131 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-131 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQ0QM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-131&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-131&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-131 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-131&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-131&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-131&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du -sh /path/to/directory
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;i data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,0,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;(The &lt;code data-index-in-node=&quot;5&quot; data-path-to-node=&quot;8,0,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;-s&lt;/code&gt; flag gives a &lt;b data-index-in-node=&quot;21&quot; data-path-to-node=&quot;8,0,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;summary&lt;/b&gt; total instead of listing every individual sub-file).&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,1,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;List sizes of all files and subfolders in the current directory:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-132 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-132 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQ0gM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-132&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-132&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-132 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-132&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-132&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-132&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du -h --max-depth=1
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;i data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,1,2&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;(Helps you quickly see which sub-folder is taking up the most space).&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,2,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Sort directories by size (largest first):&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-133 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-133 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQ0wM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-133&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-133&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-133 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-133&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-133&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-133&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du -h --max-depth=1 | sort -hr
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;/li&gt;&lt;li style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 36px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px 0px 0px 4px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;8,3,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Show total size of everything in the current directory including a grand total:&lt;/b&gt;&lt;/div&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-134 enable-luminous-code-block ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block ng-tns-c167312217-134 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahgKEwi18e-br4GXAxUAAAAAHQAAAAAQ1AM&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl9lMjBkMjRjZGViMTNiM2UzIiwiY18xYTI1M2FiNDQyM2I0N2I0IixudWxsLCJyY19iN2ZhOGMxNWU4NzBjN2M1IixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMF1d&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c167312217-134&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(20, 20, 20); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 26px 0px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;animated-opacity ng-tns-c167312217-134&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;div _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c167312217-134 ng-star-inserted&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: flex; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: -72px auto auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px 11px 0px 0px; page: auto; perspective: none; position: sticky; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-134&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Bash&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c167312217=&quot;&quot; class=&quot;ng-tns-c167312217-134&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code _ngcontent-ng-c167312217=&quot;&quot; class=&quot;code-container formatted ng-tns-c167312217-134&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0); border: 0px rgb(255, 255, 255); clear: none; clip: auto; color: white; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(255, 255, 255) none 3px; overlay: none; padding: 16px 0px 32px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(255, 255, 255); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du -ch
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 data-path-to-node=&quot;10&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans&amp;quot;, sans-serif !important; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;br /&gt;💡 Quick Summary Comparison&lt;/h3&gt;&lt;table data-path-to-node=&quot;11&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; color: #1f1f1f; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 32px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;thead style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;tr style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;strong style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Command&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;strong style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Focus&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;strong style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Best Used For&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;strong style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Common Flag&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;tr style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,1,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,1,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,1,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,1,1,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Filesystem level&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,2,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Checking overall hard drive / partition capacity&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,1,3,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,1,3,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;df -h&lt;/code&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,2,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,2,0,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; font-weight: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,1,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,2,1,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Directory level&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,2,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;Finding which specific folders or files are hogging space&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 1px solid rgb(196, 199, 197); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: 0px; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 8px 12px; page: auto; perspective: none; position: relative; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;span data-path-to-node=&quot;11,2,3,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background-attachment: scroll; background-clip: border-box; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; border: 0px rgb(31, 31, 31); clear: none; clip: auto; columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgb(31, 31, 31) none 3px; overlay: none; padding: 0px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgb(31, 31, 31); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;&lt;code data-index-in-node=&quot;0&quot; data-path-to-node=&quot;11,2,3,0&quot; style=&quot;animation: auto ease 0s 1 normal none running none; appearance: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 240, 240); border: 0px rgba(0, 0, 0, 0.55); clear: none; clip: auto; color: rgba(0, 0, 0, 0.55); columns: auto; contain: none; container: none; content: normal; cursor: auto; cx: 0px; cy: 0px; d: none; direction: ltr; display: inline-block; fill: rgb(0, 0, 0); filter: none; flex-direction: row; flex: 0 1 auto; float: none; font-family: &amp;quot;Google Sans Text&amp;quot;, sans-serif !important; font-feature-settings: normal; font-kerning: auto; font-language-override: normal; font-optical-sizing: auto; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-variant: normal; font-variation-settings: normal; gap: normal; hyphens: manual; inset: auto; interactivity: auto; isolation: auto; line-height: 1.15 !important; margin-bottom: 0px; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; marker: none; mask: none; offset: normal; opacity: 1; order: 0; outline: rgba(0, 0, 0, 0.55) none 3px; overlay: none; padding: 4px 6px; page: auto; perspective: none; position: static; quotes: auto; r: 0px; resize: none; rotate: none; rule: 3px rgba(0, 0, 0, 0.55); rx: auto; ry: auto; scale: none; speak: normal; stroke: none; transform: none; transition: all; translate: none; visibility: visible; x: 0px; y: 0px; zoom: 1;&quot;&gt;du -sh *&lt;/code&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/1056443730707105629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/1056443730707105629?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/1056443730707105629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/1056443730707105629'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/linux-df-and-du-commands-to-manage-and.html' title='Linux df and du commands to manage and check disk space'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-2999371725909896695</id><published>2026-09-19T19:44:09.908+05:30</published><updated>2026-09-26T19:26:33.109+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWK"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Linux awk Command Questions &amp; Answers</title><content type='html'>&lt;p&gt;&amp;nbsp;Top 20 Linux awk Command Questions &amp;amp; Answers&lt;/p&gt;&lt;p&gt;Question 1: Basic Field Printing&lt;/p&gt;&lt;p&gt;Question: What does the command awk &#39;{print $1, $3}&#39; file.txt do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Prints the 1st and 3rd lines of the file&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Prints the 1st and 3rd columns (fields) separated by space&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Prints character 1 and character 3 of every line&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) Replaces column 1 with column 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: By default, awk splits lines by whitespace and maps each segment to $1, $2, $3, etc. Comma separation in print outputs the Output Field Separator (default is space).&lt;/p&gt;&lt;p&gt;Question 2: Entire Record Selector&lt;/p&gt;&lt;p&gt;Question: Which built-in variable represents the entire current input line or record?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) $NF&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) $0&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) $1&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) $*&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: $0 holds the full line/record, whereas $1, $2, ... hold individual fields.&lt;/p&gt;&lt;p&gt;Question 3: Dynamic Last Field&lt;/p&gt;&lt;p&gt;Question: How do you print the last field of every row, regardless of how many columns are present?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;{print $LAST}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;{print $(NF-1)}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;{print $NF}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;{print $(END)}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: C&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: NF holds the number of fields in the current record. Referencing $ before NF ($NF) resolves to the value of the last field.&lt;/p&gt;&lt;p&gt;Question 4: Field Delimiter Flag&lt;/p&gt;&lt;p&gt;Question: Which command-line option changes the input field delimiter to a colon (:)?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk -d: &#39;{print $1}&#39; /etc/passwd&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk -F: &#39;{print $1}&#39; /etc/passwd&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk -s: &#39;{print $1}&#39; /etc/passwd&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk -t: &#39;{print $1}&#39; /etc/passwd&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: -F sets the Input Field Separator (FS). -F: tells awk to treat : as the column delimiter.&lt;/p&gt;&lt;p&gt;Question 5: Total Records vs File Records&lt;/p&gt;&lt;p&gt;Question: What is the primary difference between NR and FNR?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) NR counts fields; FNR counts rows&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) NR is cumulative line count across all files; FNR resets to 1 for each new file&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) FNR counts characters; NR counts lines&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) There is no difference; they are aliases&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: NR (Number of Records) tracks total lines processed across the entire run, while FNR (File Number of Records) tracks the line number relative to the file currently being processed.&lt;/p&gt;&lt;p&gt;Question 6: Output Delimiter Modification&lt;/p&gt;&lt;p&gt;Question: Given awk -F: &#39;BEGIN{OFS=&quot; - &quot;} {print $1, $7}&#39; /etc/passwd, what does OFS do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Omits the first separator&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Sets the Output Field Separator between fields to &quot; - &quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Filters out matching fields&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) Specifies an output file stream&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: OFS controls how fields printed with commas (like $1, $7) are joined in the output.&lt;/p&gt;&lt;p&gt;Question 7: Pre-Processing Blocks&lt;/p&gt;&lt;p&gt;Question: When does the BEGIN block execute?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Once for each line read&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Before any input files or records are read&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Only when an error occurs&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) After the last line is processed&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: BEGIN { ... } runs once before any input stream processing begins, commonly used to initialize variables or headers.&lt;/p&gt;&lt;p&gt;Question 8: Summary Calculations&lt;/p&gt;&lt;p&gt;Question: How can you print the total sum of column 2 after reading an entire file?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;{sum += $2} END {print sum}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;BEGIN {sum += $2} {print sum}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;{print sum($2)}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;END {sum += $2; print sum}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: A&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: The main body {sum += $2} accumulates the sum for every line, and the END block runs once after reading the entire file to display the final result.&lt;/p&gt;&lt;p&gt;Question 9: Regular Expression Matching&lt;/p&gt;&lt;p&gt;Question: Which operator tests if field 1 contains the pattern error (case-sensitive)?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) $1 == /error/&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) $1 ~ /error/&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) $1 =~ /error/&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) $1 matches &quot;error&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: ~ is the regular expression match operator in awk. !~ tests for non-matching.&lt;/p&gt;&lt;p&gt;Question 10: Filtering Specific Line Ranges&lt;/p&gt;&lt;p&gt;Question: What does awk &#39;NR &amp;gt;= 5 &amp;amp;&amp;amp; NR &amp;lt;= 10&#39; file.txt do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Prints lines that have between 5 and 10 columns&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Prints lines 5 through 10 of the file&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Deletes lines 5 to 10&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) Skips lines 5 through 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: NR evaluates line numbers. Since no action {...} is provided, awk applies the default action: print the matching record.&lt;/p&gt;&lt;p&gt;Question 11: Emulating wc -l&lt;/p&gt;&lt;p&gt;Question: Which one-liner prints the total line count of a file, equivalent to wc -l?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;{count++}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;END {print NR}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;BEGIN {print NR}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;{print NF}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: At the end of processing, NR holds the total count of records processed.&lt;/p&gt;&lt;p&gt;Question 12: Column Value Filtering&lt;/p&gt;&lt;p&gt;Question: How do you print lines where the 3rd field is numeric and greater than 50?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;$3 &amp;gt; 50 {print $0}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;{if ($3 &amp;gt; 50)}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;WHERE $3 &amp;gt; 50&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;FILTER($3, 50)&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: A&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: Conditions outside braces act as pattern filters: $3 &amp;gt; 50 selects records where field 3 exceeds 50, triggering the {print $0} action (or default print).&lt;/p&gt;&lt;p&gt;Question 13: In-Place Substitution&lt;/p&gt;&lt;p&gt;Question: What does the built-in function sub(/foo/, &quot;bar&quot;, $0) do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Replaces all occurrences of foo with bar in the line&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Replaces only the first occurrence of foo with bar in the line&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Splits $0 at every foo&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) Reverses foo into bar across all files&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: sub() replaces only the first match. To replace all occurrences globally, use gsub().&lt;/p&gt;&lt;p&gt;Question 14: String Length Calculation&lt;/p&gt;&lt;p&gt;Question: Which command outputs only records whose overall line length exceeds 80 characters?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;size($0) &amp;gt; 80&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;length($0) &amp;gt; 80&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;chars($0) &amp;gt; 80&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;strlen &amp;gt; 80&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: length() calculates the string length in characters (or defaults to $0 if no argument is passed).&lt;/p&gt;&lt;p&gt;Question 15: Removing Duplicate Consecutive/Non-consecutive Lines&lt;/p&gt;&lt;p&gt;Question: What classic idiom prints unique lines while preserving original order?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;!seen[$0]++&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;unique($0)&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;distinct {print $0}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;{dedup($0)}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: A&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: Associative array seen tracks lines. For the first occurrence of a line, seen[$0] evaluates to 0 (false), which ! flips to true, executing the default print action; the post-increment ++ sets it to 1, causing future occurrences to evaluate to false.&lt;/p&gt;&lt;p&gt;Question 16: Custom Record Separator&lt;/p&gt;&lt;p&gt;Question: By default, what is the Record Separator (RS) set to?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Space&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Tab (\t)&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Newline (\n)&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) Comma (,)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: C&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: RS defaults to a newline character (\n), meaning each line is treated as an independent record.&lt;/p&gt;&lt;p&gt;Question 17: String Splitting&lt;/p&gt;&lt;p&gt;Question: What does split(&quot;user@domain.com&quot;, arr, &quot;@&quot;) produce?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) arr[0]=&quot;user&quot;, arr[1]=&quot;domain.com&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) arr[1]=&quot;user&quot;, arr[2]=&quot;domain.com&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) A syntax error because arrays cannot hold strings&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) arr[&quot;@&quot;]=&quot;user domain.com&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: In awk, array indexes created by functions like split() start at 1, not 0.&lt;/p&gt;&lt;p&gt;Question 18: Line Inversion / Pattern Inversion&lt;/p&gt;&lt;p&gt;Question: How do you print all lines that do not contain the word DEBUG?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk &#39;!/DEBUG/&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk &#39;NOT /DEBUG/&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk &#39;/^DEBUG/&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk &#39;drop(/DEBUG/)&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: A&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: The logical NOT operator ! negates pattern matches; !/pattern/ selects lines that do not match.&lt;/p&gt;&lt;p&gt;Question 19: External Shell Variables&lt;/p&gt;&lt;p&gt;Question: What is the recommended flag to pass an external bash/environment variable val=&quot;abc&quot; into an awk variable x?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) awk -e x=&quot;$val&quot; &#39;{print x}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) awk -v x=&quot;$val&quot; &#39;{print x}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) awk --set x=&quot;$val&quot; &#39;{print x}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) awk -var x=&quot;$val&quot; &#39;{print x}&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: The -v flag assigns a value to an awk variable before execution starts.&lt;/p&gt;&lt;p&gt;Question 20: Built-in printf Formatting&lt;/p&gt;&lt;p&gt;Question: What does awk &#39;{printf &quot;%-15s %5.2f\n&quot;, $1, $2}&#39; data.txt do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;* A) Prints field 1 centered and field 2 in hexadecimal&lt;/p&gt;&lt;p&gt;&amp;nbsp;* B) Left-aligns field 1 within 15 characters and formats field 2 as a floating point number with 2 decimal places&lt;/p&gt;&lt;p&gt;&amp;nbsp;* C) Truncates field 1 to 15 chars and divides field 2 by 5.2&lt;/p&gt;&lt;p&gt;&amp;nbsp;* D) Throws a syntax error because printf does not accept format specifiers in awk&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Answer: B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;Explanation: awk supports standard C-style printf formatting: %-15s means a left-justified string of width 15, and %5.2f specifies a float with minimum width 5 and 2 decimal points.&lt;/p&gt;&lt;p&gt;Quick Answer Key&lt;/p&gt;&lt;p&gt;| # | Answer | Key Topic |&lt;/p&gt;&lt;p&gt;|---|---|---|&lt;/p&gt;&lt;p&gt;| 1 | B | Field extraction &amp;amp; default IFS |&lt;/p&gt;&lt;p&gt;| 2 | B | $0 (current record) |&lt;/p&gt;&lt;p&gt;| 3 | C | $NF (dynamic last column) |&lt;/p&gt;&lt;p&gt;| 4 | B | -F delimiter option |&lt;/p&gt;&lt;p&gt;| 5 | B | NR vs FNR distinction |&lt;/p&gt;&lt;p&gt;| 6 | B | OFS (Output Field Separator) |&lt;/p&gt;&lt;p&gt;| 7 | B | BEGIN block lifecycle |&lt;/p&gt;&lt;p&gt;| 8 | A | END block summation |&lt;/p&gt;&lt;p&gt;| 9 | B | ~ regex matching operator |&lt;/p&gt;&lt;p&gt;| 10 | B | NR line range selection |&lt;/p&gt;&lt;p&gt;| 11 | B | END {print NR} line count |&lt;/p&gt;&lt;p&gt;| 12 | A | Numeric field condition |&lt;/p&gt;&lt;p&gt;| 13 | B | sub() vs gsub() |&lt;/p&gt;&lt;p&gt;| 14 | B | length() string function |&lt;/p&gt;&lt;p&gt;| 15 | A | !seen[$0]++ deduplication |&lt;/p&gt;&lt;p&gt;| 16 | C&lt;/p&gt;&lt;p&gt;&amp;nbsp;| Default RS (\n) |&lt;/p&gt;&lt;p&gt;| 17 | B | 1-based indexing in split() |&lt;/p&gt;&lt;p&gt;| 18 | A | !/regex/ pattern negation |&lt;/p&gt;&lt;p&gt;| 19 | B | -v argument passing |&lt;/p&gt;&lt;p&gt;| 20 | B | printf string &amp;amp; float formatting |&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/2999371725909896695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/2999371725909896695?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2999371725909896695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2999371725909896695'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/linux-awk-command-questions-answers.html' title='Linux awk Command Questions &amp; Answers'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-7565000042926234038</id><published>2026-09-19T18:59:30.607+05:30</published><updated>2026-09-26T19:26:47.218+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="SED"/><title type='text'>Linux `sed` Command Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;### 🐧 Top 25 Linux `sed` Command Quiz — With Answers&lt;/p&gt;&lt;p&gt;## 1. Which option enables extended regular expressions in GNU sed?&lt;/p&gt;&lt;p&gt;A) -i&lt;/p&gt;&lt;p&gt;B) -E&lt;/p&gt;&lt;p&gt;C) -n&lt;/p&gt;&lt;p&gt;D) -f&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) -E&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 2. What does the -n option do?&lt;/p&gt;&lt;p&gt;A) Number lines&lt;/p&gt;&lt;p&gt;B) Suppress automatic printing&lt;/p&gt;&lt;p&gt;C) Edit files&lt;/p&gt;&lt;p&gt;D) Enable regex&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Suppress automatic printing&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 3. What does the -i option do?&lt;/p&gt;&lt;p&gt;A) Ignore case&lt;/p&gt;&lt;p&gt;B) Edit files in place&lt;/p&gt;&lt;p&gt;C) Insert text&lt;/p&gt;&lt;p&gt;D) Print line numbers&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Edit files in place&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 4. Which command replaces the first occurrence of &#39;old&#39; with &#39;new&#39;?&lt;/p&gt;&lt;p&gt;A) sed &#39;s/old/new/&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;d/old/new/&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;p/old/new/&#39; file&lt;/p&gt;&lt;p&gt;D) sed &#39;r/old/new/&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) sed &#39;s/old/new/&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 5. What does the g flag mean in sed substitution?&lt;/p&gt;&lt;p&gt;A) Go to line&lt;/p&gt;&lt;p&gt;B) Global replacement&lt;/p&gt;&lt;p&gt;C) Group lines&lt;/p&gt;&lt;p&gt;D) Generate output&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Global replacement&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 6. What is the output?&lt;/p&gt;&lt;p&gt;echo &#39;hello world&#39; | sed &#39;s/world/Linux/&#39;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) hello world&lt;/p&gt;&lt;p&gt;B) Linux world&lt;/p&gt;&lt;p&gt;C) hello Linux&lt;/p&gt;&lt;p&gt;D) Linux&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: C) hello Linux&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 7. Which sed command deletes line 3?&lt;/p&gt;&lt;p&gt;A) sed &#39;3p&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;3d&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;3r&#39; file&lt;/p&gt;&lt;p&gt;D) sed &#39;3i&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) sed &#39;3d&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 8. What does sed -n &#39;2p&#39; file display?&lt;/p&gt;&lt;p&gt;A) All lines&lt;/p&gt;&lt;p&gt;B) Only line 2&lt;/p&gt;&lt;p&gt;C) Lines 2 and 3&lt;/p&gt;&lt;p&gt;D) Only the last line&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Only line 2&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 9. Which command prints line numbers?&lt;/p&gt;&lt;p&gt;A) sed -n &#39;l&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;=&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;n&#39; file&lt;/p&gt;&lt;p&gt;D) sed -n &#39;N&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) sed &#39;=&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 10. What does the -e option specify?&lt;/p&gt;&lt;p&gt;A) File encoding&lt;/p&gt;&lt;p&gt;B) A sed script/expression&lt;/p&gt;&lt;p&gt;C) End of file&lt;/p&gt;&lt;p&gt;D) Extended deletion&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) A sed script/expression&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 11. Which option reads commands from a script file?&lt;/p&gt;&lt;p&gt;A) -f&lt;/p&gt;&lt;p&gt;B) -r&lt;/p&gt;&lt;p&gt;C) -c&lt;/p&gt;&lt;p&gt;D) -s&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) -f&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 12. What does sed &#39;2,4d&#39; file do?&lt;/p&gt;&lt;p&gt;A) Deletes lines 2 through 4&lt;/p&gt;&lt;p&gt;B) Deletes only line 2&lt;/p&gt;&lt;p&gt;C) Prints lines 2 through 4&lt;/p&gt;&lt;p&gt;D) Replaces lines&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) Deletes lines 2 through 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 13. Which command replaces all occurrences of &#39;cat&#39; with &#39;dog&#39;?&lt;/p&gt;&lt;p&gt;A) sed &#39;s/cat/dog/&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;s/cat/dog/g&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;r/cat/dog/g&#39; file&lt;/p&gt;&lt;p&gt;D) sed &#39;d/cat/dog/g&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) sed &#39;s/cat/dog/g&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 14. What does the p command do?&lt;/p&gt;&lt;p&gt;A) Pause&lt;/p&gt;&lt;p&gt;B) Print pattern space&lt;/p&gt;&lt;p&gt;C) Parse file&lt;/p&gt;&lt;p&gt;D) Previous line&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Print pattern space&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 15. What is the output?&lt;/p&gt;&lt;p&gt;echo &#39;Linux&#39; | sed &#39;y/L/l/&#39;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) linux&lt;/p&gt;&lt;p&gt;B) Linux&lt;/p&gt;&lt;p&gt;C) LINUX&lt;/p&gt;&lt;p&gt;D) Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) linux&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 16. Which command removes blank lines?&lt;/p&gt;&lt;p&gt;A) sed &#39;/^$/d&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;/blank/d&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;blank&#39; file&lt;/p&gt;&lt;p&gt;D) sed &#39;/^$/p&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) sed &#39;/^$/d&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 17. What does the q command do?&lt;/p&gt;&lt;p&gt;A) Queries input&lt;/p&gt;&lt;p&gt;B) Quits sed&lt;/p&gt;&lt;p&gt;C) Quotes text&lt;/p&gt;&lt;p&gt;D) Queues lines&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Quits sed&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 18. Which command inserts &#39;Hello&#39; before line 2?&lt;/p&gt;&lt;p&gt;A) sed &#39;2a Hello&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;2i Hello&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;2c Hello&#39; file&lt;/p&gt;&lt;p&gt;D) sed &#39;2p Hello&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) sed &#39;2i Hello&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 19. Which command appends &#39;Hello&#39; after line 2?&lt;/p&gt;&lt;p&gt;A) sed &#39;2i Hello&#39; file&lt;/p&gt;&lt;p&gt;B) sed &#39;2a Hello&#39; file&lt;/p&gt;&lt;p&gt;C) sed &#39;2d Hello&#39; file&lt;/p&gt;&lt;p&gt;D) sed &#39;2r Hello&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) sed &#39;2a Hello&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 20. What does sed &#39;s/[0-9]//g&#39; file do?&lt;/p&gt;&lt;p&gt;A) Removes all digits&lt;/p&gt;&lt;p&gt;B) Removes all letters&lt;/p&gt;&lt;p&gt;C) Adds digits&lt;/p&gt;&lt;p&gt;D) Prints only digits&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) Removes all digits&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 21. What does the c command do?&lt;/p&gt;&lt;p&gt;A) Copies lines&lt;/p&gt;&lt;p&gt;B) Changes/replaces selected lines&lt;/p&gt;&lt;p&gt;C) Counts lines&lt;/p&gt;&lt;p&gt;D) Comments lines&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Changes/replaces selected lines&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 22. Which flag makes substitution case-insensitive in GNU sed?&lt;/p&gt;&lt;p&gt;A) -i&lt;/p&gt;&lt;p&gt;B) i (or I)&lt;/p&gt;&lt;p&gt;C) -n&lt;/p&gt;&lt;p&gt;D) -E&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) i (or I)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;sed &#39;s/linux/unix/i&#39; file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 23. What does sed -n &#39;1~2p&#39; file do in GNU sed?&lt;/p&gt;&lt;p&gt;A) Prints every line&lt;/p&gt;&lt;p&gt;B) Prints odd-numbered lines starting from 1&lt;/p&gt;&lt;p&gt;C) Prints even-numbered lines&lt;/p&gt;&lt;p&gt;D) Deletes odd lines&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: B) Prints odd-numbered lines starting from 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 24. Which sed command reads and inserts file content after a matching line?&lt;/p&gt;&lt;p&gt;A) r&lt;/p&gt;&lt;p&gt;B) w&lt;/p&gt;&lt;p&gt;C) e&lt;/p&gt;&lt;p&gt;D) a&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) r&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;## 25. What does the w command do?&lt;/p&gt;&lt;p&gt;A) Writes selected pattern space to a file&lt;/p&gt;&lt;p&gt;B) Waits for input&lt;/p&gt;&lt;p&gt;C) Wraps lines&lt;/p&gt;&lt;p&gt;D) Writes to standard input&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;✅ Answer: A) Writes selected pattern space to a file&lt;/p&gt;&lt;p&gt;```&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/7565000042926234038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/7565000042926234038?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7565000042926234038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7565000042926234038'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/linux-sed-command-quiz.html' title='Linux `sed` Command Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-5710613178046863880</id><published>2026-09-18T23:03:10.830+05:30</published><updated>2026-09-26T19:26:57.787+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><title type='text'>AWS EBS MCQ Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;AWS EBS MCQ Quiz&lt;/p&gt;&lt;p&gt;Q1. What does EBS stand for?&lt;/p&gt;&lt;p&gt;A. Elastic Block Store&lt;/p&gt;&lt;p&gt;B. Elastic Bucket Storage&lt;/p&gt;&lt;p&gt;C. Enhanced Block Service&lt;/p&gt;&lt;p&gt;D. Elastic Backup Service&lt;/p&gt;&lt;p&gt;Answer: A. Elastic Block Store&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q2. EBS is an example of:&lt;/p&gt;&lt;p&gt;A. Object Storage&lt;/p&gt;&lt;p&gt;B. Block Storage&lt;/p&gt;&lt;p&gt;C. File Storage&lt;/p&gt;&lt;p&gt;D. Database Storage&lt;/p&gt;&lt;p&gt;Answer: B. Block Storage&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q3. Which AWS service commonly uses EBS volumes?&lt;/p&gt;&lt;p&gt;A. Route 53&lt;/p&gt;&lt;p&gt;B. IAM&lt;/p&gt;&lt;p&gt;C. EC2&lt;/p&gt;&lt;p&gt;D. SNS&lt;/p&gt;&lt;p&gt;Answer: C. EC2&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q4. What happens to EBS data when an EC2 instance is stopped?&lt;/p&gt;&lt;p&gt;A. Deleted&lt;/p&gt;&lt;p&gt;B. Corrupted&lt;/p&gt;&lt;p&gt;C. Remains Available&lt;/p&gt;&lt;p&gt;D. Archived&lt;/p&gt;&lt;p&gt;Answer: C. Remains Available&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q5. What is a snapshot?&lt;/p&gt;&lt;p&gt;A. Firewall&lt;/p&gt;&lt;p&gt;B. Backup of an EBS Volume&lt;/p&gt;&lt;p&gt;C. Security Group&lt;/p&gt;&lt;p&gt;D. IAM Policy&lt;/p&gt;&lt;p&gt;Answer: B. Backup of an EBS Volume&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q6. Which EBS volume type is recommended for general-purpose workloads?&lt;/p&gt;&lt;p&gt;A. io2&lt;/p&gt;&lt;p&gt;B. GP3&lt;/p&gt;&lt;p&gt;C. st1&lt;/p&gt;&lt;p&gt;D. sc1&lt;/p&gt;&lt;p&gt;Answer: B. GP3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q7. Which EBS volume type is designed for high-performance databases?&lt;/p&gt;&lt;p&gt;A. GP3&lt;/p&gt;&lt;p&gt;B. st1&lt;/p&gt;&lt;p&gt;C. io2&lt;/p&gt;&lt;p&gt;D. sc1&lt;/p&gt;&lt;p&gt;Answer: C. io2&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q8. Which storage type is temporary and loses data when stopped?&lt;/p&gt;&lt;p&gt;A. EBS&lt;/p&gt;&lt;p&gt;B. S3&lt;/p&gt;&lt;p&gt;C. Instance Store&lt;/p&gt;&lt;p&gt;D. Glacier&lt;/p&gt;&lt;p&gt;Answer: C. Instance Store&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q9. Can an EBS volume be resized after creation?&lt;/p&gt;&lt;p&gt;A. No&lt;/p&gt;&lt;p&gt;B. Yes&lt;/p&gt;&lt;p&gt;Answer: B. Yes&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Q10. Which AWS service is used for EBS encryption keys?&lt;/p&gt;&lt;p&gt;A. IAM&lt;/p&gt;&lt;p&gt;B. CloudWatch&lt;/p&gt;&lt;p&gt;C. KMS&lt;/p&gt;&lt;p&gt;D. Route 53&lt;/p&gt;&lt;p&gt;Answer: C. KMS&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/5710613178046863880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/5710613178046863880?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/5710613178046863880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/5710613178046863880'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/aws-ebs-mcq-quiz.html' title='AWS EBS MCQ Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-2520521391806392845</id><published>2026-09-18T21:31:33.382+05:30</published><updated>2026-09-26T19:27:12.880+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Security Group"/><title type='text'>AWS Security Group Practice Quiz</title><content type='html'>&lt;p&gt;## 📝 AWS Security Group Practice Quiz## Question 1: Security Group Basics&lt;/p&gt;&lt;p&gt;What is the primary function of an AWS Security Group in a cloud network architecture?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) It acts as a distributed load balancer for incoming client traffic.&lt;/p&gt;&lt;p&gt;* B) It acts as a virtual firewall to control inbound and outbound traffic for instances.&lt;/p&gt;&lt;p&gt;* C) It serves as a managed database backup and restore service.&lt;/p&gt;&lt;p&gt;* D) It functions as a public DNS resolver for domain routing.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: An AWS Security Group acts as a stateful, virtual firewall that operates at the instance level to control both inbound and outbound traffic.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 2: Linux Remote Access&lt;/p&gt;&lt;p&gt;Which standard port and protocol combination must be opened in a security group to allow a secure shell (SSH) login to a Linux instance?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Port 80 using HTTP&lt;/p&gt;&lt;p&gt;* B) Port 443 using HTTPS&lt;/p&gt;&lt;p&gt;* C) Port 22 using SSH&lt;/p&gt;&lt;p&gt;* D) Port 3389 using RDP&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: C&lt;/p&gt;&lt;p&gt;Explanation: Port 22 is the standard administrative network port assigned for secure shell (SSH) communication, which is required to log into remote Linux environments.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 3: Windows Remote Access&lt;/p&gt;&lt;p&gt;Which port and protocol assignment is designated for Remote Desktop Protocol (RDP) login to a Windows-based instance?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Port 3389 using RDP&lt;/p&gt;&lt;p&gt;* B) Port 22 using SSH&lt;/p&gt;&lt;p&gt;* C) Port 80 using HTTP&lt;/p&gt;&lt;p&gt;* D) Port 443 using HTTPS&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: A&lt;/p&gt;&lt;p&gt;Explanation: Port 3389 is the default port utilized by Microsoft&#39;s Remote Desktop Protocol (RDP) to enable a graphical user interface connection to a Windows server.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 4: Web Protocols&lt;/p&gt;&lt;p&gt;What is the standard port configuration difference between unencrypted web traffic (HTTP) and secure, encrypted web traffic (HTTPS)?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) HTTP operates on port 443, while HTTPS operates on port 80.&lt;/p&gt;&lt;p&gt;* B) HTTP operates on port 80, while HTTPS operates on port 443.&lt;/p&gt;&lt;p&gt;* C) Both HTTP and HTTPS operate on port 443.&lt;/p&gt;&lt;p&gt;* D) Both HTTP and HTTPS operate on port 80.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: Standard unencrypted web servers answer requests on port 80 (HTTP). When encryption (SSL/TLS) is introduced to protect data in transit, the traffic moves to port 443 (HTTPS).&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## 📝 Comprehensive Practice Quiz## Question 1: Security Group Basics&lt;/p&gt;&lt;p&gt;Which of the following statements accurately describes the stateful behavior of an AWS Security Group?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Inbound traffic rules automatically apply to outbound traffic, but outbound rules require separate explicit configuration.&lt;/p&gt;&lt;p&gt;* B) Security groups are stateless, requiring explicit rules for both inbound and outbound return traffic.&lt;/p&gt;&lt;p&gt;* C) Security groups are stateful, meaning any traffic allowed through an inbound rule is automatically permitted to return outbound, regardless of outbound rules.&lt;/p&gt;&lt;p&gt;* D) Outbound traffic rules are evaluated before inbound rules for every new connection attempt.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: C&lt;/p&gt;&lt;p&gt;Explanation: AWS Security Groups are stateful. This means if you create an inbound rule to allow traffic to your instance, the return traffic for that specific connection is automatically allowed to flow back out, even if your outbound rules wouldn&#39;t normally permit it.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 2: Linux Administration Ports&lt;/p&gt;&lt;p&gt;In standard Linux server administration, which network port is traditionally assigned for File Transfer Protocol (FTP) control connections?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Port 21&lt;/p&gt;&lt;p&gt;* B) Port 20&lt;/p&gt;&lt;p&gt;* C) Port 25&lt;/p&gt;&lt;p&gt;* D) Port 53&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: A&lt;/p&gt;&lt;p&gt;Explanation: Port 21 is the standard port used by FTP to establish and manage the control connection (sending commands). Port 20 is typically used for actual data transfers.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 3: Windows Administration Ports&lt;/p&gt;&lt;p&gt;Which standard TCP port does Microsoft Windows commonly use for modern Server Message Block (SMB) file and printer sharing over a network?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Port 135&lt;/p&gt;&lt;p&gt;* B) Port 139&lt;/p&gt;&lt;p&gt;* C) Port 3389&lt;/p&gt;&lt;p&gt;* D) Port 445&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: D&lt;/p&gt;&lt;p&gt;Explanation: While older versions used NetBIOS over port 139, modern Windows environments route SMB traffic directly over TCP using port 445 for file and printer sharing.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 4: Web Protocols&lt;/p&gt;&lt;p&gt;Which HTTP status code explicitly indicates that a request has succeeded and has led to the creation of a new resource (such as when a new item is submitted via an API)?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) 200 OK&lt;/p&gt;&lt;p&gt;* B) 201 Created&lt;/p&gt;&lt;p&gt;* C) 204 No Content&lt;/p&gt;&lt;p&gt;* D) 400 Bad Request&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: While 200 OK is a generic success code, 201 Created is the specific HTTP status code returned when a resource has been successfully generated on the server as a result of the request.&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;Here is the complete Network ACL (NACL) quiz formatted on a single page, complete with multiple-choice options, correct answers, and concise technical explanations.&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## 📝 AWS Network ACL (NACL) Practice Quiz## Question 1: Rule Evaluation Behavior&lt;/p&gt;&lt;p&gt;How do Network ACLs process inbound and outbound traffic rules?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Rules are evaluated randomly, and the most restrictive rule takes precedence.&lt;/p&gt;&lt;p&gt;* B) Rules are evaluated concurrently, and any &quot;Allow&quot; rule will always override a &quot;Deny&quot; rule.&lt;/p&gt;&lt;p&gt;* C) Rules are evaluated in numerical order, starting with the lowest numbered rule, and processing stops as soon as a match is found.&lt;/p&gt;&lt;p&gt;* D) Rules are evaluated in reverse numerical order, starting from the highest numbered rule down to 1.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: C&lt;/p&gt;&lt;p&gt;Explanation: NACLs evaluate rules sequentially from the lowest number to the highest. The moment a packet matches a rule&#39;s criteria, that rule is applied immediately (whether to ALLOW or DENY), and no further rules are evaluated.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 2: Firewall Statefulness&lt;/p&gt;&lt;p&gt;Which statement accurately describes the stateful or stateless nature of Network ACLs?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Network ACLs are stateful, meaning return traffic is automatically allowed.&lt;/p&gt;&lt;p&gt;* B) Network ACLs are stateless, meaning you must explicitly write both inbound and outbound rules to allow return traffic.&lt;/p&gt;&lt;p&gt;* C) Network ACLs are stateful for inbound traffic but stateless for outbound traffic.&lt;/p&gt;&lt;p&gt;* D) Network ACLs automatically inherit the stateful tracking parameters of associated Security Groups.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: Unlike Security Groups, NACLs are completely stateless. They do not remember connection tracking info. If you allow an inbound request on port 80, the return traffic will be blocked at the outbound boundary unless you explicitly open an outbound rule for it.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 3: Infrastructure Boundary&lt;/p&gt;&lt;p&gt;At which layer of the AWS infrastructure topology do Network ACLs operate?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) At the individual EC2 Instance network interface (ENI) level.&lt;/p&gt;&lt;p&gt;* B) At the VPC Subnet boundary level.&lt;/p&gt;&lt;p&gt;* C) At the Internet Gateway (IGW) level.&lt;/p&gt;&lt;p&gt;* D) At the Route Table level.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: Network ACLs act as a perimeter firewall at the subnet level. Any traffic entering or leaving a subnet must pass through the NACL, making it a broader layer of protection compared to Security Groups, which secure individual instances.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 4: Default Settings&lt;/p&gt;&lt;p&gt;By default, what is the behavior of the automatically generated Default Network ACL that comes with a newly created VPC?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) It blocks all inbound traffic and allows all outbound traffic.&lt;/p&gt;&lt;p&gt;* B) It blocks all inbound and all outbound traffic until you add rules.&lt;/p&gt;&lt;p&gt;* C) It allows all inbound and all outbound traffic.&lt;/p&gt;&lt;p&gt;* D) It allows only HTTP (80) and HTTPS (443) traffic while blocking everything else.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: C&lt;/p&gt;&lt;p&gt;Explanation: To prevent initial connectivity blockages, the default NACL provided by AWS allows all traffic to enter and leave the subnet. However, if you create a custom NACL from scratch, it will default to blocking all traffic until you add your own rules.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;Here is an interactive practice quiz focused on AWS VPC Peering and AWS VPN architectures.&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## 📝 AWS VPC Peering &amp;amp; VPN Practice Quiz## Question 1: VPC Peering Routing Limitation&lt;/p&gt;&lt;p&gt;Company A has a VPC Peering connection established between VPC 1 and VPC 2. They later set up another peering connection between VPC 2 and VPC 3. Resources in VPC 1 need to communicate with resources in VPC 3. Why is this communication blocked by default?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) VPC Peering does not support cross-region connections.&lt;/p&gt;&lt;p&gt;* B) VPC Peering does not support transitive routing.&lt;/p&gt;&lt;p&gt;* C) You can only establish one peering connection per VPC.&lt;/p&gt;&lt;p&gt;* D) Security Groups automatically block multi-hop configurations.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: AWS VPC Peering does not support transitive routing. Traffic cannot route through an intermediate VPC (VPC 2) to reach a third VPC (VPC 3). To connect VPC 1 and VPC 3, you must create a direct VPC Peering connection between them or use [AWS Transit Gateway](https://aws.amazon.com/transit-gateway/).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 2: Connected CIDR Constraints&lt;/p&gt;&lt;p&gt;You are tasked with connecting two separate AWS VPCs belonging to different corporate subsidiaries via VPC Peering. Which architectural condition must be met for the peering connection to successfully route traffic?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) The two VPCs must be deployed within the exact same AWS Region and Account.&lt;/p&gt;&lt;p&gt;* B) The primary and secondary IPv4 CIDR blocks of the VPCs must not overlap.&lt;/p&gt;&lt;p&gt;* C) Both VPCs must share the same default Internet Gateway (IGW).&lt;/p&gt;&lt;p&gt;* D) The Subnets inside the peer VPCs must have identical route tables.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: Inter-VPC routing fails if network spaces conflict. AWS strictly prevents a VPC Peering connection from active routing if the IPv4 CIDR blocks overlap.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 3: AWS Site-to-Site VPN Redundancy&lt;/p&gt;&lt;p&gt;When you provision a managed AWS Site-to-Site VPN connection to hook up your on-premises data center to an AWS VPC, what does AWS automatically create to ensure high availability on their end?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) A single public endpoint that dynamically switches availability zones.&lt;/p&gt;&lt;p&gt;* B) A dedicated AWS Direct Connect fiber pathway.&lt;/p&gt;&lt;p&gt;* C) Two distinct VPN tunnels targeting separate public IP endpoints.&lt;/p&gt;&lt;p&gt;* D) A fallback public internet route table managed by Route 53.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: C&lt;/p&gt;&lt;p&gt;Explanation: An AWS Site-to-Site VPN connection automatically configures two separate VPN tunnels with unique public IP endpoints for built-in redundancy. If one tunnel experiences an outage or maintenance, traffic seamlessly fails over to the second active tunnel.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;## Question 4: Hybrid Cloud Gateway Architecture&lt;/p&gt;&lt;p&gt;You want to establish an encrypted IPSec VPN connection between your corporate office firewall and an isolated Amazon VPC subnet. Which component must be attached to your VPC to act as the cloud-side anchor for the VPN tunnels?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* A) Customer Gateway (CGW)&lt;/p&gt;&lt;p&gt;* B) Virtual Private Gateway (VGW)&lt;/p&gt;&lt;p&gt;* C) Internet Gateway (IGW)&lt;/p&gt;&lt;p&gt;* D) NAT Gateway&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Correct Answer: B&lt;/p&gt;&lt;p&gt;Explanation: The Virtual Private Gateway (VGW) is the VPN concentrator attached to the Amazon VPC side of a Site-to-Site VPN connection. The Customer Gateway (CGW) is the logical object created in AWS that represents your physical on-premises firewall device.&lt;/p&gt;&lt;p&gt;------------------------------&lt;/p&gt;&lt;p&gt;1. What happens if a Security Group allows no inbound rules?&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Your Answer: Users cannot connect to the instance.&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Verification: Correct. AWS Security Groups are stateful and deny all inbound traffic by default. If you do not explicitly add any inbound rules, all incoming traffic is blocked, meaning no external users or services can connect to the EC2 instance.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Can an EC2 instance have multiple Security Groups?&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Your Answer: Yes&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Verification: Correct. You can assign multiple security groups to a single EC2 instance (both at launch time and after the instance is running). When multiple groups are assigned, AWS evaluates all the rules across those groups cumulatively to determine traffic permissions.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. Can one EBS volume be attached to multiple EC2 instances?&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Your Answer: Generally No&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Verification: Correct. Standard Amazon EBS volumes can only be attached to a single EC2 instance at a time within the same Availability Zone. However, the caveat &quot;Generally No&quot; is highly accurate because AWS does offer a feature called EBS Multi-Attach for specific volume types (like io1 and io2 SSDs), which allows them to be attached to multiple Nitro-based instances simultaneously.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What protocol is used to connect Linux EC2?&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Your Answer: SSH (Port 22)&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Verification: Correct. The Secure Shell (SSH) protocol running over port 22 is the standard industry method used to securely log into and manage remote Linux-based operating systems.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What protocol is used to connect Windows EC2?&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Your Answer: RDP (Port 3389)&amp;nbsp;&lt;/p&gt;&lt;p&gt;• Verification: Correct. The Remote Desktop Protocol (RDP) operating over port 3389 is the standard graphical interface protocol used to connect to and manage Windows-based servers remotely.&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/2520521391806392845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/2520521391806392845?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2520521391806392845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2520521391806392845'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/aws-security-group-practice-quiz.html' title='AWS Security Group Practice Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-6359010873601205589</id><published>2026-09-18T20:46:43.081+05:30</published><updated>2026-09-26T19:27:22.772+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="S3"/><title type='text'>AWS S3 Bucket Quiz </title><content type='html'>&lt;p&gt;Maximum Object Size?&lt;/p&gt;&lt;p&gt;5TB&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Minimum Object Size?&lt;/p&gt;&lt;p&gt;0 Bytes&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can a bucket be inside another bucket?&lt;/p&gt;&lt;p&gt;No&lt;/p&gt;&lt;p&gt;Buckets cannot be nested.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Are bucket names globally unique?&lt;/p&gt;&lt;p&gt;Yes&lt;/p&gt;&lt;p&gt;Must be unique across all AWS accounts&lt;/p&gt;&lt;p&gt;--------------&lt;/p&gt;&lt;p&gt;### ☁️ AWS S3 Bucket Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the maximum size of a single S3 object?&lt;/p&gt;&lt;p&gt;A) 5 GB | B) 50 GB | C) 5 TB | D) Unlimited&lt;/p&gt;&lt;p&gt;Answer: C&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. S3 bucket names must be:&lt;/p&gt;&lt;p&gt;A) Unique within an account | B) Globally unique within the AWS partition | C) Duplicated globally | D) Uppercase&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. Which storage class is designed for frequently accessed data?&lt;/p&gt;&lt;p&gt;A) Glacier Deep Archive | B) S3 Standard | C) One Zone-IA | D) Glacier Flexible Retrieval&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4.Which feature keeps multiple versions of an object?&lt;/p&gt;&lt;p&gt;A) Replication | B) Versioning | C) Lifecycle | D) Encryption&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5.What happens when deleting an object in a versioned bucket without a version ID?&lt;/p&gt;&lt;p&gt;A) All versions deleted | B) Delete marker added | C) Bucket deleted | D) Nothing&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. Which service provides customer-managed encryption keys?&lt;/p&gt;&lt;p&gt;A) Route 53 | B) AWS KMS | C) CloudFront only | D) Lambda only&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7.Which feature automatically moves objects to cheaper storage classes?&lt;/p&gt;&lt;p&gt;A) S3 Lifecycle | B) S3 Select | C) Batch Operations | D) Transfer Acceleration&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. Which access control mechanism manages S3 permissions?&lt;/p&gt;&lt;p&gt;A) Public access | B) IAM and bucket policies | C) Root credentials | D) Disabling encryption&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. S3 Block Public Access helps prevent:&lt;/p&gt;&lt;p&gt;A) All private access | B) Unintended public access | C) Versioning | D) Compression&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. Which class is designed for long-term archival at low cost?&lt;/p&gt;&lt;p&gt;A) S3 Standard | B) S3 Glacier Deep Archive | C) S3 Express One Zone | D) S3 Intelligent-Tiering&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;11. Which feature replicates objects to another AWS Region?&lt;/p&gt;&lt;p&gt;A) Cross-Region Replication | B) S3 Select | C) S3 Inventory | D) Bucket ACL&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;12. What is the purpose of an S3 bucket policy?&lt;/p&gt;&lt;p&gt;A) Configure EC2 CPU | B) Control access to bucket resources | C) Increase object size | D) Create VPC subnets&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;13. Which storage class optimizes costs based on access patterns?&lt;/p&gt;&lt;p&gt;A) S3 Standard | B) S3 Intelligent-Tiering | C) Glacier Deep Archive | D) One Zone-IA&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;14. Can a Lambda function access an S3 bucket?&lt;/p&gt;&lt;p&gt;A) No | B) Yes, with appropriate permissions | C) Only through FTP | D) Only if public&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15. Which AWS CLI command uploads a local file to S3?&lt;/p&gt;&lt;p&gt;A) aws s3 cp file.txt s3://my-bucket/ | B) aws s3 upload file.txt | C) aws bucket put file.txt | D) aws s3 push file.txt&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;16. S3 Versioning is primarily useful for:&lt;/p&gt;&lt;p&gt;A) Increasing network speed | B) Recovering accidental overwrites and deletions | C) Changing Region | D) Creating IAM users&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;17. Which feature provides temporary access without making an object public?&lt;/p&gt;&lt;p&gt;A) Pre-signed URL | B) Public ACL | C) Root account | D) Bucket deletion&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;18. S3 Object Lock helps protect against:&lt;/p&gt;&lt;p&gt;A) All network failures | B) Deletion or overwrite during retention | C) Low EC2 disk space | D) Invalid DNS&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;19. Which feature sends notifications when objects are created?&lt;/p&gt;&lt;p&gt;A) S3 Event Notifications | B) S3 Glacier | C) Bucket naming | D) Transfer Acceleration only&lt;/p&gt;&lt;p&gt;Answer: A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;20. What is the main purpose of S3 Multipart Upload?&lt;/p&gt;&lt;p&gt;A) Encrypting objects | B) Uploading large objects in parts | C) Creating buckets | D) Making objects public&lt;/p&gt;&lt;p&gt;Answer: B&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/6359010873601205589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/6359010873601205589?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/6359010873601205589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/6359010873601205589'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/aws-s3-bucket-quiz.html' title='AWS S3 Bucket Quiz '/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-6362472114086232779</id><published>2026-09-18T19:16:36.565+05:30</published><updated>2026-09-26T19:27:54.647+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="boolean"/><category scheme="http://www.blogger.com/atom/ns#" term="logical Expression"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Truthiness"/><title type='text'>Python Boolean Truthiness &amp; Logical Expressions Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;1. What is the output of the following Python code?&lt;/p&gt;&lt;p&gt;x = [0]&lt;/p&gt;&lt;p&gt;print(bool(x))&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;C) 0&lt;/p&gt;&lt;p&gt;D) [0]&lt;/p&gt;&lt;p&gt;Answer: A) True&lt;/p&gt;&lt;p&gt;(A list containing elements, even 0, is non-empty and evaluates to True.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output of the following expression?&lt;/p&gt;&lt;p&gt;print([] or &quot;Python&quot;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) []&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;C) &quot;Python&quot;&lt;/p&gt;&lt;p&gt;D) True&lt;/p&gt;&lt;p&gt;Answer: C) &quot;Python&quot;&lt;/p&gt;&lt;p&gt;(The or operator returns the first truthy operand, or the last operand if all are falsy.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What does the following snippet print?&lt;/p&gt;&lt;p&gt;a = []&lt;/p&gt;&lt;p&gt;b = [1, 2]&lt;/p&gt;&lt;p&gt;print(a and b)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) False&lt;/p&gt;&lt;p&gt;B) []&lt;/p&gt;&lt;p&gt;C) [1, 2]&lt;/p&gt;&lt;p&gt;D) None&lt;/p&gt;&lt;p&gt;Answer: B) []&lt;/p&gt;&lt;p&gt;(The and operator short-circuits on the first falsy value and returns the object itself, not a boolean.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the evaluated output of this code?&lt;/p&gt;&lt;p&gt;x = [[]]&lt;/p&gt;&lt;p&gt;print(not x)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;C) [[]]&lt;/p&gt;&lt;p&gt;D) Error&lt;/p&gt;&lt;p&gt;Answer: B) False&lt;/p&gt;&lt;p&gt;(x contains one element—an empty list—so x itself is non-empty and truthy. not x yields False.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. Which of the following expressions evaluates to True?&lt;/p&gt;&lt;p&gt;A) bool([])&lt;/p&gt;&lt;p&gt;B) bool(&quot;&quot;)&lt;/p&gt;&lt;p&gt;C) bool([False])&lt;/p&gt;&lt;p&gt;D) bool(0)&lt;/p&gt;&lt;p&gt;Answer: C) bool([False])&lt;/p&gt;&lt;p&gt;(A list with one element [False] has a length of 1, making it truthy.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What does this code snippet print?&lt;/p&gt;&lt;p&gt;print(not [] == True)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;C) None&lt;/p&gt;&lt;p&gt;D) SyntaxError&lt;/p&gt;&lt;p&gt;Answer: B) False&lt;/p&gt;&lt;p&gt;(Operator chaining applies here: not ([] == True). Since [] == True evaluates to False, the expression parses as not ([] == True) which produces False due to operator precedence where == binds tighter than not.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What will be printed by the following expression?&lt;/p&gt;&lt;p&gt;print([1] and [] or [2])&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) [1]&lt;/p&gt;&lt;p&gt;B) []&lt;/p&gt;&lt;p&gt;C) [2]&lt;/p&gt;&lt;p&gt;D) True&lt;/p&gt;&lt;p&gt;Answer: C) [2]&lt;/p&gt;&lt;p&gt;([1] and [] evaluates to []. Then [] or [2] evaluates to [2].)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output of the following condition?&lt;/p&gt;&lt;p&gt;items = []&lt;/p&gt;&lt;p&gt;result = &quot;Non-empty&quot; if items else &quot;Empty&quot;&lt;/p&gt;&lt;p&gt;print(result)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) &quot;Non-empty&quot;&lt;/p&gt;&lt;p&gt;B) &quot;Empty&quot;&lt;/p&gt;&lt;p&gt;C) None&lt;/p&gt;&lt;p&gt;D) []&lt;/p&gt;&lt;p&gt;Answer: B) &quot;Empty&quot;&lt;/p&gt;&lt;p&gt;(An empty list evaluates to falsy in a ternary/conditional expression.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What does the following comparison print?&lt;/p&gt;&lt;p&gt;print([] == False)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;C) None&lt;/p&gt;&lt;p&gt;D) Error&lt;/p&gt;&lt;p&gt;Answer: B) False&lt;/p&gt;&lt;p&gt;(Falsiness does not mean equality. [] is a list, while False is a boolean; they are distinct objects with different types.)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output of running this code?&lt;/p&gt;&lt;p&gt;x = []&lt;/p&gt;&lt;p&gt;print(not not x)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A) True&lt;/p&gt;&lt;p&gt;B) False&lt;/p&gt;&lt;p&gt;C) []&lt;/p&gt;&lt;p&gt;D) N&lt;/p&gt;&lt;p&gt;Answer: B) False&lt;/p&gt;&lt;p&gt;(not x evaluates to True, and the second not inverts it back to False.)&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/6362472114086232779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/6362472114086232779?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/6362472114086232779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/6362472114086232779'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-boolean-truthiness-logical.html' title='Python Boolean Truthiness &amp; Logical Expressions Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-2741113295819204188</id><published>2026-09-17T19:19:21.917+05:30</published><updated>2026-09-26T19:28:15.262+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="lambda function"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Lambda Function Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;Python Lambda Function Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? f = lambda x: x * 2 print(f(5))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 25&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 5&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? add = lambda a, b: a + b print(add(3, 7))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 37&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 21&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? square = lambda x: x ** 2 print(square(4))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 16&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 6&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 8&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 12&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? nums = [1, 2, 3, 4] result = list(map(lambda x: x * 2, nums)) print(result)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [2, 3, 4, 5]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2, 3, 4]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [2, 4, 6, 8]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [1, 4, 9, 16]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? nums = [1, 2, 3, 4, 5] result = list(filter(lambda x: x % 2 == 0, nums)) print(result)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [2, 4]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [2, 3, 4]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [1, 2, 3, 4]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [1, 3, 5]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What is the output? nums = [3, 1, 2] result = sorted(nums, key=lambda x: x) print(result)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [3, 2, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [2, 1, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [1, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [3, 1, 2]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What is the output? f = lambda x: x + 10 print(f(2) * 3)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 36&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 16&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 26&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 6&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output? multiply = lambda a, b: a * b print(multiply(4, 5))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 9&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 45&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 20&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What does a Python lambda expression return when its expression is evaluated?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Always None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Always a Boolean&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. The evaluated expression result&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Always a string&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? words = [&quot;cat&quot;, &quot;elephant&quot;, &quot;dog&quot;] result = sorted(words, key=lambda x: len(x)) print(result)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;cat&#39;, &#39;dog&#39;, &#39;elephant&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;cat&#39;, &#39;elephant&#39;, &#39;dog&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;dog&#39;, &#39;cat&#39;, &#39;elephant&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;elephant&#39;, &#39;cat&#39;, &#39;dog&#39;]&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/2741113295819204188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/2741113295819204188?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2741113295819204188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2741113295819204188'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-lambda-function-quiz.html' title='Python Lambda Function Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-5362983758252154081</id><published>2026-09-17T16:33:37.824+05:30</published><updated>2026-09-26T19:28:45.357+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="hard link"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="soft link"/><title type='text'>Linux Soft Link &amp; Hard Link Quiz</title><content type='html'>&lt;p&gt;### 🐧 Linux Soft Link &amp;amp; Hard Link Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Test your Linux knowledge! Covering soft links, hard links, inodes, permissions, file sizes, and commands.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 1&lt;/p&gt;&lt;p&gt;### What is a soft link (symbolic link) in Linux?&lt;/p&gt;&lt;p&gt;A. A duplicate copy of a file&lt;/p&gt;&lt;p&gt;B. A reference to another file path&lt;/p&gt;&lt;p&gt;C. A file with two inodes&lt;/p&gt;&lt;p&gt;D. A compressed file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 2&lt;/p&gt;&lt;p&gt;### Which command creates a soft link?&lt;/p&gt;&lt;p&gt;A. ln file link&lt;/p&gt;&lt;p&gt;B. ln -s file link&lt;/p&gt;&lt;p&gt;C. cp -s file link&lt;/p&gt;&lt;p&gt;D. link -h file link&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 3&lt;/p&gt;&lt;p&gt;### Which command creates a hard link?&lt;/p&gt;&lt;p&gt;A. ln -s original hard&lt;/p&gt;&lt;p&gt;B. ln original hard&lt;/p&gt;&lt;p&gt;C. cp -l original hard&lt;/p&gt;&lt;p&gt;D. mklink original hard&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 4&lt;/p&gt;&lt;p&gt;### Do a file and its hard link share the same inode?&lt;/p&gt;&lt;p&gt;A. Yes&lt;/p&gt;&lt;p&gt;B. No&lt;/p&gt;&lt;p&gt;C. Only in different directories&lt;/p&gt;&lt;p&gt;D. Only for directories&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 5&lt;/p&gt;&lt;p&gt;### What happens to a soft link when its target file is deleted?&lt;/p&gt;&lt;p&gt;A. It becomes a hard link&lt;/p&gt;&lt;p&gt;B. It becomes a dangling link&lt;/p&gt;&lt;p&gt;C. It recreates the target&lt;/p&gt;&lt;p&gt;D. It deletes the entire directory&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 6&lt;/p&gt;&lt;p&gt;### What happens to a hard link when the original filename is deleted?&lt;/p&gt;&lt;p&gt;A. The data is immediately deleted&lt;/p&gt;&lt;p&gt;B. The hard link becomes broken&lt;/p&gt;&lt;p&gt;C. The data remains accessible through the hard link&lt;/p&gt;&lt;p&gt;D. The inode changes automatically&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 7&lt;/p&gt;&lt;p&gt;### Which command displays inode numbers?&lt;/p&gt;&lt;p&gt;A. ls -lh&lt;/p&gt;&lt;p&gt;B. ls -i&lt;/p&gt;&lt;p&gt;C. ls -p&lt;/p&gt;&lt;p&gt;D. ls -a&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 8&lt;/p&gt;&lt;p&gt;### What does the link count in ls -l indicate for a regular file?&lt;/p&gt;&lt;p&gt;A. File size in bytes&lt;/p&gt;&lt;p&gt;B. Number of hard links to the inode&lt;/p&gt;&lt;p&gt;C. Number of soft links only&lt;/p&gt;&lt;p&gt;D. Number of permissions&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 9&lt;/p&gt;&lt;p&gt;### A 100 KB file has one hard link created. What is the approximate combined disk usage of the file and hard link?&lt;/p&gt;&lt;p&gt;A. 200 KB always&lt;/p&gt;&lt;p&gt;B. 100 KB of file data (excluding filesystem overhead)&lt;/p&gt;&lt;p&gt;C. 0 KB&lt;/p&gt;&lt;p&gt;D. Depends only on permissions&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 10&lt;/p&gt;&lt;p&gt;### Which command can show that a soft link points to a target?&lt;/p&gt;&lt;p&gt;A. ls -l&lt;/p&gt;&lt;p&gt;B. chmod&lt;/p&gt;&lt;p&gt;C. pwd&lt;/p&gt;&lt;p&gt;D. touch&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 11&lt;/p&gt;&lt;p&gt;### What does chmod 777 file do?&lt;/p&gt;&lt;p&gt;A. Makes the file read-only&lt;/p&gt;&lt;p&gt;B. Gives read, write, and execute permissions to owner, group, and others&lt;/p&gt;&lt;p&gt;C. Changes the inode&lt;/p&gt;&lt;p&gt;D. Creates a hard link&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 12&lt;/p&gt;&lt;p&gt;### Can you normally create hard links to directories using standard ln?&lt;/p&gt;&lt;p&gt;A. Yes, without restrictions&lt;/p&gt;&lt;p&gt;B. No, generally prohibited for regular users&lt;/p&gt;&lt;p&gt;C. Only with ln -s&lt;/p&gt;&lt;p&gt;D. Only for empty directories&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 13&lt;/p&gt;&lt;p&gt;### What is the output of this command sequence?&lt;/p&gt;&lt;p&gt;\`touch a.txt\` \`ln a.txt b.txt\` \`ls -i a.txt b.txt\`&lt;/p&gt;&lt;p&gt;A. Different inode numbers&lt;/p&gt;&lt;p&gt;B. Same inode number&lt;/p&gt;&lt;p&gt;C. No inode number&lt;/p&gt;&lt;p&gt;D. Two copies of the file&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 14&lt;/p&gt;&lt;p&gt;### Which statement about soft links is correct?&lt;/p&gt;&lt;p&gt;A. They always share the target&#39;s inode&lt;/p&gt;&lt;p&gt;B. They have their own inode&lt;/p&gt;&lt;p&gt;C. They duplicate the target data&lt;/p&gt;&lt;p&gt;D. They cannot point to directories&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QUESTION 15&lt;/p&gt;&lt;p&gt;### What does \`ls -l\` typically show for a symbolic link?&lt;/p&gt;&lt;p&gt;A. The target&#39;s inode number&lt;/p&gt;&lt;p&gt;B. The link path followed by \`-&amp;gt;\` and its target&lt;/p&gt;&lt;p&gt;C. Only the file size&lt;/p&gt;&lt;p&gt;D. Only the target&#39;s permission&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/5362983758252154081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/5362983758252154081?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/5362983758252154081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/5362983758252154081'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/linux-soft-link-hard-link-quiz.html' title='Linux Soft Link &amp; Hard Link Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-7525608648527145313</id><published>2026-09-16T19:13:11.724+05:30</published><updated>2026-09-26T20:39:07.458+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Append"/><category scheme="http://www.blogger.com/atom/ns#" term="List"/><category scheme="http://www.blogger.com/atom/ns#" term="Nested List"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Lists, `append()`, Nested Lists &amp; Self-Referencing Lists</title><content type='html'>&lt;p&gt;&amp;nbsp;### 🐍 Top 10 Python `append()` Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Topic: Python Lists, `append()`, Nested Lists &amp;amp; Self-Referencing Lists&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Test your Python knowledge with these output-based MCQs! 🚀&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q1. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. 5&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q2. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 2&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q3. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 2, 3, 4\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[1, 2, \[3, 4\]\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[3, 4, 1, 2\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[1, 2, 4, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q4. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[1, 2, 3, 4\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q5. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 2, 3, 4\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[\[1, 2\], \[3, 4\]\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[1, \[2, 3\], 4\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q6. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. 6&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q7. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 2&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. 5&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q8. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. 30&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. 40&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. 50&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q9. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 2\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[1, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q10. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### 📌 Key Takeaways&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;| Method             | Behavior                  |&lt;/p&gt;&lt;p&gt;| ------------------ | ------------------------- |&lt;/p&gt;&lt;p&gt;| append(x)          | Adds one element          |&lt;/p&gt;&lt;p&gt;| append([x, y])     | Adds a nested list        |&lt;/p&gt;&lt;p&gt;| append(a)          | Adds a self-reference     |&lt;/p&gt;&lt;p&gt;| len(a)             | Counts top-level elements |&lt;/p&gt;&lt;p&gt;| a.append(x) return | None                      |&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/7525608648527145313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/7525608648527145313?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7525608648527145313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7525608648527145313'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-lists-append-nested-lists-self.html' title='Python Lists, `append()`, Nested Lists &amp; Self-Referencing Lists'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-7380805362252852705</id><published>2026-09-16T16:49:54.841+05:30</published><updated>2026-09-26T19:30:45.551+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Insert"/><category scheme="http://www.blogger.com/atom/ns#" term="List"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python List `insert()` Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;### 🐍 Top 10 Python List `insert()` Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Test your Python knowledge with these 10 output-based multiple-choice questions.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q1. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 2, 10, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[1, 10, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[10, 1, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[1, 2, 3, 10\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q2. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[5, 6, 7, 100\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[100, 5, 6, 7\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[5, 100, 6, 7\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[100, 7, 6, 5\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q3. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[4, 1, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[1, 2, 4, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[1, 2, 3, 4\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q4. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[99, 10, 20, 30\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[10, 20, 99, 30\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[10, 20, 30, 99\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[10, 99, 20, 30\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q5. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[5, 1, 2\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[1, 2, 5\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[1, 5, 2\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q6. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[2, 8, 10, 4, 6\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[2, 8, 4, 10, 6\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[2, 4, 10, 8, 6\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[8, 2, 10, 4, 6\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q7. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 99, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. 99&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. None&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q8. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 2, 3, 9\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[9, 1, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[1, 9, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q9. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[1, 4, 5, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[1, \[4, 5\], 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[4, 5, 1, 2, 3\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### Q10. What is the output?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A. \[10, 20, 15, 25, 30, 40\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B. \[10, 20, 25, 15, 30, 40\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C. \[10, 15, 20, 25, 30, 40\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;D. \[10, 20, 30, 15, 25, 40\]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;### 📌 Key Takeaways&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* `insert(index, value)` adds an element at a specific position.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* Existing elements shift to the right.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* `insert()` modifies the original list.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* `insert()` returns `None`.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* Large positive indexes append to the end.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;* Negative indexes count from the end, with boundary clamping.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Share your score! How many did you get correct? 🐍&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/7380805362252852705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/7380805362252852705?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7380805362252852705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7380805362252852705'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-list-insert-quiz.html' title='Python List `insert()` Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-7101114699532473961</id><published>2026-09-15T20:03:26.585+05:30</published><updated>2026-09-26T19:31:05.855+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lambda"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Quiz"/><title type='text'>Python Lambda Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;Python Lambda Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What will be the output? x = 4 f = lambda x: x + 2 print(f(3) + x)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 9&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 12&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What will be the output? square = lambda x: x * x print(square(5))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 25&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 20&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 15&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What will be the output? add = lambda a, b: a + b print(add(4, 6))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 24&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 46&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What will be the output? f = lambda x: x * 2 print(f(3) + f(4))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 11&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 14&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 24&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 12&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What will be the output? f = lambda x: x - 1 print(f(10))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 9&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 11&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/7101114699532473961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/7101114699532473961?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7101114699532473961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7101114699532473961'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-lambda-quiz.html' title='Python Lambda Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-2679468323751835746</id><published>2026-09-14T21:00:18.821+05:30</published><updated>2026-09-26T20:38:29.829+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Quiz"/><category scheme="http://www.blogger.com/atom/ns#" term="Sort"/><title type='text'>Python sorted() Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;Python sorted() Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? print(sorted([3, 1, 2]))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [3, 2, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [2, 1, 3]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? print(sorted([3, 1, 2], reverse=True))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [2, 3, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [3, 2, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [1, 2, 3]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? words = [&quot;banana&quot;, &quot;fig&quot;, &quot;apple&quot;] print(sorted(words, key=len))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;fig&#39;, &#39;apple&#39;, &#39;banana&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;banana&#39;, &#39;apple&#39;, &#39;fig&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;apple&#39;, &#39;banana&#39;, &#39;fig&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;fig&#39;, &#39;banana&#39;, &#39;apple&#39;]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? nums = [10, 2, 30, 4] print(sorted(nums, key=lambda x: x))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [30, 10, 4, 2]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [4, 2, 10, 30]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [10, 2, 4, 30]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [2, 4, 10, 30]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? names = [&quot;Bob&quot;, &quot;alice&quot;, &quot;Charlie&quot;] print(sorted(names, key=str.lower))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;Charlie&#39;, &#39;Bob&#39;, &#39;alice&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;alice&#39;, &#39;Bob&#39;, &#39;Charlie&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;alice&#39;, &#39;Charlie&#39;, &#39;Bob&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;Bob&#39;, &#39;Charlie&#39;, &#39;alice&#39;]&lt;/p&gt;&lt;p&gt;______________________________&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? nums = [7, 2, 9, 1] print(sorted(nums))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [7, 2, 9, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2, 7, 9]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [2, 1, 7, 9]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [9, 7, 2, 1]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? nums = [4, 8, 1, 6] print(sorted(nums, reverse=True))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [6, 8, 4, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [8, 6, 4, 1]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [4, 8, 1, 6]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [1, 4, 6, 8]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? words = [&quot;pear&quot;, &quot;apple&quot;, &quot;banana&quot;] print(sorted(words))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;banana&#39;, &#39;pear&#39;, &#39;apple&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;pear&#39;, &#39;banana&#39;, &#39;apple&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;apple&#39;, &#39;pear&#39;, &#39;banana&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;apple&#39;, &#39;banana&#39;, &#39;pear&#39;]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? words = [&quot;cat&quot;, &quot;elephant&quot;, &quot;dog&quot;] print(sorted(words, key=len))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;cat&#39;, &#39;elephant&#39;, &#39;dog&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;dog&#39;, &#39;cat&#39;, &#39;elephant&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;elephant&#39;, &#39;cat&#39;, &#39;dog&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;cat&#39;, &#39;dog&#39;, &#39;elephant&#39;]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? words = [&quot;one&quot;, &quot;three&quot;, &quot;two&quot;] print(sorted(words, key=len, reverse=True))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;one&#39;, &#39;two&#39;, &#39;three&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;three&#39;, &#39;one&#39;, &#39;two&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;two&#39;, &#39;one&#39;, &#39;three&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;three&#39;, &#39;two&#39;, &#39;one&#39;]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What is the output? items = [(&quot;B&quot;, 2), (&quot;A&quot;, 3), (&quot;C&quot;, 1)] print(sorted(items, key=lambda x: x[1]))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [(&#39;C&#39;, 1), (&#39;B&#39;, 2), (&#39;A&#39;, 3)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [(&#39;A&#39;, 3), (&#39;B&#39;, 2), (&#39;C&#39;, 1)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [(&#39;A&#39;, 3), (&#39;C&#39;, 1), (&#39;B&#39;, 2)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [(&#39;B&#39;, 2), (&#39;A&#39;, 3), (&#39;C&#39;, 1)]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What is the output? students = [(&quot;John&quot;, 80), (&quot;Amy&quot;, 95), (&quot;Bob&quot;, 70)] print(sorted(students, key=lambda x: x[1], reverse=True))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [(&#39;John&#39;, 80), (&#39;Amy&#39;, 95), (&#39;Bob&#39;, 70)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [(&#39;Amy&#39;, 95), (&#39;John&#39;, 80), (&#39;Bob&#39;, 70)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [(&#39;Bob&#39;, 70), (&#39;John&#39;, 80), (&#39;Amy&#39;, 95)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [(&#39;Amy&#39;, 95), (&#39;Bob&#39;, 70), (&#39;John&#39;, 80)]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output? pairs = [(3, 1), (1, 5), (2, 2)] print(sorted(pairs))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [(1, 5), (3, 1), (2, 2)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [(2, 2), (1, 5), (3, 1)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [(1, 5), (2, 2), (3, 1)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [(3, 1), (2, 2), (1, 5)]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What is the output? words = [&quot;apple&quot;, &quot;kiwi&quot;, &quot;banana&quot;, &quot;fig&quot;] print(sorted(words, key=lambda x: (len(x), x)))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;banana&#39;, &#39;apple&#39;, &#39;kiwi&#39;, &#39;fig&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [&#39;fig&#39;, &#39;kiwi&#39;, &#39;apple&#39;, &#39;banana&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;fig&#39;, &#39;apple&#39;, &#39;kiwi&#39;, &#39;banana&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;kiwi&#39;, &#39;fig&#39;, &#39;apple&#39;, &#39;banana&#39;]&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/2679468323751835746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/2679468323751835746?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2679468323751835746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/2679468323751835746'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-sorted-quiz.html' title='Python sorted() Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-4653846149675589781</id><published>2026-09-14T20:12:46.874+05:30</published><updated>2026-09-26T19:32:20.090+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Error Handling"/><category scheme="http://www.blogger.com/atom/ns#" term="Exception"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Exception Handling</title><content type='html'>&lt;p&gt;&amp;nbsp;Python Exception Handling: try, except, else &amp;amp; finally&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? try: print(10 / 0) except ZeroDivisionError: print(&quot;Error&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Nothing&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Error&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? try: x = 10 except: print(&quot;Error&quot;) else: print(&quot;Success&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Error&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Success&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Nothing&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? try: print(5 / 0) except ZeroDivisionError: print(&quot;Caught&quot;) finally: print(&quot;Done&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Caught&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Done&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Error\nDone&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Caught\nDone&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? try: print(&quot;A&quot;) except: print(&quot;B&quot;) finally: print(&quot;C&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. C\nA&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. A&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. A\nC&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. B\nC&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. Which block is designed to execute whether or not an exception occurs? try: # risky operation except Exception: # handle error else: # no error finally: # cleanup&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. except&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. try&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. finally&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. else&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What is the output? try: int(&quot;abc&quot;) except ValueError: print(&quot;Invalid&quot;) else: print(&quot;Valid&quot;) finally: print(&quot;Finished&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Invalid&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Invalid\nFinished&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Valid\nFinished&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Finished\nInvalid&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What happens to the else block when the try block raises an exception that is handled by except?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. It executes before except&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. It is skipped&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. It always executes&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. It executes after finally&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output? try: x = 10 print(x) except Exception: print(&quot;Error&quot;) finally: print(&quot;Cleanup&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Error\nCleanup&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 10\nCleanup&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Cleanup\n10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What is the main purpose of the else block in Python exception handling?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Run code only when try fails&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Run code only when try succeeds&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Always clean up resources&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Catch every exception&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? try: print(&quot;Start&quot;) raise Exception(&quot;Oops&quot;) except Exception: print(&quot;Handled&quot;) finally: print(&quot;End&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Handled\nEnd&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Start\nEnd&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Start\nHandled&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Start\nHandled\nEnd&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/4653846149675589781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/4653846149675589781?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/4653846149675589781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/4653846149675589781'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-exception-handling.html' title='Python Exception Handling'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-8332465980662467799</id><published>2026-09-14T16:12:36.346+05:30</published><updated>2026-09-26T19:32:38.777+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Find"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Quiz"/><title type='text'>Python find() Quiz</title><content type='html'>&lt;p&gt;Python find() Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? s = &quot;Python Programming&quot; print(s.find(&quot;Pro&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 6&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 8&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 7&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? s = &quot;banana&quot; print(s.find(&quot;na&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? print(&quot;hello world&quot;.find(&quot;world&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 6&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. -1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? print(&quot;Python&quot;.find(&quot;Java&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? s = &quot;programming&quot; print(s.find(&quot;g&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 10&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 7&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What is the output? s = &quot;banana&quot; print(s.find(&quot;a&quot;, 2))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What is the output? s = &quot;banana&quot; print(s.find(&quot;a&quot;, 4))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output? print(&quot;mississippi&quot;.find(&quot;iss&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What is the output? print(&quot;PYTHON&quot;.find(&quot;python&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 6&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. -1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? print(&quot;hello&quot;.find(&quot;&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;11. What is the output? s = &quot;abcabc&quot; print(s.find(&quot;abc&quot;, 1))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;12. What is the output? s = &quot;abcdef&quot; print(s.find(&quot;cd&quot;, 0, 4))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;13. What is the output? s = &quot;abcdef&quot; print(s.find(&quot;ef&quot;, 0, 5))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 5&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;14. What is the output? print(&quot;banana&quot;.find(&quot;ana&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15. What is the output? s = &quot;Python Python&quot; print(s.find(&quot;Python&quot;, 1))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 6&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;16. What is the output? print(&quot;developer&quot;.find(&quot;lop&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;17. What is the output? s = &quot;abracadabra&quot; print(s.find(&quot;abra&quot;, 1))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 7&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;18. What is the output? s = &quot;cat cat cat&quot; print(s.find(&quot;cat&quot;, 4))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;19. What is the output? s = &quot;python programming&quot; print(s.find(&quot;python&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 7&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;20. What is the output? s = &quot;hello hello&quot; print(s.find(&quot;hello&quot;, 1))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 5&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 6&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/8332465980662467799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/8332465980662467799?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/8332465980662467799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/8332465980662467799'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-find-quiz.html' title='Python find() Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-6541269550715757657</id><published>2026-09-14T13:02:34.108+05:30</published><updated>2026-09-26T19:33:02.556+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Control"/><category scheme="http://www.blogger.com/atom/ns#" term="Flow"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Quiz"/><title type='text'>Python Control Flow Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;Python Control Flow Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? x = 10 if x &amp;gt; 5: print(&quot;A&quot;) else: print(&quot;B&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. No output&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Error&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. A&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? x = 15 if x &amp;lt; 10: print(&quot;Low&quot;) elif x &amp;lt; 20: print(&quot;Medium&quot;) else: print(&quot;High&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Low&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. B&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Medium&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. High&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? for i in range(3): print(i) else: print(&quot;Done&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0 1 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Done 0 1 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0 1 Done&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0 1 2 Done&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? for i in range(5): if i == 2: break print(i)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0 1 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 0 1 2 3 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 2 3 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? for i in range(5): if i == 2: continue print(i)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 2 3 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0 1 2 3 4&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0 1 3 4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What is the output? for i in range(3): if i == 1: break else: print(&quot;Done&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 0 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Done&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0 Done&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What is the output? x = 0 if x: print(&quot;True&quot;) else: print(&quot;False&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Error&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output? for i in range(4): if i % 2 == 0: continue print(i)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 2 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 0 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 1 3&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0 1 2 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What is the output? for i in range(3): print(i) if i == 1: break else: print(&quot;Done&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 0 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 0 1 Done&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? x = 20 if x &amp;lt; 10: print(&quot;A&quot;) elif x &amp;lt; 20: print(&quot;B&quot;) elif x == 20: print(&quot;C&quot;) else: print(&quot;D&quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. C&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. D&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. A&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. B&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/6541269550715757657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/6541269550715757657?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/6541269550715757657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/6541269550715757657'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-control-flow-quiz.html' title='Python Control Flow Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-4135673350882650451</id><published>2026-09-14T12:43:22.805+05:30</published><updated>2026-09-26T19:33:13.151+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="List"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'> Python Lists: Mutability Quiz</title><content type='html'>&lt;p&gt;&amp;nbsp;Python Lists: Mutability Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output of this Python code? x = [1, 2, 3] x[0] = 10 print(x)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [10, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [10, 1, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. TypeError&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output of this Python code? items = [1, 2] items.append(3) print(items)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [1, 2]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [3, 1, 2]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [1, 2, [3]]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output of this Python code? a = [10, 20] b = a b[1] = 99 print(a)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. TypeError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [99, 20]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [10, 99]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [10, 20]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. Which statement correctly describes Python lists?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Lists cannot contain duplicate values.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Lists are mutable sequences.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Lists can contain only numbers.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Lists are immutable sequences.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output of this Python code? numbers = [1, 2, 3] numbers[1] = 20 print(numbers)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [1, 20, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2, 20, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [1, 2, 3]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [20, 2, 3]&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/4135673350882650451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/4135673350882650451?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/4135673350882650451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/4135673350882650451'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-lists-mutability-quiz.html' title=' Python Lists: Mutability Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-1489529084966597809</id><published>2026-09-14T10:26:14.073+05:30</published><updated>2026-09-26T19:33:24.506+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="Split"/><title type='text'>Python split() Method Quiz</title><content type='html'>&lt;p&gt;&lt;span data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3&quot;&gt;Python:&lt;br /&gt;&lt;/span&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;3&quot;&gt;&lt;br /&gt;Quiz 1: Custom Delimiters&lt;/b&gt;
What will be the output of the following code?&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot;&gt;&lt;code-block _nghost-ng-c2851466468=&quot;&quot; class=&quot;ng-tns-c2851466468-21 ng-star-inserted&quot;&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-block ng-tns-c2851466468-21 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahcKEwiM5ZjuoO2WAxUAAAAAHQAAAAAQMg&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl8xYzY5MmJlZjE5MDkyYjJhIiwiY18yZGJkZDE2NTAwMGY4ZTAwIixudWxsLCJyY19kZGJmZThkM2JiYWNhOWQwIixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMV1d&quot;&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c2851466468-21&quot;&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;animated-opacity ng-tns-c2851466468-21&quot;&gt;&lt;!----&gt;&lt;pre _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;ng-tns-c2851466468-21&quot;&gt;&lt;code _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-container formatted ng-tns-c2851466468-21 embedded&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot;&gt;data = &lt;span class=&quot;hljs-string&quot;&gt;&quot;apple,banana,cherry&quot;&lt;/span&gt;
print(data.split(&lt;span class=&quot;hljs-string&quot;&gt;&quot;,&quot;&lt;/span&gt;))
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;ul data-path-to-node=&quot;5&quot;&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;5,0,0&quot;&gt;A) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;5,0,0&quot;&gt;[&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;5,1,0&quot;&gt;B) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;5,1,0&quot;&gt;&quot;apple&quot; &quot;banana&quot; &quot;cherry&quot;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;5,2,0&quot;&gt;C) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;5,2,0&quot;&gt;[&quot;apple,banana,cherry&quot;]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;5,3,0&quot;&gt;D) Error&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p data-path-to-node=&quot;6&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;6&quot;&gt;Quiz 2: Handling Extra Whitespace&lt;/b&gt;
What will be the output of the following code?&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c2851466468=&quot;&quot; class=&quot;ng-tns-c2851466468-22 ng-star-inserted&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-block ng-tns-c2851466468-22 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahcKEwiM5ZjuoO2WAxUAAAAAHQAAAAAQMw&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl8xYzY5MmJlZjE5MDkyYjJhIiwiY18yZGJkZDE2NTAwMGY4ZTAwIixudWxsLCJyY19kZGJmZThkM2JiYWNhOWQwIixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMV1d&quot;&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-title-s hide-on-print ng-tns-c2851466468-22 ng-star-inserted&quot;&gt;text = &lt;span class=&quot;hljs-string&quot;&gt;&quot;Hello   World  Python&quot;&lt;/span&gt;&lt;/div&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c2851466468-22&quot;&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;animated-opacity ng-tns-c2851466468-22&quot;&gt;&lt;pre _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;ng-tns-c2851466468-22&quot;&gt;&lt;code _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-container formatted ng-tns-c2851466468-22 embedded&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot;&gt;print(text.split())
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;ul data-path-to-node=&quot;8&quot;&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;8,0,0&quot;&gt;A) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;8,0,0&quot;&gt;[&#39;Hello&#39;, &#39;&#39;, &#39;&#39;, &#39;World&#39;, &#39;&#39;, &#39;Python&#39;]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;8,1,0&quot;&gt;B) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;8,1,0&quot;&gt;[&#39;Hello&#39;, &#39;World&#39;, &#39;Python&#39;]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;8,2,0&quot;&gt;C) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;8,2,0&quot;&gt;[&#39;Hello   World  Python&#39;]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;8,3,0&quot;&gt;D) Error&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p data-path-to-node=&quot;9&quot;&gt;&lt;b data-index-in-node=&quot;0&quot; data-path-to-node=&quot;9&quot;&gt;Quiz 3: The Opposite of Split&lt;/b&gt;
What will be the output of the following code?&lt;/p&gt;&lt;response-element class=&quot;no-md&quot; ng-version=&quot;0.0.0-PLACEHOLDER&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;code-block _nghost-ng-c2851466468=&quot;&quot; class=&quot;ng-tns-c2851466468-23 ng-star-inserted&quot;&gt;&lt;!----&gt;&lt;!----&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-block ng-tns-c2851466468-23 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation&quot; data-hveid=&quot;0&quot; data-ved=&quot;0CAAQhtANahcKEwiM5ZjuoO2WAxUAAAAAHQAAAAAQNA&quot; decode-data-ved=&quot;1&quot; jslog=&quot;223238;track:impression,attention;BardVeMetadataKey:W1sicl8xYzY5MmJlZjE5MDkyYjJhIiwiY18yZGJkZDE2NTAwMGY4ZTAwIixudWxsLCJyY19kZGJmZThkM2JiYWNhOWQwIixudWxsLG51bGwsImVuIixudWxsLDEsbnVsbCxudWxsLDEsMV1d&quot;&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-block-decoration header-formatted gds-title-s hide-on-print ng-tns-c2851466468-23 ng-star-inserted&quot;&gt;words = [&lt;span class=&quot;hljs-string&quot;&gt;&quot;Python&quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot;&gt;&quot;is&quot;&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot;&gt;&quot;fun&quot;&lt;/span&gt;]&lt;/div&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;formatted-code-block-internal-container ng-tns-c2851466468-23&quot;&gt;&lt;div _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;animated-opacity ng-tns-c2851466468-23&quot;&gt;&lt;pre _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;ng-tns-c2851466468-23&quot;&gt;&lt;code _ngcontent-ng-c2851466468=&quot;&quot; class=&quot;code-container formatted ng-tns-c2851466468-23 embedded&quot; data-test-id=&quot;code-content&quot; role=&quot;text&quot;&gt;print(&lt;span class=&quot;hljs-string&quot;&gt;&quot; &quot;&lt;/span&gt;.join(words))
&lt;/code&gt;&lt;/pre&gt;&lt;!----&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/code-block&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;!----&gt;&lt;/response-element&gt;&lt;ul data-path-to-node=&quot;11&quot;&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;11,0,0&quot;&gt;A) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;11,0,0&quot;&gt;[&quot;Python is fun&quot;]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;11,1,0&quot;&gt;B) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;11,1,0&quot;&gt;Python, is, fun&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;11,2,0&quot;&gt;C) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;11,2,0&quot;&gt;Python is fun&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p data-path-to-node=&quot;11,3,0&quot;&gt;D) &lt;code data-index-in-node=&quot;3&quot; data-path-to-node=&quot;11,3,0&quot;&gt;[&#39;Python&#39;, &#39;is&#39;, &#39;fun&#39;]&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;div&gt;-------------&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. What is the output of print(&quot;Python is easy&quot;.split())?&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;A. Python is easy&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;B. [&#39;Python&#39;, &#39;is&#39;, &#39;easy&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;C. [&#39;Python&#39;, &#39;is easy&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;D. [&#39;Python is easy&#39;]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. What is the output of print(&quot;a,b,c&quot;.split(&quot;,&quot;))?&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;A. [&#39;a&#39;, &#39;,b&#39;, &#39;,c&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;B. [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;C. [&#39;a&#39;, &#39;b,c&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;D. [&#39;a,b,c&#39;]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. What is the output of print(&quot;one two three&quot;.split(&quot; &quot;, 1))?&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;A. [&#39;one two three&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;B. [&#39;one two&#39;, &#39;three&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;C. [&#39;one&#39;, &#39;two&#39;, &#39;three&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;D. [&#39;one&#39;, &#39;two three&#39;]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. What is the output of print(&quot;hello&quot;.split(&quot;l&quot;))?&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;A. [&#39;he&#39;, &#39;&#39;, &#39;o&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;B. [&#39;he&#39;, &#39;llo&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;C. [&#39;hel&#39;, &#39;o&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;D. [&#39;hello&#39;]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. What is the output of print(&quot; Python quiz &quot;.split())?&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;A. [&#39;Python&#39;, &#39;quiz&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;B. [&#39; Python&#39;, &#39;quiz &#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;C. [&#39;Python&#39;, &#39;&#39;, &#39;quiz&#39;]&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;D. [&#39;&#39;, &#39;Python&#39;, &#39;&#39;, &#39;&#39;, &#39;quiz&#39;, &#39;&#39;]&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-path-to-node=&quot;12&quot;&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/1489529084966597809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/1489529084966597809?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/1489529084966597809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/1489529084966597809'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-split-method-quiz.html' title='Python split() Method Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-7783123149095118257</id><published>2026-09-13T21:06:47.707+05:30</published><updated>2026-09-26T19:33:44.235+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dictionary"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Dictionary Methods Quiz</title><content type='html'>&lt;p&gt;Python Dictionary Methods Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} print(d.get(&quot;a&quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. KeyError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. What is the output? d = {&quot;x&quot;: 10, &quot;y&quot;: 20} print(list(d.keys()))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [10, 20]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [(&#39;x&#39;, 10), (&#39;y&#39;, 20)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;x&#39;, &#39;y&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [&#39;x&#39;, 10, &#39;y&#39;, 20]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What is the output? d = {&quot;a&quot;: 5, &quot;b&quot;: 7} print(list(d.values()))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [&#39;a&#39;, &#39;b&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [5, &#39;a&#39;, 7, &#39;b&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [(&#39;a&#39;, 5), (&#39;b&#39;, 7)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. [5, 7]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} print(list(d.items()))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. [(&#39;a&#39;, 1), (&#39;b&#39;, 2)]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. [1, 2]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. [&#39;a&#39;, &#39;b&#39;]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. What is the output? d = {&quot;a&quot;: 1} d.update({&quot;b&quot;: 2}) print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 2, &#39;b&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {&#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. What is the output? d = {&quot;a&quot;: 10, &quot;b&quot;: 20} x = d.pop(&quot;a&quot;) print(x, d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 20 {&#39;a&#39;: 10}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 10 {&#39;a&#39;: 10}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 10 {&#39;b&#39;: 20}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. a {&#39;b&#39;: 20}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} x = d.popitem() print(x, d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. (&#39;b&#39;, 2) {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 2 {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. (&#39;a&#39;, 1) {&#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. (&#39;b&#39;, 2) {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What is the output? d = {&quot;a&quot;: 1} x = d.setdefault(&quot;b&quot;, 2) print(x, d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 1 {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 2 {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 2 {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. What is the output? d = {&quot;a&quot;: 1} x = d.setdefault(&quot;a&quot;, 99) print(x, d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 99 {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. None {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 99 {&#39;a&#39;: 99}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1 {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} d.clear() print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;11. What is the output? d = {&quot;a&quot;: 1} c = d.copy() c[&quot;b&quot;] = 2 print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {&#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;12. What is the output? d = dict.fromkeys([&quot;a&quot;, &quot;b&quot;], 0) print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 1, &#39;b&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {0: &#39;a&#39;, 0: &#39;b&#39;}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. {&#39;a&#39;: None, &#39;b&#39;: None}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;a&#39;: 0, &#39;b&#39;: 0}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;13. What is the output? d = {&quot;a&quot;: 1} print(d.get(&quot;b&quot;, 99))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. KeyError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 99&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;14. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} d.update({&quot;a&quot;: 10}) print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 10, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {&#39;a&#39;: 10}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. {&#39;a&#39;: 1, &#39;b&#39;: 10}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} print(&quot;a&quot; in d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. False&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;16. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} print(d.get(&quot;c&quot;) is None)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. True&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. KeyError&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. False&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;17. What is the output? d = {&quot;a&quot;: 1} d.update(b=2) print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 1, &#39;b&#39;: None}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {&#39;a&#39;: 2, &#39;b&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. {&#39;a&#39;: 1, &#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;b&#39;: 2}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;18. What is the output? d = {&quot;a&quot;: 1, &quot;b&quot;: 2} x = d.pop(&quot;b&quot;) print(x)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. None&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. b&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;19. What is the output? d = {&quot;x&quot;: 1, &quot;y&quot;: 2} print(len(d.keys()))&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. 2&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. 0&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. 3&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;20. What is the output? d = {&quot;a&quot;: 1} d.setdefault(&quot;b&quot;) print(d)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. {&#39;a&#39;: 1, &#39;b&#39;: 0}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. {&#39;b&#39;: None}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. {&#39;a&#39;: 1}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. {&#39;a&#39;: 1, &#39;b&#39;: None}&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/7783123149095118257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/7783123149095118257?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7783123149095118257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/7783123149095118257'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/python-dictionary-methods-quiz.html' title='Python Dictionary Methods Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8396014497656672369.post-4574925266055030742</id><published>2026-09-13T19:44:28.398+05:30</published><updated>2026-09-26T19:34:00.668+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="Quiz"/><title type='text'>Perl CLI Commands Quiz</title><content type='html'>&lt;p&gt;Perl CLI Commands Quiz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. Which command runs a Perl script named script.pl?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl-run script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. execute perl script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. run script.pl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Which option tells Perl to execute the supplied string as a program?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. -i&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. -e&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -n&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. -p&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. What does perl -v primarily display?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. All installed Perl modules&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. The current working directory&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Perl version information&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. The contents of the current script&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. Which command checks a Perl script for syntax errors without executing it normally?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -x script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -d script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -c script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -s script.pl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. Which command executes print &quot;Hello\n&quot; directly from the command line?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -n &#39;print &quot;Hello\n&quot;&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -i &#39;print &quot;Hello\n&quot;&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -p &#39;print &quot;Hello\n&quot;&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -e &#39;print &quot;Hello\n&quot;&#39;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. Which command enables warnings for a Perl script?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -c script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -w script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -i script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -x script.pl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. Which command enables Perl&#39;s debugger when running script.pl?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -c script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -i script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -d script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -v script.pl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. What does perl -p -e &#39;print&#39; file.txt do?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. Compiles the file without reading it&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. Starts the Perl debugger&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. Deletes every line from the file&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. Processes each input line and prints it&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. Which switch makes Perl process input with an implicit loop but does not automatically print each line?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. -p&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. -i&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. -d&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. -n&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. Which command edits files in place using Perl&#39;s substitution one-liner?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -pd -e &#39;s/foo/bar/g&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -pv -e &#39;s/foo/bar/g&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -pc -e &#39;s/foo/bar/g&#39; file.txt&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -pi -e &#39;s/foo/bar/g&#39; file.txt&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;11. Which command reads Perl code from standard input?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl stdin&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl --input&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -stdin&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;12. Which command displays Perl&#39;s command-line help?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -help perlrun&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perldoc perlrun&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perlman perlrun&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl --help-all&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;13. Which command runs a Perl one-liner with taint checking enabled?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -T -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -d -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -w -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -t -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;14. Which command sets a Perl library search path for the current invocation?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -Ilib script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -P lib script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -Llib script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -Mlib script.pl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15. Which command loads a Perl module before running the supplied code?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -LModule -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -CModule -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -MModule -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -IModule -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;16. Which command treats Perl warnings as fatal errors?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -c script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -v script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -Mwarnings=FATAL,all script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -w script.pl&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;17. Which command enables strict mode for a Perl one-liner?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -Mstrict -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl -Istrict -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -wstrict -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -dstrict -e &#39;...&#39;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;18. Which command prints the Perl installation&#39;s executable path using the shell&#39;s command lookup?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. which perl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. whereis python&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. find perl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. locate perl.exe&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;19. Which command shows documentation for the Perl function split?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl -f split&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perlhelp split&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perldoc -m split&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perldoc -f split&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;20. Which command runs a Perl script and passes hello as its first command-line argument?&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;A. perl script.pl hello&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;B. perl hello script.pl&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;C. perl -e script.pl hello&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;D. perl -a script.pl hello&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://perlknowledge.blogspot.com/feeds/4574925266055030742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8396014497656672369/4574925266055030742?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/4574925266055030742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8396014497656672369/posts/default/4574925266055030742'/><link rel='alternate' type='text/html' href='http://perlknowledge.blogspot.com/2026/09/perl-cli-commands-quiz.html' title='Perl CLI Commands Quiz'/><author><name>perlknowledge</name><uri>http://www.blogger.com/profile/04524012200668301221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>