- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: what is wrong with remsh? am I nuts? Please ...
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
11-22-2002 12:38 PM
11-22-2002 12:38 PM
remsh infpap1 /bin/sh <<-EOT
/usr/sbin/fstyp /dev/vg00/lvol8
EOT
I get this, which is as expected:
vxfs
Similarly (same thing with variable assignment), this works:
remsh infpap1 /bin/sh <<-EOT
filetype=`/usr/sbin/fstyp /dev/vg00/lvol8`
echo \$filetype
EOT
Then I get the same output:
vxfs
And if I do it again with a different volume:
remsh infpap1 /bin/sh <<-EOT
/usr/sbin/fstyp /dev/vg00/xvol1
EOT
I still get the expected output:
vxfs
BUT (and it's driving me insane), if I do it using the variable assignment for that other filesystem, it BREAKS!!! Why?!
remsh infpap1 /bin/sh <<-EOT
filetype=`/usr/sbin/fstyp /dev/vg00/xvol1`
echo \$filetype
EOT
...produces the following broken output:
/dev/vg00/xvol1: No such file or directory
I'm going to go suck my thumb for a while - if anyone can point out my error, I'll be ever so grateful...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 12:46 PM
11-22-2002 12:46 PM
Re: what is wrong with remsh? am I nuts? Please help...
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 03:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 07:08 PM
11-22-2002 07:08 PM
Re: what is wrong with remsh? am I nuts? Please help...
But the quoting done by <<-EOT...
But ...
D'OH!!!
Thanks. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 07:34 PM
11-22-2002 07:34 PM
Re: what is wrong with remsh? am I nuts? Please help...
remsh infpap1 "export filetype=\`/usr/sbin/fstyp /dev/vg00/xvol1\`; echo \$filetype"
??
live free or die
harry