I'm not a tcsh expert but I don't think so.
It doesn't matter what OS you are using , tcsh is just another shell regardless the OS.
Implementation of tcsh may differ slightly between OSes and platforms, But it doesn't affect the core functionality
Also keep in mind that tsch is an enhanced version of C shell.
This User Gave Thanks to h@foorsa.biz For This Post:
tcsh is tcsh. It is the same on Linux as on HP-UX. If you have a significant investment in scripts written for tcsh, then simply continue to use tcsh on Linux.
If you are going to move shells, move to a modern shell such as ksh93 rather than the extremely limited bash shell.
But on linux, we are told tcsh doesnt work properly.
tcsh isn't installed on linux by default. It's optional.
Beyond that, it's not "weak", except in the ways tcsh has always been "weak" -- buggy, unfixably flawed(Bill Joy later confessed he "wasn't very good at programming" when he designed the csh), and a poor programming language in general.
Quote:
Is this true ...if so should moving to BASH a better option ...
Bourne shell in general would be a better option. You don't have to program for BASH, it's possible to make bourne scripts that'll work in many places.
---------- Post updated at 10:05 AM ---------- Previous update was at 10:02 AM ----------
Quote:
Originally Posted by shipra_31
Just FYI, I am concerned more about the interactive commands not scripts ...
What interactive things are you worried about, exactly?
BASH has easy command-editing(left-right arrows and delete do what you expect), a decent command history accessible with up/down/pgup/pgdn keys, tab completion, aliases...
BASH aliases work a little differently than tcsh ones. You can't have parameters in the middle of them. BASH functions are a better replacement if you need that complex kind of arrangement:
By interactive i meant ... history command,aliases (as u mentioned) ... i have faced this issue in tcsh (not sure if its issue with tcsh or some setting which we have) ... i am not able to redirect error use 2> in tcsh ...
My first question was answered " is tcsh different in Linux " and as i understand from the answere given ...tcsh is shell and same everywhere ....
Second part is in HP we are using tcsh ... so if we all are used to using tcsh..is it worth moving to bash ... which i understand is a better shell ...
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Hi,
I got instructions from Security audit team for Solaris-10 server. They mentioned - "The sshd configuration on the host supported weak host keys and allowed password authentication on Solaris server. Enable stronger keys (2048 or 4096 bit)".
I am not clear enough, what they mean by weak... (7 Replies)
Dear all,
I have piece of command from tcsh, which I would like to be in my .bashrc file.
However, I am comletely blank about the tcsh commandline.
if (-e ~/forum/dir/code.sh) then
source ~/forum/dir/code.sh
endif
Any piece of suggestions how to convert it to sh way?
Thank you
emily (5 Replies)
Does anyone no way my .tcsh_history file is filling up with a bunch of crap?? It is filled with lines like:
! ls eccracrascratcd ! ls mecd /hchoo "cratch2/mecd /sch2/mecd /sh2/mecd /scratchcd /scratch2/mecd /scratcraecd /ls mo "ls" >
! ls eccratch2/mecd /sc/ls"d /scratch2/mecd histecho "ls" o... (2 Replies)
Hi All
*
Need some help on testing if a server supports weak ciphers .
Here is the command I ran :
openssl s_client -connect HOSTNAME:443 -cipher LOW:EXP
result :
Connected : err num=110
openssl s_client -connect HOSTNAME:8000 -cipher LOW:EXP
result :
Connected : err... (1 Reply)
Hi All
*
Need some help on testing if a server supports weak ciphers .
Here is the command I ran :
openssl s_client -connect HOSTNAME:443 -cipher LOW:EXP
result :
Connected : err num=110
openssl s_client -connect HOSTNAME:8000 -cipher LOW:EXP
result :
Connected : err... (0 Replies)
HI,
I am having strange issues with my tcsh shell.
First, the "ln" command doesnt seem to work properly.
I have a file "target" that is pointing to "file1". I cannot access file1 but that shouldnt matter.
when I do this, ln -sf file2 target
I get permission denied that I cannot access the... (1 Reply)
i have wireless usb adapter rtl8187 from micromax company
my proplem is the signal is very weak and i cannot open website
can i increase the signal ?
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0... (5 Replies)
am working in tcsh
while writing a script, what is diff between foll two starting line
#!/bin/csh
#!/bin/csh -f
Also can I use the same line for script in tcsh or I have to necessarily use
#!/bin/tcsh
I guess even #!/bin/sh will also do. Kindly clarify (3 Replies)
I'm working on OpenOffice Localization; In that I need to work most of in 'tcsh'
Since I have almost work till now in 'bash', I want to explore 'tcsh' much more ..
An body suggest me a way ? books ?
Thanks,
:) (1 Reply)