Hi,
I'm unable to run show commands like accel-cmd show sessions, accel-cmd pppoe interface show from a bash script. Gives command not found error
command : `accel-cmd -P $PASSWORD show sessions`
`accel-cmd -P $PASSWORD pppoe interface show`
line 56: interface:: command not found
how to run this command in bash script
TY
cannot run accel-cmd show sessions from bash script
Re: cannot run accel-cmd show sessions from bash script
Hi, I test the simple script ant it just works
Code: Select all
#!/bin/bash
PASSWORD="secret123"
accel-cmd -P${PASSWORD} show sessions
Re: cannot run accel-cmd show sessions from bash script
ty,
removed the back ticks and it started working
thanks again
removed the back ticks and it started working
thanks again