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

Strange Vim/terminal use from ssh via Mac OSX

I am using terminal from a Mac OSX (Yosemite) and ssh'ing into a fedora machine and am having a couple strange issues with the terminal: (1) When I :q from vim, the contents of the vim screen is ...
0
votes
0answers
17 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
20 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 ...
0
votes
1answer
18 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 ...
-1
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
9 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
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) ...
0
votes
0answers
5 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 ...
1
vote
1answer
20 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
2answers
34 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
34 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 ...
0
votes
1answer
13 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
1answer
14 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 ...
1
vote
2answers
15 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 ...
0
votes
0answers
7 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 ...
0
votes
0answers
18 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
17 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
15 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
23 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
21 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
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 ...
0
votes
1answer
19 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
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 ...
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!
0
votes
1answer
6 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
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 ...
0
votes
1answer
22 views

terminal previous history command overwrite characters

I have a weird behavior in my terminal (bash). When I CTRL-P, then try to insert some text at some position, the following characters overwritten. Not really overwritten but my terminal dont show ...
1
vote
2answers
17 views

Is it possible to batch test a list of proxy in terminal?

traditionally testing a proxy is to use telnet to connect a proxy server and then connect a url to see if the proxy is up and running. Is it possible to test, let's say a list of 100 proxies, to a ...
1
vote
1answer
21 views

Terminal/Bash session manager

Is there a session manager for multi-tabs bash sessions, similar to how Google Chrome manages web surfing sessions? What I'm looking for is the ability to store and restore the shell tabs (I'm ...
0
votes
0answers
34 views

Error using Putty when connected to a Windows server 2003

I am using Putty to connect to Freesshd running on windows server 2003. I can connect ok, the server log confirms that and confirms shell service is granted. At the putty end I get a terminal ...
1
vote
2answers
24 views

List DPI of all images in folder

I'm running Linux Mint 17. I need a way to list the DPIs of every .png image inside a folder. I've tried the commands: file *.png identify *png exiv2 *.png but none print out explicitly the DPI ...
0
votes
2answers
32 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
1answer
19 views

Simplest way to send characters to USB serial device on Mac using script

I have a simple serial device that I need to talk to (but not listen to) periodically via command. The device is connected OK as /dev/usbxxx. What is the simplest/easiest way to do this? Installing ...
0
votes
2answers
31 views

Is there a (linux) terminal character picker?

I want something like gucharmap that works in a terminal and lets me search. A manpage with all the unicode character names would suffice, as would an ncurses application. I couldn't find something ...
0
votes
1answer
51 views

Use Proxy in terminal [closed]

The Indian DoT have decided to block github.com, pastbin.com and similar services in india. I use zenmate in firefox and chrome to access these site but I can not use commands like git clone npm ...
0
votes
0answers
11 views

getfattr format output to separate values of files by space or comma

I am using setfattr to store tags of files. Like: setfattr --name=user.tags --value="tag1, tag2" test2 setfattr --name=user.tags --value="tag3, tag2" test3 But getfattr --recursive --only-values -n ...
0
votes
0answers
12 views

pip not working on terminal prompt, but pip3 is

I am very new to python and pip, and taking online courses. It is not a major issue (but want to understand why it is the case). Why I type in pip I get: Dhruv’s MacBook Pro:~ dhruv$ pip -bash: ...
0
votes
1answer
15 views

Why does Console2 return the cursor at weird offsets?

Since I have insufficient reputation to post images, here is a screenshot where I type "quit" repeatedly within ghci. This behavior occurs when using both PowerShell and cmd.exe. The settings for ...
0
votes
0answers
18 views

Linux file “.bash_eternal_history” truncated?

I wanted to save all of my terminal activity on my linux system (ubuntu 14.04 LTS), so I read about the existence of the ".bash_history" and ".bash_eternal_history files". I read from here an ...
2
votes
2answers
22 views

How do I restore input echoing in the terminal?

Sometimes when a script gets killed at a password prompt, I can no longer see my input being echoed in the terminal. That is, normally at a terminal, I see this: $ _ <after typing 'foobar':> $ ...
0
votes
0answers
30 views

Ubuntu terminal : cd directory returning directory name with backslash.Why?

I have got only one folder named "My_Folder" in my home directory.When i use terminal to change directory: cd My //after entering My when I press TAB this returns... cd \My_Folder/ It changes ...
0
votes
1answer
48 views

none of the commands work in linux terminal

All of a sudden I can't execute any command in my debian terminal: pi@rpi ~ $ ls -bash: ls: command not found or pi@rpi ~ $ sudo omxplayer -r -o hdmi mymovie.mkv -bash: /usr/bin/sudo: No such file ...
0
votes
1answer
15 views

Mac .bash_profile.save How to make it run by itself / where to actually change paths

trying to change my path for Ruby / SASS. I have always used a file in my home called '.bash_profile.save' In there I have the export paths which work fine but only when I run: source ...
3
votes
3answers
168 views

how to select nth result on command line without using mouse

I got this alias for searching for a file recursively and case insensitive type fr fr is aliased to `find . | grep -i' and so let's say i'm searching for a file fr nsstring+util ...
1
vote
0answers
16 views

Programantic Diff

I'm localising a piece of Javascript (the github repo is here) for Spanish speaking users. I have both the English and Spanish text as PDFs and I have the software in English. The pdfs look like ...
0
votes
0answers
15 views

Mac Terminal's Find menu resets settings when I navigate away

I'm trying to search through some script output on the Mac terminal (Mac OS X Yosemite, 10.10.1, recently bought MacBook) using the built in Edit > Find > Find... utility. I want to do a search that ...
1
vote
1answer
41 views

Why is my bash history not sorted by date?

My mac bash history looks like this (I'm copying just the last +100 lines): 2769 23/09/14 17:54:09nano ~/.bash_profile 2770 23/09/14 17:54:21nano ~/.bash_profile 2771 23/09/14 17:54:28source ...
0
votes
0answers
25 views

Colorschemes in vim using mac

I've trying for a while to implement the colors in vim and they does not appear. I have saved various colorschemes in the vim/colors folder and all that seem to be fine. Also, when I load the color ...
0
votes
1answer
53 views

How to install ffmpeg on OS X? [duplicate]

You can get the binary here http://ffmpegmac.net/ How do I install said binary to use it as a commandline tool. I have a mac, with mavericks. If possible, it would be nice to install it without the ...