- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- attempt to alias ls -a causes wierd symbols and li...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 07:58 AM
10-26-2005 07:58 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:04 AM
10-26-2005 08:04 AM
SolutionIt is nothing new, but I usually end up where you are when I accidentally cat a binary file assuming it is text. Terminal emulators usually come with something called "reset terminal" which effectively restarts the code without hampering your connection but with the default settings, i.e., no goobledy-gook characters.
I have gotten myself into situations, where even the reset terminal did not help. I had to abort the session with a kill signal from another session. It happens every once in a while.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:07 AM
10-26-2005 08:07 AM
Re: attempt to alias ls -a causes wierd symbols and lines to appear
edit the file with vi
while read -r filename
do
rm $filename
done < file
This will delete the crazy files you don't want.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 05:29 AM
10-27-2005 05:29 AM
Re: attempt to alias ls -a causes wierd symbols and lines to appear
and i'm not exactly sure on what you want me to do Steven, I would be content with just getting my regular ls back
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 05:57 AM
10-27-2005 05:57 AM
Re: attempt to alias ls -a causes wierd symbols and lines to appear
Try
unalias ls
which ls
whereis ls
then try:
/usr/bin/ls
if this works for you then you might want to alias your ls to /usr/bin/ls.
Good luck.
Kofi