ha ha i forgot command how to delete file
It's look like funny i had installed Redhat on my pc and i forgot the command to delete a file.and another thing is that how to create a new file and i like to write some chracter and like to save with a particular name please ....... help me for this
|
to delete a file use
rm -f filename to create an empty file issue touch filename then you can open it and write whatever you want also you can create an empty file and start editing it right away with any text editor, for instance vi vi filename |
also to add to this, rmdir will remove a directory.
man rmdir man rm for all available options. |
All times are GMT -5. The time now is 05:54 PM. |