rcs -u motd breaking a lock

244 Views Asked by At

I am trying to use the rcs command to break a lock on a file but whenever I input on ubuntu:

rcs -u motd

it says:

rcs: RCS/motd,v: no such file or directory.

The file is there because I can use the cat command and edit it using vi.

1

There are 1 best solutions below

0
rpilkey On

Try rlog motd, which should give you information from the file RCS/motd,v . If that also gives you "no such file or directory", then it's the file motd,v in the subdirectory RCS, which doesn't exist or you can't access.