#

os

Operating system documentation and commands

ProgrammingList files in a directory with Python (os.listdir, pathlib)

List files in a directory with Python. Examples use os.listdir, pathlib, glob, and os.scandir. Store results in a list, filter by extension, and recurse.

1 answer 5 views
OSUnderstanding Unix Man Page Numbers in Parentheses

Learn what the numbers in parentheses after Unix command names in man pages represent. Discover the significance of man page sections and how to use them effectively.

1 answer 1 view
ProgrammingPython Console Output Without print(): logging & sys.stdout

Output text to the console in Python without print(): compare sys.stdout.write/writelines, os.write, logging, and file/tee with short examples and use cases.

1 answer 1 view
OSFix VSCode terminal: fully clear scrollback with cls/clear

Resolve VSCode's cls/clear not removing scrollback. Step‑by‑step fixes for PowerShell, Bash and an extension to fully clear the integrated terminal history.

1 answer 1 view