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

How do I supress date/time display in GNU Screen vertical splits?

I am using a copy of GNU Screen packaged for Fedora 18. I copied these neat lines over onto my .screenrc, to show me the host/date-time/windows: # Neat status bar on the bottom of the screen caption ...
0
votes
1answer
181 views

Is it possible to get a “reverse video” effect for selected text when using iTerm2 (like gnome-terminal)?

I've been developing in linux at my day job for the past year or so and while I'm quite happy to be back in OS X I'm missing some features from Ubuntu/Gnome. Is it possible to get the reverse video ...
3
votes
3answers
8k views

New terminal window (duplicate session) from Putty command line?

Being on Windows and accessing Linux via Putty, is it possible to spawn new terminal (Putty) window from the command line? I.e. to send something to Linux, while responding on which, it initiate new ...
3
votes
1answer
4k views

in linux console, how to NOT wrap output

In a (linux) terminal, sometimes it is less important to see line endings, but more important not to clutter the line startings. e.g. line1 sddd dd ddd line2 sdafss ss s line 3 da aaaa aa rather ...
0
votes
1answer
191 views

A way to paste predefined list of text in bash script to browser?

I am looking for a way in bash to paste a few lines (which will be selected in a loop) to a form on a webpage at a certain location (i.e to a specific field on a page). Is this possible? Hope I've ...
3
votes
1answer
3k views

Error when installing and trying to get version of SASS via Terminal

Not sure what is going on, I was able to install git via the terminal (had to create a bash_profile). Now I installed ruby and did install sass. However when I did sass --version I got a bash error? ...
1
vote
1answer
258 views

enabling options from shopt terminal output in ubuntu server 12.4 LTS

I just installed Ubuntu Server and is typical of Ubuntu Installs (for me anyway) I'm lost. With the Desktop version I can never figure out the sudoers file and wheel group through SELinux, but this ...
1
vote
1answer
212 views

Avoiding accidental 'rm' disasters

Today, using sudo -s, I wanted to rm -R ./lib/, but I actually rm -R /lib/. I had to reinstall my OS (Mint 15) and re-download and re-configure all my packages. Not fun. How can I avoid similar ...
0
votes
2answers
191 views

What files does the mac terminal load first?

A while ago I installed a program called "j" for the terminal. It was supposed to make things simpler. However, after a while of using it I decided I didn't really need it and trashed it. Now ever ...
2
votes
1answer
523 views

Get Time Machine's current state in terminal

I'm wondering if there's any way to get the current status of Time Machine's backup process in terminal. I'm interested in whether backup is in progress (or not) and what its percentage of completion ...
0
votes
1answer
106 views

Attach screen on a running terminal

I have a long running process in a (virtual) terminal that unfortunately was not started in a (gnu) screen session. Is there a way to migrate it in a screen session? (obviously, without stopping it) ...
0
votes
1answer
2k views

Mac terminal couldn't access network

My Macbook pro use a proxy server to connect to Internet, and using safari ,I can visit the website. Now I'm installing Macports, and it needs to connect to the internet, but the terminal just can't ...
1
vote
1answer
2k views

Git / Terminal: How to remove file from inside folder?

I have a .svn folder from another project which committed by accident when I committed the whole project folder. How would you remove the .svn folder from a path like projects/projectname/js/.svn ? ...
16
votes
2answers
12k views

Play sound on mac terminal

I have a script running in the background and sends me an alert every few minutes. I want the alert to be in the form of a beep. Question: How can I play a beep in mac terminal?
2
votes
0answers
2k views

Close a specific Chrome tab in Ubuntu/Linux using terminal command

Is there a way to close a specific Chrome tab with a terminal command? I tried below commands: kill -9 <pid of Chrome tab>: Instead of closing a tab, it kills the tab ("He's dead Jim" message ...
0
votes
1answer
754 views

Locking a GNU-screen session after x minutes of non-use on Linux

I have a couple of services running in a GNU-screen session on top of Bash. Because one of the services contain sensitive data I have to constantly either close the terminal completely or lock the ...
0
votes
1answer
129 views

Save Linux aliases for later usage

After repeating an Arch Linux installation for several times I started to wonder whether I could make things easier for me in the future by taking some general commands that I am bound to use again ...
2
votes
2answers
448 views

gnome-terminal - color palette

I'm trying to assign color palette on my gnome-terminal but it doesn't change at all... any clue? Screenshot > http://i.imgur.com/MXXhoOo.jpg Aditional info: Fedora 18 64bits (shiny new) GNOME ...
0
votes
0answers
24 views

How can I get a *diiferent look* when I'm working on a remote server [duplicate]

Preamble (feel free to skip) This is question is (mostly) a duplicate of: How can I change my (Linux) terminal's appearance when I SSH in to a remote machine? Yes, it would make more sense to ...
2
votes
1answer
3k views

Remove file extension in OS X using Terminal

Problem: I have some 200+ files named something in line with "DSC01852.JPG.jpg". I would like to remove the file extension so the result becomes "DSC01852.JPG". Any suggestions? I looked at the mv ...
-1
votes
0answers
2k views

Does this Terminal output indicate a that a keylogger has been installed on this Mac? [closed]

A friend is concerned that a keylogger has been installed on their machine, a Mac running MacOS 10.7. I have the following Terminal output. Do any of you spot any indication of keylogging apps ...
0
votes
0answers
175 views

How did Linux get on sdc when I insalled it on sdb

I typed $fdisk -l into the terminal to see my partitions. When I installed Linux I installed it on sdb, which shows up, but for some reason it says Linux under sdc. This is what it looks like. ...
1
vote
2answers
405 views

How to disable EMACS - Prelude colors? (terminal)

I've used PRELUDE to work better in terminal, but I'd love to work with my default Terminal theme(colors). Zenburn-theme comes default with Prelude but It just work great the first time i run emacs ...
2
votes
1answer
393 views

How can I open an application using the command line and then close the terminal without closing the opened application?

If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application. Is there a way to open an ...
0
votes
2answers
8k views

How to exit VIM and get back to 'normal' terminal?

I did find this answer here: Vim Stuck In Insert Mode However none of the commands listed worked for me. Exit, cntrl + [, cntrl + q I'm a totally terminal newb, trying to learn how to setup git ...
0
votes
1answer
627 views

How to save module configuration in Linux Terminal

I'm following a tutorial to boot Linux from usb3.0. I stumbled across this tutorial: http://evilshit.wordpress.com/2012/06/29/how-to-install-ubuntu-server-on-a-usb-3-0-stick-and-boot-that-stick/ In ...
1
vote
1answer
695 views

How to find device node on Mac OS X

I'm trying to get a Roland iModela to work on my Mac. Even if stated otherwise by the manufacturer this machine is able to be run by other OS than Windows. I already got it working on a Linux with cat ...
2
votes
4answers
5k views

Is it possible to run software as a different user under OS X Mountain Lion?

I've been trying to run apps as a different user. Attempt 1 sudo -u otheruser open /Applications/TextEdit.app launches the app but it uses the current user, not otheruser. Attempt 2 login username ...
4
votes
3answers
3k views

How can I change my (Linux) terminal's appearance when I SSH in to a remote machine?

I sometimes find myself with several terminals open, some of which are ssh-ed in to other (production) machines. If I run a command like "drop all tables in the database" on one of those ssh-ed ...
0
votes
1answer
141 views

Prevent users from being able to pipe output to another users terminal?

So currently on this server if two people are logged into the same server, you can do something like: -bash-4.1$ cat /dev/urandom | write username It will print a bunch of junk to their terminal. I ...
0
votes
2answers
42 views

Shell command doesn't work with # in it

This is my shell command: sudo sh -c "echo "#" > /file" But it doensn't work but this does work: sudo sh -c "echo "hi" > /file" How can I fix this, because the # needs to be in it.
3
votes
2answers
205 views

Place contents of last command line output into clipboard

I want to be able to run a command in my Terminal, and then quickly be able to copy the contents of the output into my clipboard without leaving my keyboard. Is there any way to do this?
0
votes
2answers
324 views

How can I get the terminal in full resolution when running Ubuntu CLI in VirtualBox?

I've installed Ubuntu (latest version) with CLI only, inside VirtualBox running in Windows 7 x64. Switching to fullscreen (CTRL + F in my setup) works, but of course the terminal windows has a low ...
8
votes
1answer
357 views

How can you reverse the direction of alt-period in Bash?

In Bash, you can press Alt-. to insert the last argument of the previous command. If you press it multiple times, it cycles through the last arguments of all of the commands in your history. However, ...
0
votes
0answers
33 views

Certain actions in Terminal.app in OS X cause noise in audio/video streaming

If I'm listening to something in Pandora or YouTube, and I'm in Terminal.app in OS X 10.7.5, if I use the up arrow to scroll through bash command history, then that works fine with no noises. But, if ...
0
votes
3answers
800 views

How do I remotely execute scripts on multiple servers, mix output

Hi I'm looking for a piece of software or some sort of technique that would enable me to do following in one terminal window: Take as input a list of ssh-enabled machines with login, password and ...
1
vote
1answer
652 views

How do I get Homebrew to recognize my Git install?

I've installed Homebrew and fixed all of the errors that brew doctor reports, except this one: martinjames$ brew doctor Warning: An outdated version of Git was detected in your PATH. Git 1.7.10 or ...
1
vote
0answers
333 views

How can I display/print the raw bytes of a file? [closed]

Have a way on terminal of print bytes of an archive? for example: $printBytes file.txt $01010001 01000100 01010001 01000100 01010001 01000100 01010001 01000100 01010001 01000100
0
votes
1answer
3k views

Terminal not listing Applications folder

The problem that I am running into is that when I cd into my Applications folder and try to ls to see all my folders it doesn't show anything. This is the only directory that does this as I am able to ...
0
votes
3answers
87 views

Connecting ssh from ubuntu

I want to connect to ssh from ubuntu terminal but I don't know how. I have searched it on google but I don't understand. I have an ip adress, username and password. If someone can explain to me how ...
0
votes
1answer
255 views

How to use axel or aria2 for apt-get?

I have a beauty debian :P and 6Mb p/s Internet. But when I will download install a package from repo download speed is very slow (40kb p/s). And when I will download a package from web page I ...
1
vote
1answer
386 views

Can't run 'rails' inside Tmux session in Terminal

I just tried rails inside a tmux session in iTerm2 and it returns as -bash: /usr/bin/rails: /usr/bin/ruby: bad interpreter: No such file or directory I can run rails outside of tmux . I am using ...
1
vote
2answers
1k views

Adding highlight to ubuntu terminal

My current terminal looks like this: I know that I can change the font colour and the background colour, but I wanted to know if I can make the words be highlighted according to what they are ...
0
votes
1answer
187 views

Do all the scripts that are run in “rc.local” display results on the terminal or do they just run in the background?

Do all the scripts that are run in rc.local display results on the terminal or do they just run in the background? What if I want the scripts to run before the startup and wait for the user input to ...
0
votes
1answer
361 views

How do I use tar to transfer through ssh on a non standard port?

I am trying to transfer all files from within a directory through tar as follows: tar cz * | ssh -p 57310 root@example.com tar xzv -C /home/site/www and the error that is returned is stdin: is not ...
8
votes
6answers
855 views

In Bash (Mac/Linux terminal shell), can the up and down arrow keys be made to function as they do in text editors?

In text editors, if I press the up and down arrow keys, it moves the cursor between lines of text. In Bash, if I’m typing a long command that spans multiple lines and I press the up and down arrow ...
2
votes
2answers
4k views

Execute a command every time Terminal is open

I'm on Ubuntu 13.04 and I'd like to configure my terminal, so that every time a new tab/window is open, it executes the following command automatically and right away. /bin/bash --login How could ...
0
votes
1answer
300 views

Setting GNU Screen to send escape codes to outer terminal on TI

I’m using GNU Screen inside mintty. To get the scroll wheel to work, I had to switch the mintty scroll wheel mode with an escape code (^[[?7787h). This has the effect that the scroll wheel does not ...
1
vote
2answers
814 views

How can I restore the permissions of my “/usr” folder?

I accidentally set the permission of my hidden 'usr' to 'no access' (meant read only). Now no applications can open (they just bounce). When trying to sudo cd or ls in terminal, I simply get: ...
3
votes
1answer
1k views

Understanding the terminal and shell interaction

For a long while my understanding about a terminal in unix-like systems has been that it launches the shell process and provides a user interface to it by communicating with it over it's stdin, stdout ...