linux-network operation related commands--rcp;finger

Source: Internet
Author: User

rcp
1. Role
RCP represents a remote file copy for file copies between computers, and the use of permissions is for all users.
2. Format
rcp [-px] [-K realm] file1 file2 rcp [-px] [-R] [-K realm] File
3. Main parameters
-R: Recursively copies all the contents of the source directory to the destination directory. To use this option, the destination must be a directory.
- P: Attempts to preserve the modified time and mode of the source file, ignoring umask.
-K: Requests that RCP obtain a Kerberos license for the remote host within the specified zone, rather than obtaining a Kerberos license for a remote host within the remote host zone determined by Krb_relmofhost (3).
-x: Turn on DES encryption for all data transferred.
Finger
1. Role
finger is used to query the login account information on a host computer, usually displays the user name, home directory, stasis time, logon time, login shell and other information, using permissions for all users.
2. Format
finger [options] [users] [user @ host]
3. Main parameters
-S: Displays information such as user registration name, actual name, terminal name, write status, stall time, logon time, and so on.
- L: In addition to the information displayed with the-s option, it also displays information such as the user's home directory, login shell, message status, and the contents of the. Plan,. Project, and. Forward files in the user's home directory.
- P: The same as the-l option except that the. plan file and the. project file are not displayed.
4. Application examples
to use finger on your computer:
[email protected] root]# Finger
login Name Tty Idle Login Time Office Office Phone
root root tty1 2 Dec
root root pts/0 1 Dec
root root *pts/1 Dec
5. Application Notes
if you want to query the user information on the remote computer, you need to follow the user name "@ hostname", the [username @ hostname] format, but to query the network host needs to run the finger daemon support.

This article is from the "--" blog, please be sure to keep this source http://57388.blog.51cto.com/47388/1544777

linux-network operation related commands--rcp;finger

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.