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

3
votes
3answers
141 views

how to select nth result on command line without using mouse

I got this alias for searching for a file recursively and case insensitive type fr fr is aliased to `find . | grep -i' and so let's say i'm searching for a file fr nsstring+util ...
1
vote
2answers
9k views

How to get IP address of all users on a network on Mac OSX

There is a similar question here, but it doesn’t answer some of my questions. The biggest problem is it says to fill in “MyOtherMac” with the name of the other computer found in the first step. The ...
-1
votes
0answers
17 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
16 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 ...
3
votes
2answers
3k views

How to add commands of windows to local shell of XShell 4

XShell is a very powerful tools to ssh remote computers such as Unix/Linux. And it has built some internal commands for you to run within your Windows. Xshell:\> help Internal Commands: new: ...
0
votes
1answer
32 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
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
35 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 ...
13
votes
2answers
71k views

How to stop a process in Terminal [duplicate]

Possible Duplicate: Ending a process in unix instead of interrupting it When I task in Terminal, such as ping blah.com, how do I then stop this task (other than closing the Terminal window. ...
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
0answers
41 views

Cannot enter terminal commands in PowerCmd

I recently started using PowerCmd. When I type "python" or "node" in PowerCmd I get into the respective terminal but I don't see what I type. It does appear however when I Ctrl+c to quit the terminal. ...
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
25 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
2answers
2k views

What command lists the files created in a specific month and is readable for the owner?

I am supposed to find the command that lists all the files created in September and are readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I will ...
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
1answer
208 views

Using Terminal to copy Aperture files from external hard drive to Mac

I'm a novice Mac user who inherited photo equipment from my photographer Dad. He used Aperture to manage his thousands of photos. I tried copying a 20 gB file to my computer but it's failed each ...
0
votes
1answer
53 views

Cancelling shutdown -h command on Mac

I usually use the command sudo shutdown -h +60 from the Terminal on my Mac. Although I'd like sometime to cancel the scheduled shutdown or postpone it. Is there a command to do so? If yes, how?
7
votes
3answers
11k views

How can I get Mac OS X's proxy information in a Bash script?

I have several network locations set up on my laptop: Work, Home, etc. The work one(s) all have a proxy server set up, while the others don't. This works fine for OSX applications -- Safari, Mail, ...
0
votes
1answer
20 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 ...
0
votes
1answer
43 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
2k views

Mac Shows Java 6 in Terminal After Installing Java 7

I am trying to run a server that requires Java 7 using terminal. After installing Java 7, typing java -version in terminal still shows Java 6. Previously, I would use the Java Preferences ...
0
votes
1answer
4k views

How to use remote microphone on Remote Desktop

I wish to connect to a remote Windows 7 PC that has a microphone, and use that local microphone (on the destination PC) in recording applications. Unfortunately whenever I connect on Remote Desktop, ...
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 ...
2
votes
2answers
788 views

Allowing the terminal to write Arabic

How can allow the terminal on Linux to write Arabic without reversing its words? For example, when I write "زمالك" it is written from left to right. How can I fix this?
0
votes
1answer
19 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
1answer
4k views

How to make PuTTY's font automatically change color (while connected to a Linux server) as I did with Windows cmd.exe using a background batch script?

I was able to create a Windows Command Prompt that automatically changes its text color on a white background every ~1.5 seconds, thanks to the help of @dbenham and @Woody. I also use PuTTY every day, ...
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
25 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, ...
6
votes
2answers
8k views

Is Windows PowerShell as powerful as the terminal of Unix/Linux? [closed]

Is Windows PowerShell as powerful and efficient as Linux' terminal? People offline tell me, without explaining much, that Windows PowerShell is an attempt to make Unix administrators feel more ...
0
votes
1answer
32 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: ...
14
votes
2answers
11k views

How do I properly set wget to download only new files?

Let's say there's an url, let's call it http://www.some-url.com/folder/ This location has directory listing enabled, therefore I can do this: wget -r -np http://www.some-url.com/folder/ To ...
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
0answers
13 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 ...
3
votes
2answers
1k views

How to get backward and forward word keyboard shortcuts working in a Mac OSX Terminal

I miss being able to use Alt-B and Alt-F for backward and forward word in a Mac Terminal window (and any editor really). Is there a way to enable them; currently they print the symbols ∫ƒ instead, ...
19
votes
1answer
19k views

How to send the escape character on OS X terminal?

Connecting with telnet looks like this: $ telnet some.host Trying 10.1.2.3... Connected to some.host. Escape character is '^]'. I'm running this on the OS X Leopard terminal. Question is, how do I ...
0
votes
2answers
3k views

scp all files ending '-123.jpg' - recursion, spaces, wildcards …

There's too much going on for me to get my noobie head around here. I'm wanting to download all files that end -123.jpg from a multitude of nested directories on a remote server. Some of these ...
16
votes
4answers
13k views

Clear terminal using keyboard shortcut

I was curious if there is a way to clear the terminal buffer/output through some keyboard shortcut. I am using Ubuntu. I am aware that Ctrl + L clears the terminal, but you can still scroll back 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 ...
5
votes
3answers
5k views

How to prevent the “Symbol's function definition is void: error” when running emacs in the console?

To disable the scrollbar in emacs I added (toggle-scroll-bar -1) to the my .emacs file and it works great when I run emacs outside of console mode. However when I run emacs in the terminal I get the ...
2
votes
2answers
180 views

Tmux - Check if server is up

Is there any known tmux-function, like tmux has-session -t <session>, but to check if the tmux server is currently running? It would be handy when writing automation-scripts. When checking if a ...
1
vote
3answers
7k views

Kali Linux and Bootloader problems

At first I was using Windows 8.1... I downloaded Kali and put it on flash memory. The options got me to either: -Browse live -Install I browsed it live a little then went to installation. Grub ...
5
votes
2answers
4k views

How to drop all MySQL tables from the command-line?

Usually I open Terminal.app and connect to a remote MySQL database. Then I use this command to drop a table: mysql> drop table [table name]; But what I need is the command line to drop all ...