What does CTL in rabbitmqctl stand for? - rabbitmq

In the docs it refers to it as the command line tool but that's clt not ctl.

RabbitMQ has a bunch of command line tools, one of which is RabbitMQCtl.
The ctl part stands for control. You use it to control RabbitMQ for general administrative/operator tasks.

Related

rabbitmqadmin is not recognized on windows

'rabbitmqadmin' is not recognized as an internal or external command,
operable program or batch file.
I tried rabbitmq-service remove and rabbitmq-service install
but not work
I can't find the folder that contains rabbitmqadmin file on windows
rabbitmqadmin is an external tool.
That you can download using the management UI see the documentation:
https://www.rabbitmq.com/management-cli.html
The standard tool is:
rabbitmqct
but there are other command line tools:
rabbitmqctl for service management and general operator tasks
rabbitmq-diagnostics for diagnostics and health checking
rabbitmq-plugins for plugin management
rabbitmq-queues for maintenance tasks on queues, in particular quorum queues
rabbitmq-upgrade for maintenance tasks related to upgrades
see: https://www.rabbitmq.com/cli.html for details

Can I use windows utility installed on Windows system with WSL

I think the answer to my questions is NO. But I need to get clarity be certain about this.
EXAMPLE: I have sqlcmd windows utility installed on windows and can use it with command prompt, simply type sqlcmd in command prompt and start typing T-SQL commands such as sp_databases;go will list the databases.
Next if I want to use WSL bash prompt for doing the same I believe the only way to do so is to first install sqlcmd for Ubuntu from WSL bash and then log in to localhost SQL Server with sqlcmd.
Please share what you know to help me get a better understanding of how to get full benefit of WSL for doing things such as using the sqlcmd command at WSL bash prompt.
Thanks for the help.
I have tried issuing this command at the WSL bash prompt which did not work:
/mnt/c/Program\ Files/Microsoft\ SQL\ Server/110/Tools/Binn/SQLCMD.EXE
OK I had some success, I needed some getting use to but there is some thing to go off here. To reiterate my name idea was that if a program such as R or Python is installed in windows I shouldn't have to re-install it in WSL with sudo apt-get install ...
So for using the sqlcmd utility the following command at bash worked:
/mnt/c/Windows/System32/cmd.exe /C sqlcmd
This command will let give me a "black line/space" to type in T-SQL commands into. It gives me some success with my experiment, at first it looks funny since there was no prompt or anything but I just type the command sp_databases [enter] go [enter] and it does the trick.
Next I wanted to really wanted to test this and tried to run the R (installation that runs when I type >R at command prompt). This is command that worked at bash prompt:
/mnt/c/Windows/System32/cmd.exe /C R --no-save
This was more satisfying as it printed R intro and started the R-shell/prompt, the issue was though (what I immediately noticed) was that if I use the up arrow key to scroll through previous commands its won't work rather ^[[A is printed on the screen at the prompt.
Next I tried another program Python, at command prompt in windows if I enter >python it starts a python with the intro, but at WSL bash prompt when I tried:
/mnt/c/Windows/System32/cmd.exe /C python it takes me to blank line but unlike sqlcmd this time a simple python command like dir() dose not give back any output.
I would greatly appreciate if someone who knows more about these things could explain to me how I can use the programs already installed in windows with reinstalling them in WSL.
§ So why did the python program not start in WSL like it does at the command-prompt.
§ And in case of R program that did start how would I scroll through previous command if the up arrow key start printing ^[[A
Thanks for help, hope my question is clear enough.

In ConEmu, is there a way to create shortcuts to frequent ssh sessions?

I connect to several different SSH servers throughout the day. In OSX iTerm, you can simply press CMD+O to open all of the saved profiles and connect to those servers very quickly.
I have not found a way in ConEmu to setup any type of "favorites". From my research, it looks like that might just be a task in ConEmu, but I haven't found a specific answer.
Install Git for Windows which includes a few utilities.
Then in ConEmu create a new task.
The command for your new task will be:
""C:\Program Files\Git\bin\bash.exe" -exec "ssh user#XXX.XXX.XX.XX""

How to run msg.exe after opening a shell using cmd.exe

I want to send messages withing a windows 7 LAN using VB.NET code. The problem is that the msg.exe executes commands in admin mode only. Here is the code.
Shell("cmd.exe /k runas /user:farook-pc\administrator msg.exe") 'Here i'm prompted for a password.
Shell("cmd.exe /k msg.exe", 1)
I use the /k switch to see what's going on in the shell. /c is the silent switch. I do not wish to use runas neither do I wish to change privilages in msg.exe
I hate launching other apps and trying to control them like that. If possible, I would recommend trying to mimic the functionality of msg.exe, yourself, programatically. From doing a few quick google searches, I found that the API function that msg.exe uses is apparently WTSSendMessage in Wtsapi32.dll. Here's the MSDN article on that function:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383842(v=vs.85).aspx
And here's a link that shows how to invoke that API function from .NET:
http://www.pinvoke.net/default.aspx/wtsapi32/wtssendmessage.html
I've never used it before, or even heard of it before, so, unfortunately, I can't help you beyond that.
Its possible to start the VB.NET application automatically in admin mode.
That can be changed in the project-settings.
After that you can open msg.exe with the following command:
Shell("msg.exe")

Multiple Job (j3)

I am trying to run a GNU make file with multiple jobs.
When I try executing ' make.exe -r -j3', the receive the following to errors:
make.exe: Do not specify -j or --jobs if sh.exe is not available.
make.exe: Resetting make for single job mode.
Do I have to add ' $(SH) -c' somewhere in the makefile? If so, where?
The error message suggests that make cannot find sh.exe. The file names indicate you are probably on CygWin. I would investigate setting the PATH to include the location of sh.exe, or defining the value of SHELL to the name (or, even, full path) of your shell.
Are you running this on Windows (more specifically, in the "windows" shell?). If you are, you might want to read this:
http://www.gnu.org/software/make/manual/make.html#Parallel
more specifically:
On MS-DOS, the ‘-j’ option has no effect, since that system doesn't support multi-processing.
Once again, assuming you're running on windows, you should get MinGW or CygWin