Subsections


6.1 How to use unique commands

The MDAS provides the following unique commands.
Table 6.1: List of unique commands
Name Outline
lpall Print files on a printer
userinfo Display user information
hline modify_userinfo Change user information
nfsdf Display an usage list of the "/lfs[01-16]".


6.1.1 lpall

Using lpall command, you can print PS/PDF/TEXT files on single or both side of a paper simply.
Usage
    $ lpall -d [printer_name] {-L,-K} [file_name]
Option
    -d: specify printer
    -L: double sided printing, binding long edge
    -K: double sided printing, binding short edge
Example
    $ lpall -d nwp-m1 test.ps
        # single sided printing of test.ps on nwp-m1
    $ lpall -d nwp-m1 -L test.pdf
        # double-sided printing (binding long edge) of test.pdf on nwp-m1


6.1.2 userinfo

Using userinfo command, you can see your login shell, E-mail address, or name (GECOS). In order to userinfo command, you have to enter your password.
Usage
    $ userinfo 
Example
    $ userinfo
    Enter LDAP Password:
    loginshell: /bin/bash
    mail: your_account@nao.ac.jp
    gecos: Your Name


6.1.3 modify_userinfo

Using modify_userinfo command, you can change your login shell, E-mail address, or name (GECOS).
Usage
    $ modify_userinfo [-hpmsv] [arguments] 
Option
    -h Display help message and exit
    -p Change password
    -m Change E-mail address
    -s Change login shell. The following shells are available;
      /bin/bash (/usr/local/bin/bash) 
      /bin/tcsh (/usr/local/bin/tcsh)
      /bin/csh
      /bin/ksh
      /bin/sh
      /bin/zsh (/usr/local/bin/zsh)
    -v Display version information and exit


6.1.4 nfsdf

Using nfsdf command, you can show an usage list of the "/lfs[01-16]".
Usage
    $ nfsdf

ADC
2019-07-19