I'm trying to run chrome and get its pid from bash for win10.  When I run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" I'm getting C:\Program Files (x86)\Google\Chrome\Application\chrome.exe: command not found.   I can do the same on mingw and it runs Chrome there just fine. Any ideas why?
120592
I've recently started using , I've installed  and done some config.  I am however unable to use npm commands in the WSL bash window. I can happily use npm in Git Bash Cygwin, Command Prompt, etc. But if I try the command within Bash for Ubuntu on Windows I get the following error:  $ npm init zsh: command not found: npm   Is this a zsh config error or how do I go about solving this?  EDIT (Fixed): I received the below feedback from a Bash on Windows Github contributor. Essentially what this means is that you must install certain runtimes(such as NodeJs) on WSL, even if they already exist on Windows, in order to use those runtimes within Bash on Windows. I've installed Node on WSL and it's working perfectly.        You should think of WSL as a light weight Linux subsystem that runs on   Windows similar to a container. The runtimes on Windows and WSL should   be considered independent, but with interop between the two the lines   can start to blur. For example, if you have perl installed in both   environments you could either run with the WinPE perl.exe or the elf64   perl.
42412
I used Google Chrome in Windows, and am now using Chromium in Ubuntu.  Is there any difference to the two programs?  What are the advantages and disadvantages to each program?  Which one seems better?
13284
I tried which cd and it didn't give a path but instead returned the exit code 1 (checked with echo $?). The coreutil cd itself is working, so the executable should be there, right? I also ran a find for cd, but there was no executable file shown. How is it implemented then?  Update:  I don't know if I should ask this in another post but since I think it is good here, I'm expanding (?) the post... So the answer was actually quite simple, there's no executable for that — because it's a builtin — But I've found some builtins (bash shell in Fedora) have the executable files! So builtin -> no executable isn't right I suppose? Maybe an answer explaining what builtins actually are (builtin commands?), which actually is the matter here, rather than focusing more on cd... Some good links posted previously indicate that builtins are not programs... so what are they? How do they work? Are they just functions or threads of the shell?
90919
I know how to program Console application with parameters, example : myProgram.exe param1 param2.  My question is, how can I make my program works with |, example : echo "word" | myProgram.exe?
93930
How can i install Chrome for just myself?  Background  By default, the Chrome installer will attempt to elevate, and install two system-wide services, as well as scheduled tasks. i need to run Chrome on a server that is not my own.   i don't want any Chrome footprint to exist outside of my user profile; and definitely not install any global services.  How can i have Chrome only for the local user?    Google does provide a      If you're downloading Chrome for your own user account only, use this installer:  »   But this "standalone" installer also installs two services.  This is complicated by the fact that this is a Windows Server 2008 R2 machine, with UAC disabled. If UAC were enabled, and Google's installed tried to elevate, i would deny it.  Although, i know from experience, that if the current user could elevate, it will refuse to install. If the current user is a standard user (i.e. is already running at the highestAvailable) it will install just for that user.  But this is not my server; i cannot change the global UAC settings. Even if decided i should change it, it server needs a restart before the new UAC setting takes effect. And the hundreds of users of the web-server would not appreciate it.  How can i install Chrome for just me?
115027
Looking for a quick and dirty way to automate . I presume this could be done with an automation to press the mouse button from two separate pixel coordinates, with delay, so long as the browser window doesn't move -- unless there's a better way.  I tried building a Watch Me Do workflow, in Automator, but can't seem to get it to work.  I get the error "application Chrome is not running when it is expected to." It also never lists mouse clicks for some reason.  I do have accessibility set up, in system preferences > security &amp; privacy > privacy > accessibility.  Automator, Chrome and System Events are all checked within there (among other stuff of course).  I tried the markashworth workaround as detailed  -- which also doesn't seem to work. Using his method, I get this error:    UPDATE: I just downloaded "cliclick" and figured out how do both clicks as a terminal command, with the proper delays.  BUT -- I don't know code and need a way for this terminal command to repeat "x" amount of times.  Anyone know how I could do that in Script Editor?  The command line is:  cliclick c:132,286 w:100 c:132,286 w:5000 c:1100,238   I would need a few seconds of delay before the loop repeats, which I presume I could do with a final "w:" in that line.  Thanks for the help!!
26436
Are the Google Chrome command-line switches are documented somewhere?  I would like to have the list of all Chrome command-line switches.
34723
I am creating a script which clears the cache for Google Chrome. However, I would like to check if Chrome is open and if so not run the code but if it isn't then it will execute the code. I can see that the Process Name is Google Chrome but the code doesn't work.  This is what I have done so far. What am I doing wrong?  SERVICE='Google Chrome'  if ps ax | grep -v grep | grep $SERVICE then     RUNS THE CODE else     echo "PLEASE CLOSE GOOGLE CHROME" fi   Any help would be appreciated :)
103510
The code below is showing an error as if the file does not exist. I can find the chromedriver.exe file, but the .exe file seems to be non-executable.   These are my commands:  System.setProperty("webdriver.chrome.driver","driver = webdriver.Chrome(executable_path='/usr/local/share/chromedriver')");  WebDriver driver = new ChromeDriver(); driver.get("https://www.youtube.com/");   What may cause this dis-functionality?
95379
Is there a shell command for outputing absolute path for specified program? I'd like to know where executable binary file is.
90136
I use Chrome as my main browser.  I also spend a lot of time on a particular webapp that my company uses.  I'd like to keep those two things separate.  I can run the webapp in a separate window - but I'd like to go further than that.  I'd like to have it be identified by a different task in the Win 7 taskbar; ideally a different icon; and ideally a different title in Process Monitor.  How can I run a second, independent instance of Chrome, with a different title and icon, that won't merge with my main Chrome browser.
113244
If the which command is not available, is there another 'standard' method to find out where a command's executable can be found?  If there is no other 'standard' method available, the actual system I face currently is a bare Android emulator with an ash , if that means anything.
47586
I want to run Chrome with a given set of flags, always  I created a shortcut and added the flag to it in the following way, so my target of the shortcut says:  C:\&lt;application-path&gt;\chrome.exe --user-data-dir=D:\Chrome   But when I double click an HTML file, or if any other application triggers Chrome, it looses the flag value. The result - A new chrome window opens with Default profile directory.  I want to make the flag permanent, so that its active irrespective of however Chrome executes.  I tried changing the following registry key:  HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command   It was this earlier:  "C:\&lt;application-path&gt;\chrome.exe" -- "%1"    I changed to following attempts which did not work:  1. "C:\&lt;application-path&gt;\chrome.exe" -- "%1" --user-data-dir=D:\Chrome 2. "C:\&lt;application-path&gt;\chrome.exe" -- "%1" -- "user-data-dir=D:\Chrome" 3. "C:\&lt;application-path&gt;\chrome.exe" -- "%1 user-data-dir=D:\Chrome"   Conclusively, when I try to open a link from any application, it doesn't open in my current Chrome as a new tab, rather opens a new Chrome window with no plugins and extensions since its from other directory.  Why I have changed my default directory? - because the OS drive was getting low on memory due to heave Chrome caches and apps.
17432
On the Windows platform, most large applications come with their own installer which sets up folders under C:\Program Files, possibly some other places, and perhaps adding some registry keys, etc.  But there's still quite a few tools around that consist of just an .exe or maybe also a README and a .dll or two.  How should I install such tools? Directly in C:\Program Files? All in one subfolder under C:\Program Files? Somewhere under C:\Users\Me? Somewhere totally different?  Or maybe different approaches for the tools with just an .exe to those that also have other files, or maybe only the ones with .dlls need to be treated differenty ...  Is there any standard accepted way to do this? A "best practice"? If the answer depends on the Windows version, I'm using Windows 7.  In particular, what might strike people as the obvious answer seems to have a catch:  I had tried to manually create new subfolders under C:\Program Files. In fact I thought I had done so before, but Windows puts up a dialog Destination Folder Access Denied. This caused me to think twice rather than just blindly click Continue.      On the assumption that greater minds than mine have come up against this many times over the years I'd like to ask the community if some kind of "best practice" has come to be accepted.
109261
I once saw a guy run a command and got a list of all installed applications on his computer. How do I do this?   I would like a list of my currently installed applications. I believe he used  somehow.
6587
I tried to install using following command for 32-bit system.  wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb   But I got an error:  Resolving dl.google.com (dl.google.com)... 216.58.199.174, 2404:6800:4009:807::200e Connecting to dl.google.com (dl.google.com)|216.58.199.174|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2016-06-30 20:05:59 ERROR 404: Not Found.
106868
I know that in order to suppress the output of a program I can redirect it to /dev/null, for example to hide all error and warning messages from chromium I can start the program like this  chromium-browser 2&gt; /dev/null &amp;   However, if I happen to forget about the error messages and type  chromium-browser &amp;   (which is quite annoying when they appear in the middle of a command) I don't know what to do except for stopping the application and starting it again properly.  Can I somehow redirect error output without restarting the application?