-
as seen on Super User
- Search for 'Super User'
I often execute GUI programs, such as firefox and evince from shell. If I type "firefox &", firefox is considered as a bash job, so "fg" will bring it to foreground and "hang" the shell. This becomes annoying when I have some background jobs such as vim already running.
What I want is to launch…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello, does PHP support something like ampersand in bash (forking)? Let's say I wanted to use cURL on 2 web pages concurrently, so script doesn't have to wait before first cURL command finnishes, how could one achieve that in PHP? Something like this in bash:
curl www.google.com &
curl www…
>>> More
-
as seen on Super User
- Search for 'Super User'
socat - exec:'bash -li',pty,stderr,ctty - bash: no job control in this shell
What options should I use to get fully fledged shell as I get with ssh/sshd?
I want be able to connect the shell to everything socat can handle (socks5, udp, openssl), but also to have a nice shell which correctly interprets…
>>> More
-
as seen on Super User
- Search for 'Super User'
socat - exec:'bash -li',pty,stderr,ctty - bash: no job control in this shell
What options should I use to get fully fledged shell as I get with ssh/sshd?
I want be able to connect the shell to everything socat can handle (socks5, udp, openssl), but also to have a nice shell which correctly interprets…
>>> More
-
as seen on Super User
- Search for 'Super User'
socat - exec:'bash -li',pty,stderr,ctty - bash: no job control in this shell
What options should I use to get fully fledged shell as I get with ssh/sshd?
I want to be able to connect the shell to everything socat can handle (SOCKS 5, UDP, OpenSSL), but also to have a nice shell which correctly interprets…
>>> More
-
as seen on Super User
- Search for 'Super User'
I'm a bash user willing to switch to a more friendly and advanced shell. I read a lot of good things about zsh, but I gave a quick test at fish and it seems great too.
Both seem very close in term of features, what is your opinion about those two shells especially as regards shell programming?
>>> More
-
as seen on Super User
- Search for 'Super User'
I have ZSH as default shell in MacOS, everything is working fine. ZSH is installed as brew package, Ive set default shell in my account, new shell is listed in /etc/shells... everything is set, like I've said.
I have some shell scripts in which I use some commands from zsh, like print. When I execute…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I run the following codes separately as my prompt unsuccessfully in .zshrc. This suggests me that apparently I do not have a program called __git_ps1. It is not in MacPorts.
#1
PROMPT="$(__git_ps1 " \[\033[1;32m\] (%s)\[\033[0m\]")\$"$
#2
PROMPT="$(__git_ps1 " (%s)")\$"$
#3
# Get the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm a bash user willing to switch to a more friendly and advanced shell. I read a lot of good things about zsh, but I gave a quick test at fish and it seems great too.
Both seem very close in term of features, what is your opinion about those two shells ?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have "v" aliased to "vim */.cpp */.hpp */.cxx"
Problem is, if I'm in a directory without any .cxx files, zsh treats this as an error. Is there anyway to tell zsh to create the absence of */*.cxx files as "" instead of an error?
>>> More