← 返回命令列表

Linux command

irssi 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start irssi

irssi

Connect to a server

irssi -c [irc.libera.chat]

Connect with a specific nickname

irssi -c [irc.libera.chat] -n [nickname]

Connect to a server with SSL

irssi -c [irc.libera.chat] -p [6697] --ssl

Use a specific configuration file

irssi --config=[path/to/config]

Run a command on startup

irssi -c [server] -e "/join #[channel]"

说明

irssi is a terminal-based IRC client known for its scriptability, themability, and efficiency. It runs entirely in the terminal, supporting multiple simultaneous connections, windows, and channels. The interface uses a multi-window system: pressing Alt+number (or Ctrl+N/P) switches between windows. Each channel, query, and server status gets its own window. The status bar shows window activity with color-coded highlights. Configuration is stored in ~/.irssi/config and modified via /set commands or direct file editing. Settings include nick, alternate nicks, quit messages, highlighting rules, and server configurations. Networks and servers can be predefined for easy connection. Irssi's Perl scripting interface enables extensive customization. Scripts can add commands, modify behavior, integrate with external services, or implement bots. A large library of community scripts exists for common needs. For persistent connections, irssi is commonly run in a terminal multiplexer (screen, tmux) on a server, allowing disconnection without losing chat sessions.

参数

-c, --connect _server_
Connect to server on startup.
-p, --port _port_
Server port number.
-n, --nick _nick_
Nickname to use.
-w, --password _password_
Server password.
--ssl
Use SSL/TLS connection.
--ssl-verify
Verify SSL certificate.
--config _file_
Use alternate configuration file.
--home _dir_
Use alternate irssi home directory.
-e, --exec _command_
Execute irssi command on startup.
--noconnect
Don't connect to any servers on startup.

FAQ

What is the irssi command used for?

irssi is a terminal-based IRC client known for its scriptability, themability, and efficiency. It runs entirely in the terminal, supporting multiple simultaneous connections, windows, and channels. The interface uses a multi-window system: pressing Alt+number (or Ctrl+N/P) switches between windows. Each channel, query, and server status gets its own window. The status bar shows window activity with color-coded highlights. Configuration is stored in ~/.irssi/config and modified via /set commands or direct file editing. Settings include nick, alternate nicks, quit messages, highlighting rules, and server configurations. Networks and servers can be predefined for easy connection. Irssi's Perl scripting interface enables extensive customization. Scripts can add commands, modify behavior, integrate with external services, or implement bots. A large library of community scripts exists for common needs. For persistent connections, irssi is commonly run in a terminal multiplexer (screen, tmux) on a server, allowing disconnection without losing chat sessions.

How do I run a basic irssi example?

Run `irssi` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c, --connect _server_ do in irssi?

Connect to server on startup.