Unix C Shell ( csh / tcsh ) Tutorials

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

Can you give me a simple loop example in csh shell in Linux or Unix like operating systems?

{ 1 comment }

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?

{ 22 comments }

How do I add a new path to $PATH variable under Linux and UNIX like operating system? What is my path, and how do I set or modify it using csh/tcsh or bash/ksh/sh shell?

{ 15 comments }