Command Line Cookbook
Introduction
The shell
Running a list of commands
Converting date and time
Simulating user inputs
Running a command for each item in a list
Generating random numbers
Using crontab to commit your git repo
Managing files and directories
Watching directories
Listing file and folder sizes
Generating random file with particular size
Printing a file in text or hex
Splitting and merging files
Converting files to different format
Generating checksum
Generating mime
Counting number of lines or characters
Copying and showing progress
Batch renaming
Counting word frequency
Comparing 2 folders
Strings and text
Searching text in files
Removing duplicated lines
Printing a range of lines
Converting tab to space
Comparing 2 text files
Sorting lines based on a certain field
Merging content of 2 files side by side
Joining all lines in a file
Adding text to the beginning of a file
Replacing strings
Changing case
Deleting lines that contain a specific string
Converting newline formatting from DOS to Unix and vice versa
Finding things
Finding files based on name
Finding files based on size
Finding files in a folder
Counting the number of files or folders
Administration
Shutting down
Execute a command at a specified time
Pausing execution
Miscellaneous
Doing mathematics
Powered by
GitBook
Miscellaneous
Stuff that does not fit anywhere should go here
results matching "
"
No results matching "
"