The C Shell ( csh / tcsh )

Tutorials, tips, tricks, and shell scripting techniques about Berkeley UNIX C shell and tcsh – an enhanced version of original csh.

I‘ve recently started to use FreeBSD operating system with tcsh (c shell clone) shell. I noticed that both set and setenv command set shell user environment. What’s the difference between the SET and SETENV commands?

{ 2 comments }

How do I set environment variables using c shell (tcsh or csh) under FreeBSD UNIX or Linux operating systems? How do I save variable using csh shell under Unix like operating systems?

{ 0 comments }

Can you provide me a while loop control flow statement shell script syntax and example that allows code to be executed repeatedly based on a given boolean condition?

{ 17 comments }

How do I recursively search all text files for a string such as foo under UNIX / Linux / *BSD / Mac OS X shell prompt?

{ 13 comments }

What is C shell under UNIX / Linux operating systems?

{ 0 comments }