Tags "shell" Result

Execute shell commands from Spring Shell

I have a case which I want to ask can I solve with Spring Shell. I have a main.jar application which have several Scheduled Spring Jobs deployed on Wildly server. In my case I can't stop or redeploy the main.jar because the service must be provided non-stop. I need a way to start/stop/restart the Scheduled Spring Jobs from the terminal. For exampl

it1352 3 2020-07-25

Shell Program

I asked once before and got a good response, but it was not quite what we needed. I am reposting clarifying my requirements. I want to develop a shell program that requires the user to login. When they login, I will retrieve all the programs they can load. When they click on a program to load, I want to load the program in the shell program and

it1352 1 2019-10-07

without shell

hi all, can any linux command be invoked/ executed without using shell (bash) ? what abt security concerns ? regards, KM Solution On Sun, 12 Jun 2005 23:16:35 0530, km wrote: hi all, can any linux command be invoked/ executed without using shell (bash) ? py> import os py> status = os.system("ls") Prints the output of ls and

it1352 1 2019-06-25

differences between login shell and interactive shell

Hi everyone' I have a question about shell in linux.Before asking it I would like to say that I really made lots of search on internet however since I'm newbie on linux these are not give me any idea. Now here is my question. What is login shell and interactive shell. In addition to this, I wonder what is .bash_profile .bashrc.I spent a couple hour

it1352 1 2019-05-09

HOWTO: Detect bash from shell script

The scenario is that users are asked to source a script file: $ source envsetup.sh This script file may use bash only feature so we have detect the running shell is bash or not. For other shells that share common syntax with bash, for example, sh, zsh, ksh, I'd like to report a warning. What is the most reliable way to detect the current shell

it1352 2 2019-05-09

Dollars in Makefile environment variables

Is it possible to "disable" variable expansion in my Makefile for a certain section? Here's an example of the issue I'm having: print_command: @echo '$(COMMAND)' And here's the output I'm getting: $ export COMMAND='My favourite shell is $SHELL' $ make print_command My favourite shell is HELL $ make print_command COMMAND='Welcome to $SHELL'

it1352 4 2019-05-16

How can I run Cygwin Bash Shell from within Emacs?

I am running GNU Emacs on Windows so entering: M-x shell launches the Windows command-line DOS shell. However, I would like to instead be able to run the Cygwin Bash Shell (or any other non-Windows shell) from within Emacs. How can this be easily done? Solution shell-file-name is the variable that controls which shell Emacs uses when it wants t

it1352 0 2019-05-14

How can I run Cygwin Bash Shell from within Emacs?

I am running GNU Emacs on Windows so entering: M-x shell launches the Windows command-line DOS shell. However, I would like to instead be able to run the Cygwin Bash Shell (or any other non-Windows shell) from within Emacs. How can this be easily done? Solution shell-file-name is the variable that controls which shell Emacs uses when it wants t

it1352 0 2019-05-16

shell/ batch scripting to direct commands to adb shell

I am trying to write a batch(for win) and a shell script for linux to automate key and touch events on a android UI. At the moment in a windows batch file I am starting a adb shell for each event for eg :again adb shell am start -a android.intent.action.MAIN -n com.q.me.fui.activity/.InitActivity sleep 15 adb shell sendevent /dev/input/even

it1352 3 2019-05-07