- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: please tell me why I getting Variable syntax w...
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
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
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
10-17-2011 09:53 AM
10-17-2011 09:53 AM
please tell me why I getting Variable syntax while using .csh
login as: testuser
Using keyboard-interactive authentication.
Password:
Last login: Tue Oct 18 00:42:48 2011 from 43.68.26.11
Variable syntax
hpux_test_server% ls -la
total 8
drwxr-xr-x 2 testuser max 1024 Oct 17 23:35 .
drwxr-xr-x 3 root root 512 Oct 17 22:47 ..
-rw-r--r-- 1 testuser max 32 Oct 18 00:44 .cshrc
if use other shell , sh or bash...
# su - testuser
-bash-3.00$ ls -la
total 8
drwxr-xr-x 2 testuser max 1024 Oct 17 23:35 .
drwxr-xr-x 3 root root 512 Oct 17 22:47 ..
-rw------- 1 testuser max124 Oct 18 00:44 .bash_history
-rw-r--r-- 1 testuser max 32 Oct 18 00:44 .cshrc
-bash-3.00$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 10:05 AM
10-17-2011 10:05 AM
Re: please tell me why I getting Variable syntax while using .csh
Probably one of the login profile entries that gets invoked when logging in with csh (why in heaven's name would you use csh???). Take a look at .cshrc to start with.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 10:07 AM
10-17-2011 10:07 AM
Re: please tell me why I getting Variable syntax while using .csh
Hi:
It would appear that the syntax of your login files --- '.cshrc' and '.login' in your HOME directory. Look at '/etc/csh.login' too.
The C-shell is considered to be hopelessly broken. Shells like 'tcsh' are said to correct many of the the deficiencies. If you want to understand why the C-shell is an abomination, read this classic:
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
Regards!
...JRF...
- Tags:
- scummy C shell