Some Linux command questions
What are the commands to create and remove a plain text document in say gedit? Also, what's the command to remove a program? Thanks.
|
Hi, Not sure about gedit commands since I am pretty sure that's the Gnome Text editor so doesn't go so well with command line commands, I use Nano myself, alot of people use vi. To remove a file with CLI, you can use the rm command, will remove any kind of file, with the right options you can even remove directories but people will probably say use rmdir instead since it's "safer" or something... I still way prefer rm -rf to remove entire directories tho.
anyway if you wanted to remove say yen.txt you would do "rm yen.txt". |
Quote:
Depending on the distro I use linux text I use Nano Pico kwrite and so on |
Hello jacatone :-)
Quote:
Gedit cannot be used to remove files from the file system, regardless of whether they are plain text, programs, or whatever (excepting when it thinks you are are changing the the same file for more than once). If you are asking about removing programs generally (nothing to do with gedit) then the answer depends on how the program got there in the first place. If it is something you created yourself you can just remove it both from the command prompt and using a GUI. If the program was installed using some package manager then best to remove it the same way so everything associated is tidied up nicely. Best Charles |
All times are GMT -5. The time now is 11:46 AM. |