- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to tar a file with @ suffix out
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
09-12-2004 05:40 PM
09-12-2004 05:40 PM
How to tar a file with @ suffix out
I want to tar a file which with a @ suffix (for example: oracle.1@2 )to host, what option should I used ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 05:50 PM
09-12-2004 05:50 PM
Re: How to tar a file with @ suffix out
on linux it works on hpux a can't check it now, but try:
tar cvf output.tar 1\@2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 05:52 PM
09-12-2004 05:52 PM
Re: How to tar a file with @ suffix out
regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 06:35 PM
09-12-2004 06:35 PM
Re: How to tar a file with @ suffix out
touch tartestfile.1@2
tar -cvf test.tar tartestfile.1@2
tar -xvf /tmp/test.tar
- Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 06:45 PM
09-12-2004 06:45 PM
Re: How to tar a file with @ suffix out
host1: setup rhosts file to allow host2
host2: setup rhosts file to allow host1
test example:
host1:
/tmp/testfile1.@
/tmp/testfile2.@
cd /tmp/; tar cvf - testfile*.@ | remsh host2 "cd /tmp/testdir/; tar xfv - "
It will do it.
Note: No delimitation with \ for @ symbol there on files over shell
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 12:46 AM
09-13-2004 12:46 AM
Re: How to tar a file with @ suffix out
echo @
If this does nothing, then type the command:
stty -a
and see if kill=@ which is the old (and very obsolete) default setting. You should see a line like this in your .profile:
stty erase "^H" kill "^U" intr "^C" eof "^D"
but if you are running on a workstation using Xwindows and started a terminal window such as xterm or dtterm, you bypassed all the 'normal' HP-UX login profiles and stty will report the old default values. You can manually change the values by pasting the above stty setting line into your command line. But you'll continue to have problems in other areas because normal profiles are not being run.
Xwindows has a very complex set of rules about what happens when the desktop runs (VUE or CDE) and what happens when a terminal emulator runs (dtterm, xterm or hpterm). The default is always to ignore /etc/profile and .profile so logins are non-standard compared to a telnet login.
The easiest way to fix this is to tell all the terminal emualtors to perform a true login. This can be done by creating a .Xdefaults file for each user:
echo '*loginShell: true' >> $HOME/.Xdefaults
Note that spelling and capitalization is important. Now when the you run a terminal window, you will see the actions of /etc/profile and .profile rather then a simple prompt. .Xdefaults can be to customize the appearance and other options for all Xwindow programs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 12:54 AM
09-13-2004 12:54 AM
Re: How to tar a file with @ suffix out
you can try the following :
tar cfv
This should work
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 01:39 AM
09-13-2004 01:39 AM
Re: How to tar a file with @ suffix out
Your are always great on every forum reply.
As a beginner, I feel great and glad to have your knowledge and experience.
Keep up your great sharing to ALL.
- Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 04:34 AM
09-13-2004 04:34 AM