LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2009, 01:41 AM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
how do i install cshell on linux


how do i install cshell (csh) on damn small linux (debian based)?
 
Old 10-20-2009, 01:52 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
don't unless you have to, smeeze. ;-)

http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
http://en.wikipedia.org/wiki/Considered_harmful

If you have to:

Quote:
DSL has built-in scripts to download and install Advanced Packaging Tool (APT). Once APT is enabled, the user can install packages from Debian's repositories.
Code:
sudo aptitude install csh
 
Old 10-20-2009, 01:55 AM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
the response time is great
 
Old 10-20-2009, 01:57 AM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Thanks Smeeze, I enjoy posting with you. :-)

washington u.s. = d.c. or the state directly above me?
 
Old 10-20-2009, 02:00 AM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by jhwilliams View Post
don't unless you have to, smeeze. ;-)

http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
http://en.wikipedia.org/wiki/Considered_harmful

If you have to:



Code:
sudo aptitude install csh
Code:
Reading Package Lists... Done
Building Dependency Tree... Done
csh is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt end.
bash-2.05b#
 
Old 10-20-2009, 02:05 AM   #6
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Code:
[ -f /bin/csh ] || [ -f /usr/bin/csh ] && echo 'csh executable exists!' || 'not available.'
Code:
which csh
Code:
echo $PATH
?

Seriously though, You don't want to use C shell. You want to learn UNIX shell, and maybe (probably) Bash.

Don't use C Shell.

Anyone who tells you otherwise is a false prophet -- like Jesus or some shit (as you might hear from a practitioner of the conservative Islamic doctrine.)

Last edited by jhwilliams; 10-20-2009 at 02:10 AM.
 
Old 10-20-2009, 02:11 AM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Thanks Smeeze, I enjoy posting with you. :-)

washington u.s. = d.c. or the state directly above me?
as in real Washington - no white house.
Quote:

Seriously though, You don't want to use C shell. You want to learn UNIX shell, and maybe (probably) Bash.
you cannot tell me what i dont want to do, my computer LOL.
Code:
bash-2.05b# which csh
/bin/csh
bash-2.05b# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/home/dsl
bash-2.05b#
 
Old 10-20-2009, 02:22 AM   #8
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Smeeze, Pal, down here in Portland Linus and I have been busy avoiding the Microsoft Corporations headquarters and not using Csh.

It looks like csh is installed and is in your path? Can't you just
Code:
csh
? Also, checkout chsh(1). What happens if you just invoke /bin/csh as such on the command line?

Just looking out for you man. I had a brief stint with Csh. Whatever gets your rocks off really -- just don't want to see anyone get hurt.
 
Old 10-20-2009, 02:24 AM   #9
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
[code]
bash-2.05b#
bash-2.05b# csh
bash-2.05b#
[/coe]
 
Old 10-20-2009, 02:28 AM   #10
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Code:
set +x
exec /bin/csh
?
 
Old 10-20-2009, 02:31 AM   #11
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
bash-2.05b# set +x
bash-2.05b# exec /bin/csh
bash: /bin/csh: Success
bash-2.05b#
 
Old 10-20-2009, 02:40 AM   #12
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Sorry Smeeze, don't know. Bash-2.05 is wicked old, though. Debian Lenny uses bash 3.2.39 and Ubuntu Karmic is at 4.0.33. I doubt that's really the issue -- DSL probably has some non-vanilla Bash. Regardless, this looks to me as DSL-specific; ordinary shells today don't respond that way (assuming that /bin/csh is a sane binary.) Hopefully a DSL fanboi will post with the solution!

Last edited by jhwilliams; 10-20-2009 at 02:42 AM.
 
Old 10-20-2009, 02:43 AM   #13
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
thanks for trying
i even uninstalled and reinstalled csh and still no luck (maybe .deb is broken?)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory context within cshell rhaynesak Programming 1 08-20-2008 01:42 PM
obfuscator for cshell. DoME69 Programming 1 07-02-2008 08:23 AM
Where is good old cshell? Ken882 Linux - Newbie 4 04-13-2007 09:54 AM
[cshell] awk help! saiz66 Programming 3 09-28-2004 07:55 PM
Cshell querying two files... HiOctane21 Programming 1 05-01-2004 08:19 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration