ftpwho command is used to display information about each current FTP session. It shows the user ID, remote IP address, login time, and other information about the current FTP sessions.
ftpwho command is used to display information about each current FTP session. It can be used to monitor FTP activity on a server and to identify any potential issues. The output of the command shows the following information for each current FTP session:
- User ID
- Remote IP address
- Login time
- Idle time
- Transfer rate
- File name
ftpwho command can be used in combination with other commands to perform various tasks. For example, you can use the
kill command to terminate a specific FTP session.
To display information about each current FTP session, simply run the command without any options:
To display information about a specific FTP session, use the
-u option followed by the user ID:
ftpwho -u username
To display information about all FTP sessions except for the ones with a specific user ID, use the
-U option followed by the user ID:
ftpwho -U username
The following options are available for the
||Display information about a specific user ID|
||Display information about all users except for the specified user ID|
||Display help information|
||Display version information|
If you are not seeing any output from the
ftpwho command, it is possible that there are no current FTP sessions. You can try connecting to the server via FTP to create a session and then run the
ftpwho command again.
If you are having trouble terminating a specific FTP session using the
kill command, make sure that you are using the correct process ID (PID) for the FTP session. You can use the
ftpwho command to find the PID for the session you want to terminate.
ftpwhocommand is only available on Linux and Unix systems.
- The output of the
ftpwhocommand can be customized using the
~/.ftpwhofile. This file allows you to specify the columns that are displayed in the output, as well as the order in which they appear.