- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Read text file
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
Discussions
Discussions
Forums
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
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
тАО04-13-2009 11:02 PM
тАО04-13-2009 11:02 PM
Read text file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 11:04 PM
тАО04-13-2009 11:04 PM
Re: Read text file
If you aren't FTP'ing the file, probably there is a file permission issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 11:08 PM
тАО04-13-2009 11:08 PM
Re: Read text file
What does this mean? Do you get some error
message, or what?
What, exactly, did you do?
What, exactly, happened when you did it?
> [...] A server [...]
> [...] my server [...]
What are these servers? "uname -a"?
Where is the file? "ls -l"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 11:41 PM
тАО04-13-2009 11:41 PM
Re: Read text file
This is not permission problem , when read it , it pops below , can advise what is wrong ? thx
├п┬г┬╕?^@?^@x^@m^@l^@ ^@v^@e^@r^@s^@i^@o^@n^@=^@"^@1^@.^@0^@"^@ ^@e^@n^@c^@o^@d^@i^$
^@<^@D^@o^@c^@u^@m^@e^@n^@t^@E^@l^@e^@m^@e^@n^@t^@>^@
^@ ^@ ^@<^@R^@e^@g^@D^@a^@t^@a^@>^@
^@ ^@ ^@ ^@ ^@<^@W^@a^@r^@r^@a^@n^@t^@y^@C^@a^@r^@d^@>^@0^@<^@/^@W^@a^@r^@r^@a^$
^@ ^@ ^@ ^@ ^@<^@B^@r^@a^@n^@d^@>^@K^@E^@F^@<^@/^@B^@r^@a^@n^@d^@>^@
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 11:57 PM
тАО04-13-2009 11:57 PM
Re: Read text file
No.
Do you ever _answer_ questions, or do you
only ask more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 11:57 PM
тАО04-13-2009 11:57 PM
Re: Read text file
file
On system where working/non-working (both):
which vi
alias vi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 12:24 AM
тАО04-14-2009 12:24 AM
Re: Read text file
test.txt: Little-endian UTF-16 Unicode character data
#which vi
/bin/vi
# alias vi
bash: alias: vi: not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 02:19 AM
тАО04-14-2009 02:19 AM
Re: Read text file
>test.txt: Little-endian UTF-16 Unicode character data
This is NOT a HP-UX text file. Nor is it HP-UX because file(1) isn't smart enough to know anything about UTF-16.
Is one server Linux? If so, this isn't valid for HP-UX and you would have to translate it to UTF-8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 02:24 AM
тАО04-14-2009 02:24 AM
Re: Read text file
Did you tried like this
cat test.txt >test1.txt
then vi test1.txt
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 02:31 AM
тАО04-14-2009 02:31 AM
Re: Read text file
I'm not sure how this will be better, especially if "diff test.txt test1.txt" says the file are the same.