We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
CLI for beginners: v-search-command
CLI for beginners: v-search-command
Hi,
I have made something for me long ago that I think it may be useful to other people and I wanted to share.
Most of the people use vesta's web interface, but there is a time you have to start dealing with the CLI.
Even though the commands are very self-explanatory and very well structured, sometimes I have to deal with my memory.
So I made a command that will show me all the commands containing the words after it.
For example:
will get me this list:
or if I do
it will bring:
Code is here if you want to check first.
https://raw.githubusercontent.com/FastD ... ch-command
I am not an expert in bash, so if there is something I may correct, please tell me !!
I hope this helps someone out there as it did with me !!
I have made something for me long ago that I think it may be useful to other people and I wanted to share.
Most of the people use vesta's web interface, but there is a time you have to start dealing with the CLI.
Even though the commands are very self-explanatory and very well structured, sometimes I have to deal with my memory.
So I made a command that will show me all the commands containing the words after it.
For example:
Code: Select all
v-search-command dkim
Code: Select all
v-add-mail-domain-dkim
v-delete-mail-domain-dkim
v-list-mail-domain-dkim
v-list-mail-domain-dkim-dns
Code: Select all
v-search-command dkim list
Code: Select all
v-list-mail-domain-dkim
v-list-mail-domain-dkim-dns
Code: Select all
wget https://raw.githubusercontent.com/FastDigitalOceanDroplets/VestaCP/master/files/v-search-command -O $VESTA/bin/v-search-command
chmod +x $VESTA/bin/v-search-command
https://raw.githubusercontent.com/FastD ... ch-command
I am not an expert in bash, so if there is something I may correct, please tell me !!
I hope this helps someone out there as it did with me !!
Last edited by fedekrum on Tue Oct 01, 2019 8:37 pm, edited 1 time in total.
Re: CLI for beginners: v-search-command
Thanks for to share.
Re: CLI for beginners: v-search-command
Ooooo !!! this was fast !!
The command now is part of Hestia !!
https://github.com/hestiacp/hestiacp/bl ... ch-command