- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xhost +
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
05-17-2007 02:18 AM
05-17-2007 02:18 AM
Xsession file, from user Xsession files, and from any application programs or
shell scripts that use the X window system. How can I achieve this? Looking for exact command/syntax.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 02:30 AM
05-17-2007 02:30 AM
Re: xhost +
do
grep "xhost +" $i && echo $i
done
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 02:48 AM
05-17-2007 02:48 AM
Re: xhost +
exact requirements. For example, how many
spaces between "xhost" and "+"? Exactly
which files do you wish to search?
> [...] any application programs [...]
Good luck. I'm sure that I could write one
which you'd never find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 03:04 AM
05-17-2007 03:04 AM
Re: xhost +
$ find / -name 'Xsession' -o -name '*.sh' -print | xargs grep -l -E 'xhost\ +\+'
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 08:33 AM
05-17-2007 08:33 AM
Re: xhost +
# find / -name 'Xsession' -o -name '*.sh' -print | xargs grep -l -E 'xhost\ +\+'
grep: can't open /opt/VRTS/bin/vxsvcctrl.sh
/opt/VRTS/bin/vxsvcctrl.sh is a link to a file which doesn't exist. Is there anyway I can ignore the check on this file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 08:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 08:46 AM
05-17-2007 08:46 AM
Re: xhost +
# find / -name 'Xsession' -o -name '*.sh' -type f | xargs egrep -l 'xhost +\+'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 09:04 AM
05-17-2007 09:04 AM