- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What does the hat symbol signify in a script
Operating System - HP-UX
1823920
Members
3198
Online
109667
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-05-2006 03:38 AM
тАО04-05-2006 03:38 AM
What does the hat symbol signify in a script
What does the hat "^" symbol signify in a script.
Thanks,
Hunki
Thanks,
Hunki
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 03:40 AM
тАО04-05-2006 03:40 AM
Re: What does the hat symbol signify in a script
In olden times it was used the same as the pipe symbol (|). But it's been deprecated.
Example-
ls -l ^ more
HTH
-- Rod Hills
Example-
ls -l ^ more
HTH
-- Rod Hills
There be dragons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 03:47 AM
тАО04-05-2006 03:47 AM
Re: What does the hat symbol signify in a script
It depends on its usage.
If it is part of a awk, sed or grep statement (ie. a regular expression) then it is likely used to signify the beginning of a line.
For example, if you were to do:
grep "^user1:" /etc/passwd
It would look for user1: at the beginning of the line and not anywhere else in the line.
If it is part of a awk, sed or grep statement (ie. a regular expression) then it is likely used to signify the beginning of a line.
For example, if you were to do:
grep "^user1:" /etc/passwd
It would look for user1: at the beginning of the line and not anywhere else in the line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 03:50 AM
тАО04-05-2006 03:50 AM
Re: What does the hat symbol signify in a script
Thanks Pat!!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP