ACCEL-CMD(1)
π ACCEL-CMD(1) π
accel-cmd is the manual name, and it's the page for the General Commands Manual π It's giving official, but I'm making it cute.
β¨ NAME β¨
accel-cmd β send commands to accel-ppp π¨
π SYNOPSIS π
accel-cmd [-n] [-4] [-6] [-f FAMILY] [-H HOST] [-p PORT] [-i TIMEOUT]
[--] [COMMAND]
π¦ DESCRIPTION π¦
okay so accel-cmd is a client for accel-ppp's cli module π§ It sends your COMMANDs over accel-ppp's tcp interface and shows you the result on standard output. Literally that simple. If you don't give it a COMMAND, it reads and sends whatever comes in on standard input instead, so you can feed it a whole list π
The help COMMAND is your bestie for figuring out which COMMANDs exist and how to write them. Use it whenever you're lost π«Ά
πΈ OPTIONS πΈ
-f FAMILY,--family=FAMILYβ picks the protocol family to connect with. You can chooseinet(IPv4),inet6(IPv6), orunspec(automatic) π-4β shortcut for--family=inetπ-6β shortcut for--family=inet6π-H HOST,--host=HOSTβ the host name or IP address you want to connect to. It defaults tolocalhostπ-p PORT,--port=PORTβ the service name or port number to connect on. It defaults to2001β¨-n,--numericβ turns off name resolution for HOST and PORT. Since that's the case, HOST has to be an IP address and PORT has to be a numeric port number π’-t TIMEOUT,--timeout=TIMEOUTβ sets an inactivity timeout. TIMEOUT must be an integer and can be followed right away by a time unit:s(seconds),ms(milliseconds), orus(microseconds). The default unit iss. If you skip this option, or TIMEOUT is zero, then no timeout gets set β°-P PASSWORD,--password=PASSWORDβ sets the password π. If you supply it and PASSWORD isn't empty, that password gets used for client authentication π-v,--verboseβ verbose output, so you get all the tea π«-V,--versionβ shows the version number and then exits π¦-h,--helpβ shows the help message and then exits π
π EXAMPLES π
Get information about available commands:
$ accel-cmd help
Send the "show sessions" command to accel-ppp on localhost and display the result on standard output:
$ accel-cmd show sessions
Execute commands stored in file "cmds":
$ accel-cmd < cmds
Same as above, but send commands to another host and timeout after 1.5 seconds of inactivity:
$ accel-cmd --timeout 1500ms --host accelppp.example.com < cmds
π¦ EXIT STATUS π¦
0β success π₯³1β invalid command line option π2β invalid parameter given to a command line option π«3β connection to accel-ppp failed π4β timeout expired β°5β COMMAND too big. Standard input can be used instead if you need to send big amounts of data π¦100(or above) β internal error π
β οΈ bestie, if you're sending a huge amount of data, don't cram it into COMMAND. Pipe it in through standard input withaccel-cmd < fileinstead, or you'll get exit status5.
Written with love and a lot of π for ACCEL-CMD(1), last updated January 2013 π Stay iconic, stay hydrated, and keep those sessions shown πβ¨
π¦ where this page comes from
- alpine 3.24: accel-ppp-doc 1.14.0-r0 Β· GPL-2.0-or-later
- epel 10: accel-ppp 1.14.0-2.el10_2 Β· GPL-2.0-Only OR GPL-2.0-Or-Later OR MIT
- epel 9: accel-ppp 1.14.0-1.el9 Β· GPL-2.0-Only OR GPL-2.0-Or-Later OR MIT
- fedora 43: accel-ppp 1.13.0-10.fc43 Β· GPL-2.0-Only OR GPL-2.0-Or-Later OR MIT
- fedora 43: accel-ppp 1.14.0-1.fc43 Β· GPL-2.0-Only OR GPL-2.0-Or-Later OR MIT
- fedora 44: accel-ppp 1.14.0-1.fc44 Β· GPL-2.0-Only OR GPL-2.0-Or-Later OR MIT
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms