A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, ...

learn more… | top users | synonyms

1
vote
1answer
9 views

Executable lauches if called directly from terminal, but does not work when called from shell script

I have downloaded a software (called samtools) and it is stored in a folder on my desktop. Then I've added path to the executable into $PATH variable. In other words my local ~/.bashrc file has a ...
0
votes
0answers
15 views

How do I scroll/get to the last command on the command line

I use a command line tool for our product which spews out long json outputs. I'd like to get to the start of the output. Usually I do this by cmd+F and searching for '$ ', but I'd like to have this ...
1
vote
0answers
15 views

Programantic Diff

I'm localising a piece of Javascript (the github repo is here) for Spanish speaking users. I have both the English and Spanish text as PDFs and I have the software in English. The pdfs look like ...
-1
votes
0answers
10 views

Execution from OS X terminal returns nothing

I am attempting to configure and then execute a waf file. When I run ./waf configure --mode=release --with-python --with-cpptests --with-examples --with-vamp it does not return an error and it ...
0
votes
0answers
12 views

Mac Terminal's Find menu resets settings when I navigate away

I'm trying to search through some script output on the Mac terminal (Mac OS X Yosemite, 10.10.1, recently bought MacBook) using the built in Edit > Find > Find... utility. I want to do a search that ...
1
vote
1answer
34 views

Why is my bash history not sorted by date?

My mac bash history looks like this (I'm copying just the last +100 lines): 2769 23/09/14 17:54:09nano ~/.bash_profile 2770 23/09/14 17:54:21nano ~/.bash_profile 2771 23/09/14 17:54:28source ...
0
votes
0answers
20 views

Colorschemes in vim using mac

I've trying for a while to implement the colors in vim and they does not appear. I have saved various colorschemes in the vim/colors folder and all that seem to be fine. Also, when I load the color ...
0
votes
1answer
29 views

How to install ffmpeg on OS X? [duplicate]

You can get the binary here http://ffmpegmac.net/ How do I install said binary to use it as a commandline tool. I have a mac, with mavericks. If possible, it would be nice to install it without the ...
0
votes
1answer
16 views

Sourcing ~/.bashrc in ~/.profile?

I'm quite new to developing under OSX and assigned some aliases and other preferences in the ~/.profile initially, however it got quite big and messy after a while because I had a lot of Environment ...
0
votes
0answers
24 views

OS X: How to call “Service” through command line?

I'm looking for a way to call "service" actions (In Finder, I can right click a file and find them on the bottom of the menu, see below) Through command line, is there any way to do it? Thanks in ...
0
votes
2answers
35 views

Can you see whats happening under the gui?

When I start application with gui from linux terminal, i am able to see whats happening iunder the gui in that terminal. And if it crashes, most of the time there is problem why did it crashed. So my ...
0
votes
1answer
19 views

Up arrow in gnome terminal to review command line history ignores commands with leading whitespace. Is there a workaround?

When writing python code (using gvim) I often keep complex command line commands for test cases saved in my docstrings. A common time-wasting error I make is copying the entire line from the python ...
3
votes
2answers
43 views

opening several terminals at once

In my dev environment, I sometimes need several terminals to be open, each running its own script/ a server (rails, django, redis, mongo, consoles, etc) How can I create some shortcut that will open ...
0
votes
0answers
19 views

Gems installed with the --user-install option into the OS X home folder aren't working properly afterwards.

On previous OS X revisions i had installed my gems with sudo. With Yosemite i wanted to change that and install without sudo. To leave the default gems in /Library/Ruby/Gems/2.0.0 ...
0
votes
1answer
18 views

How to zip files in mac without root folder

I used this command >zip -r name.zip myfolder to zip files in a folder. I want to zip all the files in myfolder without including myfolder in zip file. How do I do that?
0
votes
0answers
7 views

Restricting access to an internal website when user is using Terminal Services

I have a requirement where there is an internal attendance website which is supposed to accessed only when the person using it is physically present at the computer. The options which came to mind ...
0
votes
0answers
13 views

Can't mount ZFS mountpoint, mountpoint or dataset is busy

So my roommate, in a misguided attempt to fix a fuse issue in our apartment, decided to toggle all the fuses in the fusebox. He did this before I could safely shut down my fileserver and now the zpool ...
0
votes
0answers
24 views

Could not find a configuration file for package “ECM” that is compatible with requested version 1.5.0

I tried to download "ECMConfig.cmake" from repository, but terminal gives me an error: "question's title + The following configuration files were considered but not accepted: ECMConfig.cmake : version ...
0
votes
0answers
16 views

Stop windows maximising windows in multiple monitors

When maximising with multiple monitors, the usual behaviour is only one monitor is filled. But after a recent windows update, maximising fills all screens. Is there a way to stop this so they return ...
1
vote
0answers
5 views

Execute command in terminal on click event

Recently I got to know a decent feature that exists in iTerm2, namely you can configure what command can be invoked while clicking on a text that refers a file. (e.g. you can open this file in text ...
0
votes
0answers
14 views

How to reset terminal tab width back to normal

When I'm viewing tab-delimited log file I use tab -2 command have narrower tabs. When I launch htop after that it's columns are misaligned. Running tab -4 does not fix the problem. Only reset helps, ...
0
votes
1answer
42 views

Cannot install PECL ev package(OS X Yosemite)

I am trying for an hour already to install the g..amn ev package so I can use EvTimer in php but with no success. I am running sudo pecl install ev in terminal but I get the following error. /bin/sh ...
0
votes
1answer
23 views

Long commands typed in bash overwrite the same line

Since We updated Bash to 4.3.27 when I type a long command, if it reach the end of terminal window, instead of continuing in a new line, it overwrites over the same line using a ">" at the beginning ...
0
votes
1answer
30 views

Can't run .bundle file in Mac OSX

I was trying to open a simple .bundle file in OS X. When I run the executable code inside the "Mac OS" folder (32 bit Unix file) this message appears in the terminal: -bash: ...
0
votes
0answers
12 views

tmux' “run-shell” blocks for background processes

I'm using tmux version 1.9a and I noticed that run-shell blocks using of any prefix-key commands until the command terminates. To reproduce this just execute run-shell "sleep 10" and try to ...
0
votes
0answers
31 views

Linux terminal full screen, but not always-on-top

I use a dual monitor setup and want to always have a full screen terminal on my secondary display. I use the F11 key to make it full screen and remove the title bar, but it also becomes always-on-top, ...
0
votes
1answer
39 views

On which processor(s) do my simulations run?

I am currently running 11 numerical simulations (coded in C) on another Mac computer via my Terminal using ssh and screen (Bash) on Mac OS. The computer that is running the 11 processes has 16 ...
1
vote
1answer
33 views

DNS lookup is slow but only in terminal (linux)

It seems I have a DNS problem, although I'm not really sure. When browsing the internet, everything is fast and fine. But when using a terminal, things start getting weird. When I ping ...
-1
votes
0answers
15 views

Error Code -36 Deleting from Finder, but ok in Terminal [duplicate]

For some reason, I cannot delete files from this one external HDD that is in NTFS on one specific MacBook Pro. On other MBPs I own, it is fine, it's just one system. When I try to delete from Finder, ...
0
votes
0answers
38 views

How to prevent terminal bell from going off when exiting vim from within a nested screen session

My vimrc file contains the following lines to set the window title start and end strings respectively. When I enter a vim session and my konsole terminal is either outside of screen or within a ...
-1
votes
0answers
8 views

Terminal Server (RDP) - Idle goes back to 0 after 15 minutes

We have a problem with some TS sessions which are normally set to end after 30 minutes of inactivity. But for a strange reason every 15 minutes the timer goes back to 0 for some sessions and we can't ...
0
votes
0answers
8 views

How can I write a simple script for the Ubuntu terminal which turns off the screen for X seconds every Y minute?

I am quite tired of getting a headache when working with the screen for too long periods of time. That's why I want to test the following... How can I write a simple script for the Ubuntu terminal ...
0
votes
1answer
12 views

Files created in terminal are hidden in Dropbox

When I create text files in the terminal echo "TEXT" > ~/Dropbox/test.txt These files are hidden when Dropbox is accessed from another device. File permissions are set to 777.
1
vote
1answer
32 views

Complex alias command

I am trying to create a complex alias. I have a lot of servers I have to ssh to and writing the entire command is quite annoying some times. I created aliases for every machine: alias ...
1
vote
0answers
17 views

focus to newly opened terminal

I am using gnome-shell 3.14 on archlinux 3.17.3-1. I have a keyboard shortcut (ctrl+alt+T) to open an xfce4-terminal. My issue is that when I triger this shortcut the focus is not set the the newly ...
1
vote
0answers
11 views

Tracking down rogue terminal windows in OS X

I use iTerm 2 on OS X and suspect I may have a bunch of terminal windows running in the background and I would like to find and close them. When I open a new terminal window my CL looks like this: ...
0
votes
1answer
23 views

How to separate Vim themes for LUI and GUI with same general configuration?

I like twilight theme for my Vim, but this theme has 2 major versions, twilight256.vim dedicated for terminals and twilight.vim designed for graphical interfaces. I just wondering how to separate ...
0
votes
1answer
17 views

'hhighlighter' wrapper script saying command not found

I have gotten the wrapper script 'hhighlighter' from https://github.com/paoloantinori/hhighlighter which colors anything you want in stdout. I followed the instructions about installing ack-grep, ...
0
votes
1answer
56 views

Cron won't run my root script

I am on Ubuntu 14.04 (using Digital Ocean) trying run a script as root. It's a script to check if a server is running and restart if it has crashed. The issue isn't the script, but crontab won't run ...
0
votes
1answer
46 views

Cygwin Terminal backspace and arrow keys not working

The arrow keys returns A,B,C,D and my backspace key are not working properly . This problem happens only with the vi editor.Is there any way to solve this issue on Cygwin ? I did find possible ...
-1
votes
2answers
22 views

linux ls -l 5th column header size units?

after I ran this command in my linux terminal, ls -l I get the information listed in long file format. Below is an example of my output: drwxr-xr-x. 10 10011 10011 4096 Oct 14 18:51 ...
0
votes
0answers
16 views

Files don't open when I double click them. They will if I right click and select open

I changed my dot files to open with Sublime Text 3 instead of Text Edit. It sort of worked. I have to right click on them and choose open. They will not open by double clicking. Sublime still ...
0
votes
1answer
37 views

“broken pipe” after every terminal command

I’m running Mac OS X 10.10 (Yosemite) with iTerm2 and Oh-My-Zsh. After every command I run—even if the command is successful—I receive the error “broken pipe.” How can I troubleshoot what is ...
0
votes
1answer
27 views

Damaged preference file in /bin/sh

Today in Drive Genius 3, I ran the “Verify Preferences” function in Repair. It yielded this strange result: /bin/sh: xargs: command not found The only option Drive Genius gives is to remove the ...
0
votes
1answer
27 views

Are mysql records able to be accessed through terminal navigation?

By terminal navigation I mean being able to cd and ls through the file system From what I gather, all data storages have a file system (example: ext4) to manage your datastore. A terminal can expose ...
0
votes
1answer
21 views

I have a ~/.cshrc file that is sourcing another file, which should source an additional file but is not

I recently inherited an administration role for my lab and I'm still fairly new to this... so hopefully this question makes sense. Our system is set up so that one server hosts the data/user ...
0
votes
1answer
21 views

Sliding, docked Terminal window in OS X

In this video the author has an ever present Terminal window which he can hide (sliding to the bottom) and pull up with a hotkey or something. Does anyone know how to achieve this? It could greatly ...
0
votes
1answer
39 views

How to configure gnome-terminal to use xterm-256color by default?

When I start gnome-terminal and do echo $TERM, I got xterm as output. I want it to be xterm-256color I've considered the solution to add 'export TERM=xterm256color' in my .bashrc. But I don't like ...
0
votes
0answers
13 views

Cygwin terminal jumps into vi-mode when using back arrow, bug or config issue?

I'm new to Cygwin64 on Windows (Vista) and still working through optimizing the environment--while using it. I've already resolved Cygwin VIM editing issues by adding ~/.vimrc. In this problem, Cygwin ...
1
vote
1answer
57 views

GNU Screen/tmux equivalent for Windows for remote text console (not GUI) connections

Short question: is there any terminal multiplexer that runs in a Windows CMD shell? I suppose PowerShell could be enough too. Complete question: I have a Windows 7 SP1 on a powerful computer ...