Remove file or directories
puts rm command into interactive mode and prompts the user before it removes it
need to supply some example
Split a file into pieces
to split files use
split(numbers of lines) and
csplit(string of characters)
split -50 filename
it splits the file into smaller chunks every 50 lines
csplit splits files wherever it finds a match between its arguments and the content of the file
csplit -f newFileName filename "/Content of the file/" "/Content of the file2/" "/Content of the file3/"
argument must match with the content of the file.
In this case the file will be divided into pieces if the following strings are found in the file:
“/Content of the file/”
“/Content of the file2/”
“/Content of the file3/”