Operating System - HP-UX
1834200 Members
2598 Online
110066 Solutions
New Discussion

unable to use export in cshell

 
SOLVED
Go to solution
Singaravel_1
Occasional Contributor

unable to use export in cshell

Hi All,
I login as a c shell user, when i type export in the $ prompt, i get the error export: Command not found.
I tried to set TERM=hp and export the same in c shell, i get this error message. Please help out to set the TERM.

Thanks in Advance.
Singaravel.
5 REPLIES 5
Devender Khatana
Honored Contributor
Solution

Re: unable to use export in cshell

Hi,

Export is not supported in csh. Try exporting same with setenv command.

HTH,
Devender
Impossible itself mentions "I m possible"
melvyn burnard
Honored Contributor

Re: unable to use export in cshell

csh does not use export.
If I recall, you need to do:
set TERM=hp

to see what is set (equivalent to seeing what is exported) do
set

man csh
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Amit Agarwal_1
Trusted Contributor

Re: unable to use export in cshell

export is supported in ksh and sh.

csh supports setenv.

$ setenv TERM hp

-Amit
Singaravel_1
Occasional Contributor

Re: unable to use export in cshell

Thanks a Lot again to responders.
Singaravel_1
Occasional Contributor

Re: unable to use export in cshell

Thanks to all, it worked.