NeutronStar
NeutronStar

Reputation: 2157

What does a file with name ! mean?

My computer (RedHat 6 Linux) has recently created some empty files with the following name:

!

Yes, a single exclamation mark. I am wondering what, in anything, in Linux will create files of this name? Perhaps more likely though it is associated with some recent (failed) batches that I've been trying to run on my local high performance computing system. For reference, I use PBS to submit jobs to the high performance computing system.

I use tcsh

Upvotes: 4

Views: 87

Answers (1)

dbeer
dbeer

Reputation: 7203

To have pbs run your program with a specific shell, you just need to add the command line option -S /bin/tcsh (or a different path if your tcsh isn't in /bin/.

You can also add this line to your script:

#PBS -S /bin/tcsh

Upvotes: 1

Related Questions