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

0
votes
0answers
19 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
34 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 ...
2
votes
2answers
38 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
203 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
51 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
18 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
34 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
13 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
782 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
11 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
8 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
19 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
13 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, ...
5
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
22 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
9 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
27 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
38 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
30 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
176 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
6k 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 ...
16
votes
5answers
14k views

Can I use a chromebook as a ssh workstation?

For my work I develop and run a lot of software on remote clusters. Mostly I'm just using bash/vim over ssh and run only a terminal emulator and web browser locally. I was considering getting a ...
0
votes
2answers
3k views

bash ls command not found on mac osx

Having an issues with my terminal. Every time I tap in a command such as ls i get Patricks-MacBook-Pro:~ patrickwalsh$ ls -bash: ls: command not found Running export ...
4
votes
2answers
230 views

Unable to launch application in tmux

I get this error when I try to launch Sublime Text or SourceTree from tmux: $ subl Unable to launch Sublime Text 2 $ stree Unable to open SourceTree It seems that I can't open os x apps either: $ ...
-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, ...
8
votes
3answers
4k views

Spawn New Cygwin Window from Within Cygwin

I can't figure out how to launch a new Cygwin session from within Cygwin, similar to launching a new terminal from within bash with: gnome-terminal It's probably easy but I am missing something. ...
0
votes
0answers
36 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 ...
6
votes
6answers
3k views

Removing the escape characters from GNU Screen's screenlog.%n

Is it possible to remove the ESC sequences in GNU Screen's output file? Things such as colours, tabs and other escape characters make their way into the log files and become difficult to decipher. ...
3
votes
3answers
3k views

In the OSX Terminal, how do I open a file with a space in it's name?

There is a script I use that sets up virtual hosts for me and then opens up the url using safari, however, I'm trying to change the script so it opens up in Google Chrome instead. This line is giving ...
-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
31 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 ...
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, ...