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
1answer
73 views

Cronjob immediately shuts down mac after boot

I was messing around with cronjob trying to get it to forcibly shut down at a certain time everyday, but now I can't keep my computer on. It boots, loads whatever needs to load on startup, then ...
0
votes
0answers
89 views

Script to open mutliple terminals with multiple tabs each, move and resize these and execute commands

So I am trying to make a bashscript, which does the above mentioned. Background is that I have to keep an eye on lots of logs, and theres have to have opened many console side-by-side. E.g. one ...
0
votes
0answers
201 views

Kernel Panic removing sleepenabler kext through terminal

I have been struggling for hours now. I just cant find a way to find and delete the sleep enabler kext file. I am a noob with the terminal in the installation dvd, cant get to the folders where I need ...
0
votes
0answers
49 views

How does one install this mcrypt package?

I'm using MAC os x Mavericks, so after dlownload mcrypt-2.6.8, I decided to to configure ( per the recommendation of a dozen blogs ) like so : MACOSX_DEPLOYMENT_TARGET=10.9 CFLAGS='-O3 -fno-common ...
3
votes
1answer
49 views

Ubuntu Linux sudo groupadd option menu keeps showing

I'm a beginner to Ubuntu and Linux. Every time I try to do a groupadd in my Ubuntu terminal the options for groupadd show up and I dont know why. I enter this in my home directory: sudo groupadd –g ...
1
vote
0answers
44 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 ...
0
votes
3answers
67 views

Cannot save the output from a unix executable

I am attempting to save the output of an application I wrote. When I try to save the output by redirecting stdout the file that it results in is blank. This is what I am typing into Terminal.app (OS ...
0
votes
1answer
30 views

scp without leaving ssh

I happily use both ssh and scp. Quite often I am in an ssh session and I'd like to retrieve a file from my machine and put it in the directory I'm currently in without having to open a new terminal ...
1
vote
1answer
57 views

How to enter an existing R shell from command line linux

All, I'm accessing a remote server via SSH and running an R process on that server. We're in development right now, so it's important for me to enter the R shell and run line by line commands. Last ...
0
votes
0answers
33 views

Why does SVN 1.7 show on my mac (Mavericks)

I have installed SVN 1.8 on my mac (Mavericks) in /usr/local but when I do svn --version it still shows 1.7, I have added "export PATH=/usr/local:/usr/bin:$PATH" to "~/.bash_profile" and also loaded ...
4
votes
2answers
472 views

Enable 256 colors for cygwin under mintty?

I am using cygwin via mintty, which is the default. I installed ncurses. I then run these commands to see what my color pallet is for this terminal session: $ tput colors 8 I have googled but so ...
0
votes
1answer
23 views

Remove Certain Debug Output in terminal window

I am using Putty to connect to a unix server that spits out lots of debug. What I want to do is replace the following debug for example Getting pQuality pPtrQuality=0x588b90, len *** ...
0
votes
1answer
40 views

find files older than create its parent folder in a directory and move them there

I've been trying to create a bash script that does the following. Use the find command to search for files older than 7 days (find . -type f -mtime +7 ! -iname '.*', take the parent directory(of the ...
0
votes
0answers
58 views

After a couple of logins, I can no longer remote into a PC

I have a PC that I only "remote desktop" into. I'll do it a couple of times and it'll be fine. But then at some point (usually within a day), I wouldn't be able to terminal into it. When I try, a ...
0
votes
1answer
130 views

Verifying Certificate using Mac Terminal

In Mac Terminal, we can use the command security to do many things related to certificates. I'm trying to know how to verify a certificate using this command. I wrote security verify-cert [.pem ...
1
vote
0answers
73 views

OSX Mavericks .zshrc cannot source

I am trying to source my zshrc. It sources fine when before I add this line: . ~/Dropbox/configs/aliases Then I get this: /Users/mkrell/.zshrc:.:13: too many open files: Dropbox/configs/aliases ...
1
vote
1answer
202 views

Mac Terminal Permission Denied in my home folder after I changed hostname

Before this, I find my shell prefix is user@promote ~ $ here promote is my host name, and I changed it by sudo scutil --set Hostname desktop Now my shell prefix is user@desktop ~ $ however, ...
0
votes
1answer
35 views

Is there a serial terminal program that allows filtering the messages?

For the serial terminal program choices, we have hyperterminal and putty on Windows; minicom and screen on Linux/Mac. But as far as I know, none of these has the message filtering functionality as ...
0
votes
1answer
51 views

What variables I can place in a Putty Link?

I create a new link in Windows with the following target: "C:\Program Files (x86)\PuTTY\putty.exe" -ssh username -pw password Are there any other options I can add in that one link target? I am ...
0
votes
0answers
52 views

Ctrl-k does not copy to clipboard

I am used to using emacs type commands in terminals and now I discovered a funny behaviour in "konsole" that I cannot correct. I am using ctrl-k to cut the rest of the line from the cursor and in ...
0
votes
0answers
26 views

Can't start Byobu?

I can type this command byobu on the terminal and Byobu will start but when I click on the Gui icon it starts and closes fast. What I did before that is enable autolaunch and then disable it I thought ...
0
votes
1answer
1k views

$PATH - No such file or directory MAC OSX - Terminal

A million different version of this have been asked already, but I'm still lost, sorry. Here is some of what I'm getting back... In a terminal: $PATH -bash: ...
0
votes
0answers
34 views

Automate whois lookup with Automator

I would like to automate a whois query script using automator. And as I have read from a past Q&A, I've already done this: Get Specified Text xxx.xxx.xxx.xxx Run Shell Script for x in "$@"; ...
12
votes
3answers
1k views

How to access the terminal in Ubuntu GUI without a mouse

I have an embedded Ubuntu 12.04 system running with no monitor and I need to run a command in the terminal. I can connect a USB keyboard (or even a mouse, but a mouse would be difficult to use without ...
1
vote
1answer
25 views

Avoid command dump on terminal when hitting 'Ctrl' twice

Whenever I hit Ctrl twice in my terminal, a list of all the possible commands comes up and it takes some time to complete. How can I prevent this behavior?
0
votes
2answers
176 views

Cowsay doesn't say anything

Okay, I know this is kind of a stupid question to bring to the table here... but why not. I'm using OS X 10.9.2, Mavericks, and have installed cowsay in my terminal with $ sudo gem install cowsay and ...
1
vote
1answer
92 views

How to install gcc 4.4.7 on Mountain Lion

I need to install a specific version of the GNU GCC compiler, gcc 4.4.7, on my macbook, but I'm not sure how to do this. Most places I've found install later versions but I need to install that ...
0
votes
0answers
21 views

I looking for clear and concise steps to copy a regular DVD onto my Desktop then burn the copy to a blank DVD

I'm looking to insert a DVD/movie into the disk drive and copy it to my mac in a file formatted in a way that will allow me to insert a blank DVD and burn previously mentioned file onto just mentioned ...
12
votes
3answers
809 views

What does . .bashrc actually do?

When I enter a eg. a new alias into my .bashrc file I can't use it in that terminal window immediately and until recently I thought I had to restart the terminal to reload the .bashrc file. Then I ...
0
votes
1answer
132 views

Setting window title with iTerm and Fish

I want to set up a custom profile in iTerm2 that connects directly to a remote machine in tmux, with some custom SSH arguments. I have a fish function that does this, called "ss". When I have this ...
3
votes
2answers
95 views

How to create a file and insert a line in it using OS X terminal

How can I do the following using the terminal on OS X? Create a file named .inputrc in your home directory and put this line in it: set completion-ignore-case On
0
votes
1answer
31 views

Check current foreground terminal (“lsvt” like “chvt”)

"chvt N" lets me switch to foreground terminal N, the same as pushing alt-ctrl-FN. What command line program tells me what terminal I'm currently using?
1
vote
0answers
41 views

How to prevent mysql blobs from borking my terminal

When using the linux terminal client for mysql, every column with a blob prints out tons of control characters and the terminal has to be reset. This looks something like the following Map: �PNG ...
3
votes
1answer
88 views

Paste a URL in terminal using bash script on Ubuntu

I'm on Ubuntu 12.04. I need to write a Bash script which would automatically paste a URL to the terminal without having to press CtrlShiftV on the keyboard. The script contains the command: wget -O ...
0
votes
0answers
233 views

URxvt: vim and cursorColor [invisible cursor or invisible cursor text]

Introduction I've always used a light-background terminal and a dark-background editor (vim). On this I'm not willing to compromise. In any case, I've just switched from xterm to urxvt ($TERM == ...
0
votes
0answers
24 views

Why can't tmux bind my KeyRemap4MacBook mapping

I'm attempting to map some fancy keypresses to tmux commands using KeyRemap4MacBook and tmux bind. I have a KeyRemap4MacBook mapping that looks like: <item> <name>Test</name> ...
0
votes
2answers
442 views

How do I control TeamViewer in a Mac terminal?

I have TeamViewer installed (through the official GUI installer) under OS X on a PC. I'd like to find out the ID of said computer through SSH, which should be printed to terminal when I start ...
0
votes
2answers
48 views

'Detach' from program terminal Ubuntu

I mainly use Windows but was interested in messing around with Redis so I installed it on my netbook (running Ubuntu 12.10) and accessing it via SSH. I would like to start the Redis server then leave ...
1
vote
1answer
89 views

KDE Konsole resize window with bash command

I'm trying to write a bash-script that resizes my KDE-Konsole terminal-window when started. But I can't get it to work. VT-Terminal-codes don't seem to work properly. $ echo -e "\e[8;2;20t" shrinks ...
0
votes
1answer
49 views

How do I change an xterm window color on an already open window?

I have two xterm windows, window titled "A" and window titled "B". I'd like to be able to dynamically change the -bg color of "B" from the "A" terminal. something like: from xterm "A"... set ...
0
votes
1answer
38 views

one-way sync from common folders on various computers

I'm not sure if this is a duplicate, but I'm having a really hard time finding a precooked solution. I have a desktop with 1TB hard drive and 3 laptops with 256GB each. I download a lot of music to ...
2
votes
0answers
89 views

Coloured commands in terminal prompt

I've customized the prompt in my Mac terminal like this: export PS1="\[\e[31,1m\] \w $ \[\e[0m\] " This way I get the /working/directory $ in bold red, but I also want to get the command I execute ...
1
vote
0answers
135 views

Problems with tmux, mutt, and terminal colors

If I start mutt in a tmux session like this: $ tmux new-session -s mutt mutt Mutt complains: Error in /home/lars/.mutt/colors, line 20: 230: color not supported by term Error in ...
0
votes
1answer
17 views

Pbcopy sort of freezes (I can still type though)

If I use pbcopy on a small file, string or just run it, it doesn't do anything. Just gives me a blinking cursor. I am still able to type something but can only exit using ctrl-c. Is anyone familiar ...
0
votes
0answers
29 views

What environment variables are set when I use ssh?

When I use ssh, I notice that my TERM variable is forwarded automatically. This is quite useful, but I'm wondering what other variables are forwarded or set. So far I've found the following ...
0
votes
0answers
20 views

Can I receive “terminal” output through USB?

I've acquired my first SoC hardware, the only direct connectors being 2 USB ports and 1 DB-9 port. I know that the latter type has been used for a long time as a terminal connector, enabling direct ...
0
votes
0answers
46 views

File URL appears when hosting serial terminal

I'm using my Apple IIGS as a serial terminal (using Modem.MGR as a vt220 emulator) to OS X 10.9.2. I open the session by typing screen /dev/tty.usbserial 19200 on the Mac, and then Ctrl+A Shift+Colon ...
1
vote
2answers
122 views

Concise IP information in OS X Terminal

Is there a command for the OS X Terminal that shows you only the most vital IP configuration information about your machine? I know there is "ifconfig" but that brings up a bunch of (in most cases) ...
0
votes
2answers
55 views

How to display time in terminal instead of username@hostname?

In Ubuntu terminal you see: someone@workstation: as the prefix of each line. Is it possible to have the time displayed on each line? [current time]someone@workstation: The time will keep ...
0
votes
1answer
69 views

bash directory name with a space in CDPATH

I'm trying to set a shortcut so that I don't have to type a really long directory name so often. In ~/.bash_profile, I am doing something similar to: export ...