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

Running scripts independently on Raspberry Pi

I have a couple of python programs, such as one which checks if the Collatz Conjecture is applicable for a given number or not, and writes output to a file (it runs on a Raspberry Pi). Although I ...
2
votes
5answers
23k views

How to mount a drive from terminal in Ubuntu?

I want to mount a drive from terminal at startup. At startup if I use ls /media, I notice that it is empty. If I go to Computer and click on VM drive there, I can then see the VM driver in ls /media. ...
0
votes
1answer
25 views

Strange Vim/terminal use from ssh via Mac OSX

I am using terminal from a Mac OS X 10.10 (Yosemite) and SSH’ing into a fedora machine and am having a couple strange issues with the terminal: When I :q from vim, the contents of the vim screen is ...
1
vote
3answers
8k 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 ...
1
vote
0answers
12 views

Ctrl key not detected in Terminal

I have a preblem with my Mac Terminal. It is no longer able to detect the ctrl key, so I can't use anymore shortcuts like ^C to stop a running task, because when I press ctrl+C the terminal echoes ...
0
votes
0answers
4 views

xfce4-terminal Change shortcut for opening new tab

I recently am unable to open a new tab in xfce4 terminal by using the short cut Ctrl + Shift + t. It's strange because it used to work and now it only works when I use capital T, that is Ctrl + Shift ...
1
vote
1answer
15 views

How can I create a macro to compile a CoffeeScript file I am editing from inside VIM?

I am writing a lot of CoffeeScript in VIM and I compile it very frequently by typing : coffee -c %. How can I easily create a macro so I don’t need to keep typing this?
0
votes
1answer
47 views

File '1' in OS X

I found I have files named 1 with zero size all over the hard drive. Especially in frequently used directories. They are created again even if I delete them. I think it maybe has something to do with ...
0
votes
1answer
25 views

Is there a way to send and recieve text messages via a linux terminal? [on hold]

For the most part I am focused on Linux terminals and hate to look down on my Apple device; so I was wondering if there was a way to send and receive text messages in a command line. I have an iPod ...
1
vote
2answers
99 views

How to configure gnome-terminal to use xterm-256color by default?

When I start gnome-terminal and do echo $TERM, I got xterm as output. I want it to be xterm-256color I've considered the solution to add 'export TERM=xterm256color' in my .bashrc. But I don't like ...
5
votes
2answers
4k views

A top-down terminal [closed]

Does a top-down terminal exist for Mac OS, similar to Guake, YaKuake, or Tilda?
0
votes
1answer
23 views

Remote Desktop Connection: Don't connect to console

I've already seen the questions regarding connecting multiple different users from other machines into one server, but my question is a little different. I want to create a remote desktop session ...
18
votes
4answers
39k views

Release/renew IP address via Terminal in OS X

I am looking to release and renew my IP address in OS X 10.4 (Tiger) using Terminal. Essentially, I need the OS X equivalent of Windows': C:\\> ipconfig /release C:\\> ipconfig /renew ...
0
votes
3answers
479 views

How to delete all hidden .swp files from terminal

How can I delete all .swp files? I tried rm *.swp but I got rm: *.swp: No such file or directory rwxr-xr-x 16 teacher staff 544 Jan 17 13:19 . drwxr-xr-x 19 teacher staff 646 Jan 16 12:48 ...
-2
votes
0answers
9 views

Zsh prompt function

why it's doesn't work? setopt prompt_subst autoload -U colors && colors git_prompt() { temp=`git symbolic-ref HEAD 2>/dev/null | cut -d / -f 3` if [ "$temp" != "" ]; then ...
0
votes
1answer
10 views

How do I replace two lines each other in editor in Terminal?

I have this: pick 887b66f add 222 Dziewiecsil to flowers new title pick dc331cb new name of beginning commit And I want to get this: pick dc331cb new name of beginning commit pick 887b66f add 222 ...
0
votes
1answer
22 views

How to enable path folder in mac terminal

As You see when I put command "pwd" I'm in folder: MacBook-Grzeg% pwd /Users/Grzeg/ticket_managment But my terminal still show only that's: MacBook-Grzeg% Now as you can see I have ...
0
votes
0answers
9 views

Ruby RuntimeError on launching terminal (Mac)

Whenever I open the terminal on Mac I get this error: /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby: invalid option --1 (-h will show valid options) (RuntimeError) ...
11
votes
1answer
8k views

Using SCP or SFTP with my ssh config file?

Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
0
votes
0answers
7 views

Change iTerm settings using defaults

I have to set custom hotkeys in iTerm (in order for my option-left and option-right keys to work properly, and I'm looking for a way to do this via the command line so I can script it. I've ...
0
votes
1answer
37 views

What I'm doing wrong with this Wacom Driver installation?

I'm trying to install Linux Wacom Drivers on Lubuntu 14 (32bit) but they never work on my Motion LE 1700 Tablet PC. This a computer/tablet, the pen is detected directly on the screen and is not ...
1
vote
1answer
25 views

Abort Printing of Huge Amounts of Text in Terminal

This has happened to me in a variety of instances: Sometimes I accidentally copy/paste the wrong thing into vim, and then I have to wait around 10 minutes for it to print through all that text. I ...
1
vote
2answers
10k 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
vote
1answer
23 views

chmod throws missing operand on 764, OK on 664

Having set everything in my project to 777 (rwxrwxrwx) for debugging purposes, I wanted to dial down the openness and set the directories (not the files) in the root folder to 664 (rw-rw-r--). To do ...
0
votes
1answer
16 views

Scrolling in terminal (OS X) when running tail -f and ssh-ed into a machine yields some strange characters

I'm ssh-ed into a remote machine and running tail -f. Every time I scroll up/down using the trackpad, it yields some strange characters, like OB^[OB^[OB^[OB^[OB^[OOB^[OB^[OB^[OB^[OB^[O This didn't ...
0
votes
2answers
36 views

Changed home folder name and lost everything

I tried to change the home folder name on my mac by using this sudo code in the terminal: sudo mv /Users/old_name /Users/new_name And I lost everything, every document, every file. Its like my user ...
0
votes
1answer
8 views

In a single terminal window capture the command to start a.out 3 times each running as background job

On linux terminal window is there a way i can start a program like ./a.out 3 times each running as background jobs. I was told that IO redirection is helpful.
0
votes
1answer
15 views

How to call in one line multiple processes in serie

If I run the following script with 3 lines: process1 process2 process3 then process2 will wait for process1 to start, and the same will happen with process3. How can I do the same in only one line ...
2
votes
1answer
759 views

How can I make OSX terminal tab names the same as .ssh/config host aliases

Setting up a .ssh/config is a great time saver. The host aliases with user defined names make it easier keep track servers and key files. However, the OSX terminal tab names are displaying what ever ...
1
vote
2answers
16 views

Mac Terminal File Rename Randomly

What is the best way to rename files for example .JPG & .jpg at the same time. I have looked on here and google and come across things like below but is there a way to cover both? Script: for i ...
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
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 ...
0
votes
0answers
8 views

How to jump to the bottom of the terminal input history after a long lookback?

I usually browse my terminal history really far into the past by pressing the ↑ key to to find something, and after I got that I would like to go to the bottom of the input history, to the now empty ...
4
votes
1answer
3k views

Mac Terminal 'cd' to a folder alias

I have created an alias of a folder called 'htdocs alias' and when i type in terminal cd 'htdocs alias' or cd htdocs\ alias it doesnt work? any reasons why this is happening? or any suggestions to ...
0
votes
0answers
19 views

How to change cursor in Ubuntu Server

I have Ubuntu server installed on my system without x. I was wondering how I could change the cursor type to blinking I beam preferably without installing anything.
1
vote
1answer
18 views

Does closing xterm terminate command running on remote host?

I'm using Linux a lot, but I'm confused with it. Maybe it is stupid question, but whatever. I'v logged in xterm to remote host by ssh. Now on the remote host i started command (rsync, a lot of data is ...
0
votes
0answers
16 views

Top -l returning always 0.0 CPU usage when requesting single PID

On Mac OS X 10.9 (Mavericks) & 10.10 Yosemite I’m unable to get the correct CPU usage for a single process using the top -l command for example top -l 1 -ncols 3 -pid <pid> Even though I ...
0
votes
0answers
24 views

MacOSX Terminal with MYSQL command line how to highlight and copy/paste

Is there a default keyboard command when using the Terminal on MacOSX while in MYSQL command line for highlighting and copying/pasting text? I'm looking for a native solution without having to use ...
0
votes
1answer
39 views

iTerm/zsh not reading .bashrc OR .bash_profile

In ~/.bash_profile I have : if [ -f ~/.bashrc ]; then source ~/.bashrc fi In ~/.bashrc I have some aliases When I load a new iTerm window, my aliases do not work. If I source ~/.bashrc they ...
0
votes
1answer
21 views

Vim colorscheme not displaying properly

I realize that questions about Vim colorschemes have been asked quite frequently, but I believe I've tried the advice in all of them and I can't quite seem to get my colorschemes to work. That being ...
0
votes
2answers
34 views

How to run a command in a new gnome-terminal?

I want to run some commands on some servers. So, I created a bash file: #!/bin/sh for n in `cat ~/nodes`; do gnome-terminal -x ssh root@$n ANYCOMMAND done The connections are ...
0
votes
0answers
13 views

wrong MC colors when launched via xterm -e mc

I use ini-customized color theme in Midnight Commander 4.8. [Colors] base_color=linux:normal=cyan,rgb002:input=white,cyan:inputunchanged=black,cyan:dhotnormal=red When I launch xterm and then ...
1
vote
1answer
45 views

use sudo -s but show current folder name

Is there a way to use sudo -sbut keeping the current folder name in prompt? I want to see jw:documents nescalante$ instead of bash-3.2# when using sudo -s. Thanks!
1
vote
1answer
55 views

How to preserve path in a new tab in the gnome terminal?

At work I am using Ubuntu GNU/Linux 14.04. When I open a new tab in the gnome terminal, the working directory of the new shell is the same as in the terminal where I have pressed CTRL-SHIFT-T. At ...
11
votes
1answer
10k views

How do I use Split in the Mac OS X Terminal to split files directly to another directory?

How do I use the OS X Terminal command split to split a file into several pieces, and store them in a different folder, on a different drive? The reason is that I need to move files to a FAT32 ...
1
vote
2answers
12k views

How to connect bluetooth headset via command line on ubuntu 12.04

I want to connect my computer to bluetooth headset. My computer has ubuntu 12.04 64 bits server operating system with no gui. So I must connect my computer via command line. But at internet ...
0
votes
1answer
7 views

Making text color lighter in a fedora terminal using a dark background

In a fedora distribution, When you use a dark background, colored text are too dark to offer a good contrast. How do you fix that?
1
vote
3answers
412 views

Git for Windows: Run vim in background without ampersand (&)

On my Windows machine, running gVim appears to tie up the git for windows shell, whereas if I run from the command prompt, this is not the case. How might I be able to run gVim (or any other program, ...
23
votes
5answers
6k views

Can you disable the Ctrl-S (XOFF) keystroke in Putty?

I do a lot of ssh-ing, and periodically I hit Ctrl+S, which naturally sends an XOFF, and causes all kinds of problems (not to mention it takes a while for me to figure out what happened, then another ...
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 ...