- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shell prompt ">"
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
08-07-2003 08:52 AM
08-07-2003 08:52 AM
2. How do I create a subdirectory called "kita" under /tmp and set the directory so that any file created in that directory will be automatically be owned by the "dba" group regardless of who creates the file (even accounts not in the dba group).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 08:54 AM
08-07-2003 08:54 AM
SolutionCtrl-Break to get out.
Try this:
echo "steve
You get the secondary shell, waiting for input.
Type "
You see my name.
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
08-07-2003 08:55 AM
08-07-2003 08:55 AM
Re: shell prompt ">"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:16 AM
08-07-2003 09:16 AM
Re: shell prompt ">"
Set the 'sgid' bit on the directory to cause files created under it to automatically inherit the directory's group. For instanace:
# mkdir /tmp/kita
# chmod 2775 /tmp/kita
# chown root:dba /tmp/kita
# touch /tmp/kita/thing
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:30 AM
08-07-2003 09:30 AM
Re: shell prompt ">"
I usually cntl-c out of it .
If you need to use the quote character, in certain cases, you need to proceed it with a \ character.
Best regards,
kent m. ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:51 AM
08-07-2003 09:51 AM
Re: shell prompt ">"
I modify my .profile and set a specific prompt for PS2 and PS3, so I know when I made a mistake.
try adding this to your .kshrc or .profile
PS2="waiting_for_more_input>"
PS3="you_really_messed_up_this_time>"
Hope this helps!