161bashThis demonstrates forcing a system reboot using the reboot command with the -f option.reboot -fexternal toolsrebootforce reboot
162bashThis demonstrates creating a temporary directory using the mktemp command with the --directory option.mktemp --directoryexternal toolsmktemptemporary directory creation
163bashThis demonstrates using the find command to locate files by name (case-insensitive) in a specified directory and its subdirectories.find /path -iname foo.txtexternal toolsfindfile search by name (case-insensitive)
164bashThis script uses envsubst to replace environment variables in a template file and outputs the result to a configuration file.envsubst < /nginx.conf.template > /etc/nginx/nginx.confexternal toolsenvsubst
165bashThis demonstrates various ls command options to list directory contents in different formats, sorted by modification time, and recursively.ls -l # Lists every file and directory on a separate line ls -t # Sorts the directory contents by last-modified date (descending) ls -R # Recursively `ls` this directory and all of its subdirectoriesexternal toolslsdirectory listingformat control
166bashThis demonstrates sending an HTTP GET request using curl with the --location option to follow redirects.curl --location https://example.comexternal toolscurlHTTP GET request with redirect following
167bashThis demonstrates using rsync to transfer a file with compression and verbose output.rsync --compress --verbose /foo.txt /bar.txtexternal toolsrsyncfile transfer with compression and verbose output
168bashThis demonstrates reading the first 10 lines of a file using the head command.head foo.txtexternal toolsheadfile reading (first lines)
169bashThis demonstrates using the which command to locate the executable file for wget.which wgetexternal toolswhichcommand location
170bashThis demonstrates using find to locate symbolic links by name in a specified directory.find /path -type l -name foo.txtexternal toolsfindfile search by type and name
171bashThis demonstrates advanced debugging with curl by capturing detailed trace information of an HTTP request.curl --trace-ascii d.txt --trace-ids http://example.com/external toolscurldebuggingHTTP request tracing
172bashThis script reads and pretty-prints the contents of a JSON file using Python's built-in JSON tool.cat myJSONFile.json | python -m json.toolexternal toolspythonJSON pretty-printing
173bashThis demonstrates using the less command to interactively view and navigate through the content of a file.less foo.txtexternal toolslessinteractive file viewing
174bashSearch for files with names starting with f and ending with .txt using the locate command. This demonstrates finding files matching a specific pattern.locate f*.txtexternal toolslocate
175bashThis demonstrates making an HTTP POST request with a JSON payload using curl.curl --request POST -H "Content-Type: application/json" --data '{"foo":"bar"}' https://example.comexternal toolscurlHTTP requestPOST request with JSON payload
176bashThis demonstrates terminating all processes named foo forcefully using pkill.pkill -9 fooexternal toolspkillprocess termination
177bashThis snippet lists all directories in the PATH environment variable by splitting it into individual paths and using find to locate directories within those paths.find ${PATH//:/ } -type dexternal toolsfind
178bashlinuxThis demonstrates modifying file permissions using the chmod command.chmod g+x foo.shexternal toolschmodmodify file permissions
179bashlinuxThis demonstrates modifying file permissions using the chmod command to add execute permission for the user (owner) of the file.chmod u+x foo.shexternal toolschmodfile permissions managementexecute permission
180bashThis script copies all .csv files from the current directory to the data/ directory.cp *.csv data/external toolscp