Network Shell Perl module functions


The Network Shell Perl module (NSH.pm) provides the following functions. For more information about these functions, see the NSH-Perl man page.

Function

Input parameters

NSH::access

(filename, mode)

NSH::agent_rel

(hostname)

NSH::chdir

(dirname)

NSH::chmod

(filename, mode)

NSH::chown

(filename, uid, gid)

NSH::closedir

(fd)

NSH::close

(fd)

NSH::creat

(filename, mode)

NSH::disconnect

(host)

NSH::dup2

(fd1, fd2)

NSH::dup

(fd)

NSH::fchdir

(fd)

NSH::fchown

(fd, uid, gid)

NSH::fgets

(buffer, nbytes, fd)

NSH::flock

(fd, op)

NSH::fstat

(fd)

NSH::ftruncate

(fd, pos)

NSH::getcwd

()

NSH::getpriority

(which, who)

NSH::kill

(pid, sig)

NSH::link

(existing, newname)

NSH::lseek

(fd, offset, whence)

NSH::lstat

(name)

NSH::mkdir

(filename, mode)

NSH::mkfifo

(filename, mode)

NSH::mknod

(filename, mode, maj, min)

NSH::opendir

(dirname)

NSH::open

(filename, flags = O_RDONLY, mode = 0666)

NSH::pclose

(fd)

NSH::pipe

()

NSH::popen

(cmd, mode)

NSH::readdir

(fd)

NSH::read

(fd, buffer, nbytes)

NSH::readlink

(filename)

NSH::rename

(oldname, newname)

NSH::rewinddir

(fd)

NSH::rmdir

(filename)

NSH::seekdir

(fd, pos)

NSH::setpriority

(who, what, prio)

NSH::stat

(name)

NSH::symlink

(name, newname)

NSH::system

(cmd)

NSH::telldir

(fd)

NSH::truncate

(filename, pos)

NSH::uname

(hostname)

NSH::unlink

(filename)

NSH::utime

(filename, mtime, atime)

NSH::write

(fd, buffer, nbytes)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*