cat > file_name = takes input of text to store and add it to file.cat > file_name = creates a new file and saves the input text (ctrl+d to exit).cat file_name = reads the file and prints it in terminal.rmdir DIR = removes directories that don't have anything in them.rm -r = this removes the directory (-r mean recursively ,i.e remove all files all subdirectory and the directory itself).rm file* = removes all the files in the directory starting with 'file'.rm file_name = the file will be deleted.mv from_dir/file to_dir/file = here move command copies the from file and deletes it, pastes it in to dir.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |