Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Hello i am using MAC Mavericks system.i have installed wireshark .dmg and x11 .dmg(xquartz) .But when i try to open wireshark in Xterm ,using the command
bash-3.2$ open/Applications/Wireshark.app/
i get the following error message.
bash: open/Applications/Wireshark.app/: No such file or directory.
Actually i can see a blue icon called wireshark in my applications folder,but i get the above error message instead of the wireshark program.
Am i missing something?Please give some suggestions on installation of Wireshark on MAC Mavericks?
I am a newbie in wireshark.please help me .
As Dagg Nabbit said, place a space after open; the command to open a file from the command line is
open {file}
so, to open /Applications/Wireshark.app, do
open /Applications/Wireshark.app
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I hope you guys are doing well.
Does anybody know the keyboard shortcut to open a new terminal tab on "Bash on Ubuntu on Windows"? I have tried several shortcuts like ctrl + shift + t etc... but without success.
I have also tried install xdotool. However, when I type xdotool key ctrl+shift+t, the output I have is:
Error: Can't open display: (null)
Failed creating new xdo instance
Thank you for helping me!
Bash doesn't do tabs; that's the terminal emulator's or console manager's job. If you have a console manager that supports multiple tabs then use whatever keyboard shortcut it has for that.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm trying to pass the following command line switches to Google chrome (Version 51.0.2704.106 (64-bit)) on OSX 10.9 and it's not working:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server="99.99.99.99:66" --remote-debugging-port=9999 google.com
Not going through the proxy and remote debugging port is not opened. How can I make this work?
Make sure you close all instances of Chrome first before running the command. It also looks like, at least from my tests, that it only supports HTTP proxies. The SOCKS proxy I created via an SSH tunnel didn't seem to work for me, whereas after I configured tinyproxy, it worked fine.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Mac OS X has a neat little command-line function 'open'.
% open <file>
Does whatever a double-click on that file would do. But via the command-line (Terminal).
Does Windows have something like this? How do I get a non-executable file to be opened with the default program in the OS for that file-type?
I think it is start "<file>".
If it's a recognised file type, you can simply type the filename, and it will open it in your preferred application. For example,
my_favorite_porn.mp4
is not something you should do when your wife is nearby :-)
Note that, if it's a Windows application, it will auto-magically satrt in the background and your prompt will be returned to you. If it's something like a command-line application, it will run in the context of the current command window. If you want to start those in a separate window, you can use:
start cmdlineprog.exe
explorer <file>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am running Vim from Powershell inside ConEmu.
I have my text files set to open using the following command
"C:\Program Files (x86)\Vim\vim74a\vim.exe" --remote-silent "%1"
If Vim is already running in ConEmu then when I doubleclink on *.txt file a cmd.exe briefly flashes on screen and the file is opened in the existing Vim process, but I will also get this error message
Is there a way to stop this error from occuring or simply hide the error message?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I tried creating a new js file from the mac terminal (i.e., mate sample.js) but got the below error:
-bash: mate: command not found
I'm not sure how to create a new file directly from the Terminal. Can anyone help me out?
touch someFile.js
or
vim someFile.js
or
nano someFile.js
or
cp someOtherFIle.js someFile.js
EDIT:
Vim commands help:
http://www.tuxfiles.org/linuxhelp/vimcheat.html
You are trying to create and open a file with TextMate. For that to work, you have to meet two conditions:
Having TextMate installed
Having TextMate's command-line tool (mate) installed (in TM 2.0, you can do that from Preferences > Terminal tab)