9.9 Finding the Connection for an Open File

Sometimes you know the filename of the file you want to close, and you need to find the connection associated with the file.

  1. Open a terminal console, then log in as the root user.

  2. At the console prompt, enter the following command to get a list of NCP connections for a given file:

    ncpcon files list f=filename
    

    Replace filename with the Linux path for the file, including the filename, such as /usr/novell/sys/text.txt. For example:

    ncpcon files list f=/usr/novell/sys/test.txt