[SOLVED] Why any character can't be input at the back of . (dot character)in my bash?
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.
Why any character can't be input at the back of . (dot character)in my bash?
It is stragne that any character can't be input at the back of . (dot character)in my bash .
I want to check my .bashrc with the command `cat .bashrc`.
Once the `cat .` was inputted, to input `b` will result in many undesired output.
Is there an virus in my computer?
First read is that there appears to be a very lengthy filename starting with a dot.
But did you hit TAB after you did the "cat ."? You imply that you hit the 'b' and this happened.
Have you investigated with an "ls -al" command to view this file or phenomena? Suggest you do this, and suggest you enlarge that terminal window to see more all at once if you can. Find out what that is.
Or, are you saying that you just hit the 'b' and suddenly it streamed that, and then this is why you had to hit the CTRL-C?
How about things like a reboot, a shutdown and restart, or a closing of that terminal window and a new one?
I have encountered messed up I/O on a terminal window from something like cat'ing a binary file. And have had to close the terminal to create a new one. Rarely have I had to reboot or shutdown, but there have been times where things have been messed up enough that I've had to take that action. Have you tried any of those actions?
I have encountered messed up I/O on a terminal window from something like cat'ing a binary file. And have had to close the terminal to create a new one. Rarely have I had to reboot or shutdown, but there have been times where things have been messed up enough that I've had to take that action. Have you tried any of those actions?
FYI - "reset" typically fixes this condition. Even if you can't see the letters as you type reset, just do it, hit enter, and 99% of the time it'll clear everything up and go back to normal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.