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

learn more… | top users | synonyms

3
votes
0answers
12 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
434 views

iTerm2: How to get output of a shell command with applescript

I want to get the output of a shell command run through iTerm2's applescript into an applescript variable. I tried the following but it does not work: tell application "iTerm" activate try ...
2
votes
0answers
36 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
74 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
111 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
75 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
33 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?
2
votes
0answers
385 views

How to change default shell for a network user?

I am working with Ubuntu and I would like to change my default shell to z shell. I cannot use the chsh -s /bin/zsh or chsh-s /bin/sh myuser command since my user name does not exist in /etc/passwd and ...
2
votes
0answers
307 views

Shell unbuffering for CygWin: is it possible?

I have tested on CygWin doing "ls -R" with a large directory and sending the output to a Test.txt file, so the process takes about 30 seconds to complete; the file is created, but it is empty; it will ...
2
votes
0answers
182 views

How to open a local file with a query string appended to it in the default browser?

I want to do something like this from a shell script: $ open 'foo.html?foo=bar' Sadly that fails, as it looks for a file named foo.html?foo=bar instead of foo.html before opening the browser: The ...
2
votes
0answers
311 views

Adding a new (hidden) “Delete” Context Menu item to Windows 7

I would like to add a new "Delete" context menu item such that I can delete large amounts of files and folders with a single right click without using explorer because of how slow it is. I have ...
2
votes
0answers
130 views

Downloading and building O3D

I'm trying to get a program called O3D into my computer by following the instructions on O3D's wiki. I tried to download the project to my directory but the prompt gave me this answer: gclient is ...
2
votes
0answers
522 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-shell I have added following snippet to my init.el. (defun bash-shell ...
2
votes
0answers
539 views

loop curl could not resolve host

I've had working script, which suddenly doesn't works. It contains something like this: while read url; do curl $url done < links links file: http://duckduckgo.com http://google.com And I ...
2
votes
0answers
3k 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 ...
2
votes
0answers
252 views

Dummies guide to mailutils

As a prelude to learning more about postfix and dovecot (as a pure hobbyist) I'm trying to understand the mailutils package. I'm using Davmail so I have the server set up at localhost and my ...
2
votes
0answers
610 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
1k views

Grub: Legacy 'ask' parameter no longer supported

I'm trying to change the resolution on my base shell (the Ctrl+Alt+1) shell in Debian so that it supports my ViewSonic monitor. The shell appears really fuzzy when it is displayed on my lcd monitor, ...
2
votes
0answers
88 views

Something is changing the OSX default shell to tcsh

On one of the mac machines I'm somewhat responsible for (Snow Leopard), something periodically changes the default login shell from bash to tcsh. This seems like it's probably suspicious, but not ...
2
votes
0answers
598 views

“Error: AudioQueueStart failed” when running afplay repeatedly

Every time a run in Terminal the command: while :; do afplay "/Users/username/Library/Application Support/Nada/Bell.aif"; sleep 10; done I get the expected result, but after a while the ...
1
vote
0answers
14 views

Starting Scripts Using SSH

Case 1: ./Myscript.sh param (on a first node) Another node: (In parallel i run the same script) ./Myscript.sh param (on a second node) Case2: From my host, using ssh: for i in $(seq ...
1
vote
0answers
40 views

Colon(:) operator in Unix shell

As far as colon is concerned i understand that is is used in certain situations as a null and as a parameter of expansion for substring, but can someone explain me this: do_qc: $(STAGE1_OUT_FILES) ...
1
vote
0answers
29 views

inotify does run twice

I wanted to write a script that triggers some code when a file gets changed (meaning the content changes or the file gets overwritten by file with the same name) in a specific directory (or in a ...
1
vote
0answers
30 views

I cant ssh into intel content access point from macbook terminal

I am trying to ssh into the intel content access point with ubuntu 12.4 installed on it from my macbook air, but i get the following errors: ssh: connect to host 192.168.88.1:22 port 22: Operation ...
1
vote
0answers
25 views

How to stop output from AT command in a shell line

I have this issue. I try to get output from AT command from my modem, using Linux. I get the output, but I don't know how to stop the output. The line is some like this: echo -e 'AT+CGMI' > ...
1
vote
0answers
57 views

Why can I access the internet in a browser but not the terminal?

I can browse the internet using Chrome and Safari, but when I use the terminal, I can not. When I try to ssh in the terminal, I get "request timed out" and when I try to ping I get "3 packets ...
1
vote
0answers
72 views

How to restrict user's ssh to non-terminal access without changing /etc/passwd?

I have a user on my Linux system that is only allowed to use SSH to scp, sftp and rsync, but not allowed to have a shell session in a SSH session. I want to know a secure way to setup the restriction. ...
1
vote
0answers
24 views

List of links that will be taken without a proxy in linux

How can I add a list of links that will be taken without a proxy in linux or another shell programm (etc. proxychains)? I need it to exclude the download proxy .avi files proxychains firefox
1
vote
0answers
278 views

Merge xml files using Linux shell scripting

I have 2 files named file1.xml and file2.xml respectively. The contents of the files are: file1.xml: <EJB:Service> <EJB:ServiceId>123</EJB:ServiceId> ...
1
vote
0answers
33 views

make environment variable available inside cmd script in windows

I am running a script like below, but the environment variable path does not contain C:\tmp inside script.cmd, how to make it available? Os is windows. cmd.exe /c "set path=%path%;C:\tmp && ...
1
vote
0answers
47 views

How can I show the output of a shell command in a gnome panel or the top menu bar?

The top bar in a classic gnome desktop shows menus (top left), then some freely configurable panel space, and on the top right a somewhat configurable panel space with system status icons, date/time, ...
1
vote
0answers
38 views

How to read contents of ATSAM3X8E chip on Arduino Due Board in Mac OS X

I have two Arduino Due boards with some programming that has since been lost. I need to back up the contents before replacing the program. I’ve been playing around with another Arduino Due before I ...
1
vote
0answers
134 views

How to set output of terminal to external VGA display

I have laptop with broken screen and external monitor that i can connect to laptop via VGA port. Is there any way how to set output of shell(I have no GUI on installed debian) to VGA monitor? I can ...
1
vote
0answers
21 views

Terminal reset troubles

According to the MinGW setup program, I have the bash shell installed. When I attempt to issue a reset, I get: sh: reset: command not found Bash responds to the reset command in every other ...
1
vote
0answers
76 views

RVM is not a function message when using fish shell

I'm trying to use rvm from within the fish shell rvm gemset use rails3 I'm getting the following error message from fish RVM is not a function, selecting rubies with 'rvm use ...' will not work. ...
1
vote
0answers
372 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 available Run "sudo yum update" to apply all updates. -bash: id: ...
1
vote
0answers
92 views

How do I start the taskbar after changing the “shell” registry key that runs at login

So, I have made a version of windows that looks like it isn't running windows (no logos or common windows tropes), so that it looks like it is only the software I choose that is running, sort of like ...
1
vote
0answers
49 views

Including a fallback in default shell

I have an account on a network, and my shell is set to zsh, but when I log onto a computer that doesn't have zsh installed on it, a terminal I launch tries to run zsh and fails, so I get an empty ...
1
vote
0answers
34 views

How does OS X's Terminal pass the new tab's dir to login or bash?

In OS X, you can add a shell to /etc/shells and set it as a user's default shell, such that when they open the terminal they are presented with that shell. In addition, When you have the option to ...
1
vote
0answers
55 views

monitor command outputs in separate windows within a terminal

For a list of input text, I want to execute a repetitive command using each element from the list. In addition I also need to monitor the results of each of these commands in parallel. So I am looking ...
1
vote
0answers
119 views

How to show git branch in Emacs shell

How can I show the current git branch as part of the Emacs shell prompt? For example, I have this in my ~/.bash_profile (I'm on Mac OSX 10.9 Terminal): parse_git_branch() { git branch 2> ...
1
vote
0answers
120 views

Triggering KDE's “Attach as tab to” feature from a shell script

I very much like the possibility to attach any window to any other one as a tab in KDE. Particularly, as part of my workflow, I often have a Dolphin (file manager) window attached to a Konsole (shell ...
1
vote
0answers
182 views

UEFI shell mode with no colon key

I have a newly built PC with a UEFI-enabled motherboard and I'm having trouble getting my DVD drive to boot into UEFI mode so I opted to boot into UEFI Shell to manually start the DVD in UEFI mode. ...
1
vote
0answers
23 views

Showing context menu option if extension is not .aent

I have made an application that can basically encrypt anything, I have added a registry entry in HKEY_CLASSES_ROOT/*/shell/ so that it's shown whenever one right clicks a file. but I don't want to ...
1
vote
0answers
25 views

Better line breaking in terminal?

I am not sure if my request is valid, doable or better than the default option, but I'll give it a shot anyway. Word-wrapping in a terminal usually bothers me, since it wraps in the middle of the ...
1
vote
0answers
68 views

Recursive search occurs instead of last command when using up arrow.

I'm using an internal product "shell" based on spring shell. When I press the up arrow to get my last command, instead I get (reverse-i-search)`': Retrieving the last command works for all my ...
1
vote
0answers
131 views

How do I get a proper subshell in mc's mcedit?

I can use the shell from mc when pressing Ctrl+O and when using Debian, I can also use that shortcut from mcedit. However, in Ubuntu, this will only show the shell but I cannot enter anything.
1
vote
0answers
121 views

Terminal's bin/bash not responding

I have Googled through several instances of this issue but cannot get Terminal to open up with bash. I restarted the program, the computer and even logged in through another Administrator account but ...
1
vote
0answers
41 views

tmux completion (not shell completion)

Is there any way to do completion of arbitrary text from your tmux session (e.g. output from previous commands)? Something similar to hippie-expand in emacs or Any word completion in vim? Note that ...
1
vote
0answers
723 views

find command with exec sh doesn't work in shell script but in commandline (raspberrypi)

I want to find "old" folders in /volume1/photo/ipcam which are named like "????-??-??" and move corresponding folders within dropbox (with the same directory structure /ipcam/...) to the subfolder ...