Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was surprised to see that when i went into nano and did 'ctl R' and then 'ctl T' that the names of old files from my home folder were still there in nano. I would like to delete this list for privacy measures.
If I go into terminal, "nano ~/.bash_history", it does NOT list those file names. It is only when I do ctl r and t do i see the list, but I don't know how to delete them; hitting delete does nothing and I don't see any commands to delete the entire 'file name'; the files are no longer in the home directory.
If I understand your problem. Invoking ^t will display files that do not exist from the command line or another file browser?
From the nano manual:
Quote:
When in the Read-File (^R) or Write-Out menu (^O), pressing ^T will invoke the file browser. Here, one can navigate directories in a graphical manner in order to find the desired file.
I guess I really have not delved into all the nano settings but are you sure you are looking in the correct directory? As far as I can tell ctrl-t it is just a file browser and displays the current contents of the selected directory.
nano will create backup files which have the suffix ~.
~/.nano_history is for saving and reading search/replace strings.
If I understand your problem. Invoking ^t will display files that do not exist from the command line or another file browser?
From the nano manual:
I guess I really have not delved into all the nano settings but are you sure you are looking in the correct directory? As far as I can tell ctrl-t it is just a file browser and displays the current contents of the selected directory.
nano will create backup files which have the suffix ~.
~/.nano_history is for saving and reading search/replace strings.
Thanks. When I put a "#" before "set historylog", and then I "ctl O" to write it, when I go back into nano for the same directory, it tells me that the file or directory is currently being modified, do i want to continue. Seems that the file has not written the new command. And it is still saving the names of all new docs. What is not being done to finalize this command? "#set historylog..........ctl O" - yes, from "sudo"
If I understand your problem. Invoking ^t will display files that do not exist from the command line or another file browser?
From the nano manual:
I guess I really have not delved into all the nano settings but are you sure you are looking in the correct directory? As far as I can tell ctrl-t it is just a file browser and displays the current contents of the selected directory.
nano will create backup files which have the suffix ~.
~/.nano_history is for saving and reading search/replace strings.
Thanks. Yes, ctl-t does seem to display the contents of the directory. I'm not sure what the correct directory is since I just want to delete all 'nano-history'. I can go into nano via "sudo nano" or "sudo nano /etc/ssh/sshd_config" and then to 'ctl R' and then 'ctl T' = get same list of all doc titles saved there.
Is nano just holding the titles of the docs or is it actually holding a copy of the files as well???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.