42bashThis demonstrates renaming or moving a file using the mv command.mv foo.txt bar.txtexternal toolsmvfile manipulation
43bashThis demonstrates using the find command to locate files with specific extensions (.swift or .m).find . -name "*.swift" -or -name "*.m"external toolsfindfile searchpattern matching
44bashThis demonstrates creating multiple directories in a single command using mkdir.mkdir foo barexternal toolsfile system managementmkdirdirectory creation
45bashThis demonstrates using the tail command to display the last 10 lines of a file.tail foo.txtexternal toolstailview end of file
46bashThis demonstrates using the locate command to search for a file by name in the filesystem.locate foo.txtexternal toolslocatefile search
47bashSearch for the string foo in the file /bar and display one line of context around each match. This demonstrates using grep with the --context option to show surrounding lines for better context in search results.grep 'foo' /bar --context 1external toolsgrep
48bashThis demonstrates using sed for find-and-replace operations in text files.sed 's/fox/bear/g' foo.txt > bar.txtexternal toolssedfind-and-replace operations
49bashThis script prints the first 10 lines of the file file.txt.head -n 10 file.txtexternal toolshead
50bashThis demonstrates sorting a file in descending order.sort -r random_order.txtexternal toolssort
51bashThis demonstrates printing the current date and time using the date command.dateexternal toolsdatebasic usage
52bashThis demonstrates the use of the screen command to start a terminal multiplexer session, enabling the management of multiple terminal windows within a single session.screenexternal toolsscreenterminal multiplexing
53bashThis demonstrates searching for specific file types recursively.find . -type f -name *.ipynbexternal toolsfind
54bashThis demonstrates using sed to perform a global search and replace operation within a file.sed 's/red fox/blue bear/g' foo.txtexternal toolssedtext replacement (global search and replace)
55bashThis demonstrates displaying the current routing table using the ip route show command.ip route showexternal toolsip routerouting table display
56bashThis demonstrates how to preview the first 5 lines of a file using the head command.head -n 5 < sales.csvexternal toolsheadfile preview
57bashThis script counts the number of lines, words, and bytes in the file foo.txt.wc foo.txtexternal toolswc
58bashThis demonstrates using the find command to locate all .txt files within a directory and its subdirectories.find /path -name "*.txt"external toolsfindfile search by pattern
59bashThis script searches for the string foo in the directory /bar recursively, following symbolic links.grep 'foo' /bar --dereference-recursiveexternal toolsgrep
60bashCount the number of lines in file.txt that match the regex pattern ^foo.*bar$. The -c option in grep is used to print the count of matching lines instead of the lines themselves. This demonstrates how to count occurrences of a specific pattern in a file.grep -c "^foo.*bar$" file.txtexternal toolsgrep