Welcome Guest | Login

Running wc in ssh

I was trying to run wc to count the number of files in a directory, but I get a permission denied error:

[username]@spurgeon [~/schedule]# ls -1 | wc -l
-jailshell: /usr/bin/wc: Permission denied

I understand that you have to lock down our privileges since it's a shared server, but is there any way wc could be allowed? It's not a dangerous program.

Thanks,
Brett

2007-03-29 12:42 AM

Hi there,

We have granted appropriate privilege for using the 'wc' command for users. You should be able to use the command now. Could you please try it. Thank you.

2007-03-29 12:55 AM

It works, thanks for the quick response!

2007-03-29 12:57 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!