Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17804

What is wrong with my one line script?

$
0
0

SUSE Linux OES 11

I am trying to enumerate NSS rights on a shared folder using the

rights -f $path show

command.

When I issue the following from the console it outputs the result to a file: rights -f './myfolder' show > './MisterAG/myfolder.txt'

When I put the same single line in a file called rightsshow.sh (marked executable) and run it as a script I get: : No such file or directory 1: ./MisterAG/myfolder.txt

What's up?

submitted by MisterAG
[link][7 comments]

Viewing all articles
Browse latest Browse all 17804

Trending Articles