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
11 views

Commandline arguments in Mac OSX

In linux I can do something like this: rm test.txt -f On Mac however, I get the following error: rm test -f rm: -f: No such file or directory Is there a way to fix this?
0
votes
0answers
5 views

tmux Meta-N not working

Recently, M-2 (and the other M-N's) have stopped working for me in tmux. M-Up, M-Down, etc still work. It only seems to affect the M-NumberKey key chords. I can run: select-layout even-vertical ...
2
votes
1answer
26 views

How do I rename the computer name/root in Mac OSX

I'm new to Mac. I would like to rename the computer name/root title that shows up when I open the terminal. Usually it's like computername:~ xxx$ Any and all help is appreciated!
2
votes
1answer
301 views

What's the terminal command for auto pressing [Y]?

for ex: if I do like sudo apt-get upgrade Then I might get the y/n question before installing an update. What's the parameter to auto accept it.
0
votes
0answers
8 views

com.user.loginscript[ ]): Exited with code: 1

Whenever we restart our server it changes our DNS and apache settings. I haven't been able to figure out why, so I wrote a quick script to restore these to safe settings on login to fix Mac OS X ...
3
votes
1answer
50 views

What does Shift+Enter do in a terminal, and can I disable it in Vim?

Everyone once in a while while in insert mode in Vim, I'd be happily typing along, when all of a sudden I'd be thrown out of insert mode and my last edit undone after hitting a certain key ...
1
vote
1answer
23 views

Install Ubuntu server on one computer, then soon as possible control it (via terminal) through another

I tried to set up a home network the other day, and wanted to set my old computer up as a file server. So, I installed ubuntu server on it. Once installed and logged in, I realsied that some of the ...
0
votes
1answer
23 views

How to pin information to the top of a terminal window on Mac OSX

I've seen demos where folks have had a Mac OSX terminal where the current time + username + directory are afixed (like 'freeze rows' in excel) to the top of the terminal window (not in the title bar), ...
1
vote
2answers
29 views

Batch output md5 with corresponding file name to text file

I'm trying to output to a text file a md5 checksum of each file in a folder in this specific format: checksumhash1 *NameOfFile1.ext checksumhash2 *NameOfFile2.ext checksumhash3 *NameOfFile3.ext ...
0
votes
0answers
6 views

Unmap Ctrl (shift) tab hotkey to switch tabs in MTPuTTY

In MTPuTTY, Control+Tab and Control-Shift-Tab are the default hotkeys for changing terminal tabs. However, there doesn't seem to be any way to unmap these hotkeys from the "Hot keys" menu. Is it ...
1
vote
1answer
92 views

I'm not terminal literate, and I think I did something wrong

I was trying to resolve an issue I had with Adobe Illustrator on OS X Mavericks, and was told to type this into the terminal: sudo touch /etc/launchd.conf It did not fix the issue, but it did slow ...
0
votes
0answers
12 views

Fonts not displaying well, Linux

I downloaded a set of truetype fonts and copied them to /usr/share/font/truetype, I gave them a 644 permission and did fc-cache -f but they are still not displaying. It is a fixed-width font and I ...
0
votes
1answer
27 views

Change screenshot default name

How can I change the default screenshot name, to whatever I have written on Preview search tool at the time of the screenshot. As a function on terminal or as a script. Using OS X Mavericks. Thanks in ...
0
votes
1answer
36 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
11 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
22 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
12 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
14 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 ...
0
votes
0answers
20 views

How to find the currently running app from terminal on OS X?

I'm writing a shell script runs in the background and monitors user activity. I'd like to be able to capture current application/document if possible. How can I do that?
1
vote
0answers
30 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
40 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
17 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
22 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
12 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 ...
1
vote
2answers
25 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
9 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
18 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
29 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
27 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
34 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
35 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
19 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
27 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
25 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
16 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
65 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
18 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 "$@"; ...
11
votes
3answers
876 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
23 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
34 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
29 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
14 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
723 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
25 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
30 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
20 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
20 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 ...
2
votes
1answer
64 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
48 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
8 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> ...