A shell is software that lets users interact with the operating system, usually by typing at a command-line.

learn more…| top users | synonyms

6
votes
0answers
258 views

Trap on DEBUG signal for the dash shell?

With the bash shell, you can install a trap on the synthetic DEBUG signal. This is useful and will execute your function or bit of code on every shell command. For example:$ trap 'logger -t shell "${...
4
votes
0answers
4k views

Close a specific Chrome tab in Ubuntu/Linux using terminal command

Is there a way to close a specific Chrome tab with a terminal command? I tried below commands:kill -9 <pid of Chrome tab>: Instead of closing a tab, it kills the tab ("He's dead Jim" message ...
3
votes
0answers
44 views

I need to run a shell command after connecting with SSHFS

I'm connecting to a remote server using SSH. Unfortunately, a connection with Nautilus or Konqueror over SCP did not work (although it perfectly works fine over SSH). I am not using SSHFS which works ...
3
votes
0answers
43 views

Wrap git's shell script to add bashrc or equivalent start-up commands

My server has a git user that handles all git access. You can't log in with it. It's only for git access. That works because GIT comes with a handly shell /usr/bin/git-shell.Login feedback:fatal: ...
3
votes
0answers
1k views

How do i configure a Logitech G502 Spectrum under Linux?

I'm thinking about buying a Logitech G502 Spectrum (the G502 with RGB LEDs) but as I am running Linux (Speciified in Debian @ work, ubuntu @work and archlinux @home) I am woundering how to setup ...
3
votes
0answers
901 views

tmux in zsh with vi mode, toggle cursor shape between normal and insert mode

(note: I wrote this question on stackoverflow, but got flagged as offtopic, so I'm re-writing it here)Here's what I want:Consistent behavior (as much as possible) between Vim, MacVim, zsh with vi-...
3
votes
0answers
809 views

Using the msysgit shell in Emacs for windows

I am relativley new to Emacs and am trying to setup emacs, to allow the following command to open the msysgit shell.M-x bash-shellI have added following snippet to my init.el.(defun bash-shell ()...
3
votes
0answers
866 views

zsh - prompt redraw after executing command

I just started using zsh and I'm configuring a few things. I've chosen the vi bindings as I'm more familiar with those. As many people before me, I soon found it would be useful to have some visual ...
2
votes
0answers
43 views

Replace argument N in previous command

I've recently migrated to ZSH, and I'd like to get a bit more efficient at substituting arguments in commands. Specifically, I'd like to replace argument "N" in the most recent invocation of command "...
2
votes
0answers
170 views

Color coded 'ls' under ssh connection from Mac to SunOS server (tcsh shell)

I'm on a Mac under OSX. I ssh into a remote server which is running SunOS. The default shell under the remote server is tcsh, not bash. How can I set the ls to generate color coded output as I have ...
2
votes
0answers
172 views

Force Ubuntu user to use specific shell

After years of reading helpful questions/answers on superuser, today it's my turn.I'm playing around with "lshell", a linux shell written in python (lshell on github) which gives the opportunity to ...
2
votes
0answers
1k views

Shell Commands not working : REDHAT

I added some service to the startup script and then after reboot , i got this message- 24 package(s) needed for security, out of 52 availableRun "sudo yum update" to apply all updates.-bash: id: ...
2
votes
0answers
234 views

Prevent ARP spoofing in AP, “wl deauthenticate” command

I am in a situation where I cannot do MAC filtering in an AP and I need to block a user that is ARP spoofing the network. I am trying to use the command wl deauthenticate to kick the client. And I ...
2
votes
0answers
90 views

OSX - Custom lockscreen incorrect password script

As you probably know, in Mac OS X you can enable a lock screen when waking from sleep, where the user enters their password. I am looking for a way of running an Automator.app workflow when an ...
2
votes
0answers
42 views

Can one start shell from save file dialog

Using ubuntu. If one tries to print to a file, the save dialog opens. Is there a way one can execute the shell (or terminal) from the save file dialog file name entry box?

153050per page