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

Copying folder to multiple destinations in parallel

I have to transfer roughly 250gb of data from a Master Drive to lots of USB drives, all of identical size and brand. When I copy using the GUI in Mac OSX, it waits to copy all the files to one drive ...
2
votes
1answer
3k views

How to add indent in Python 3.4 interactive mode Terminator Linux?

I'm starting Python from basics. The Python 3.4 Tutorial has an example for interactive mode: >>> the_world_is_flat = True >>> if the_world_is_flat: ... print("Be careful not to ...
1
vote
0answers
66 views

Can tmux display pretty pane corners?

I'm in the process of picking up tmux, and I'm sure I'll get used to it, but this pointy edge is bothersome. Is there a way to make the corner flush, like this (fixed with gimp)? I know that the ...
0
votes
1answer
89 views

How to switch git user at terminal?

I am trying to push a project to a remote repository from the command line. From inside my local directory, I hit: $ git push and obtain the following error: remote: Permission to ...
8
votes
2answers
3k views

Make OS X Terminal commands I type BOLD

I'd like to make commands I've typed (input) into terminal stand out from all the output. For example: imac:~ buster$ chmod -R g-w myfolder imac:~ buster$ cd myfolder imac:myfolder buster$ ls -l ...
1
vote
0answers
32 views

Why won't gnupg be fooled by my pseudoterminal trick?

Gnupg requires many of its inputs to come literally from a terminal instead of just stdin. I sometimes can get around that with: pty-run: #!/bin/bash printf -v cmd '%q ' "$@" exec script --quiet ...
0
votes
2answers
41 views

Why the simplest Shell-Script isn't working?

I want hide the path in the Terminal and for that reason I typed: export PS1='> ' command which I found online with positive result. I thought to make it to a shell-script in order to not type ...
2
votes
1answer
128 views

Serial console login on OSX

Background I've got a Wyse WY-50 terminal here that, for various nolstagia and productivity reasons (really!), I'd like to connect to my Macbook and use as a login terminal. I'm using OSX 10.10 El ...
20
votes
5answers
26k views

Is there any option to use Amazon Cloud Drive from terminal (Linux)?

As you probably know, Amazon did not release any Cloud Drive client for Linux. Is there any other option to access ACD from terminal?
0
votes
1answer
53 views

Cannot execute Binary file on Mac OS

Here is a repo that I am trying to clone. https://bitbucket.org/sivareddyg/hindi-part-of-speech-tagger It says, we support UNIX based system. So I tried running "make tag" on OSX terminal. But it ...
2
votes
2answers
29 views

Set debian Linux Timezone via command line

Is there a way i can set the current timezone via the commandline/terminal? Its for a shelle script so im looking for some, hopefully, one liner like date -Z 'Europe/London' (Just an example), in ...
0
votes
0answers
10 views

Assigning terminal command to change a specific preference setting

Following the useful guide available through A Modern Story, I've installed Hadoop on Mac OS X for the learning purposes. I start Hadoop by typing hstart and hstop, which correspond to the following ...
19
votes
1answer
16k 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
3answers
2k views

How to use the mouse to scroll up/down in MacOS Yosemite Terminal when vi is open

In MacOS X, pre-Yosemite versions I could open vi in the Terminal window and scroll up and down the history of the Terminal. The vi lines in this case did not scroll. To scroll I used the ...
0
votes
0answers
10 views

Tmux incorrectly interpreting aixterm escape sequences

It has just occurred to me that tmux misinterprets aixterm escape sequences (in my PS1 prompt, I use the bold attribute for bolder text and aixterm sequences for brighter colors), if my TERM variable ...
3
votes
4answers
16k views

Is it possible to list file names starting with X or containing X?

As the title asks, is it possible to list files starting with X or containing X? ls is used to list files. Are there any options I can use so I can list the files beginning with or containing a ...
0
votes
0answers
35 views

What these options exactly mean in ifup command in Linux?

Please can someone explain to me more (maybe with examples ) about the following options in ifup command in Linux. This is what I found on the internet, but with no more details about it : ...
0
votes
3answers
763 views

Anyone know how can I turn my Mac terminal into this?

How can I make my Mac terminal look like the screenshot below? The input line is cool and seems useful.
-1
votes
1answer
37 views

What is the difference between terminal and tty?

I have seen these two terms use interchangeably. What do they represent?
47
votes
2answers
14k views

Icon? file on OS X desktop

When I ls my Desktop from terminal (by using ls ~/Desktop), I see a file named Icon?. As far as I can tell, it's empty (nano Icon? shows nothing). It doesn't show up on my actual Desktop, and open ...
3
votes
1answer
142 views

iTerm 2 ZSH colors/themes not showed correctly

I have a clean installed mac, running OS X 10.11.4. I have installed iTerm 2, and set it up to use oh-my-zsh. I'm trying to set up a theme for my iTerm. I am trying to use the avit theme. It's ...
5
votes
4answers
5k views

How can I find all files in a folder with a certain text string and an extension?

I am using OS X. I need to find files in a directory with the .php extension and the string 41 somewhere in the file's contents. I tried using grep. grep -R 41 *.php This however only seemed to ...
6
votes
3answers
4k views

Bash History Not Preserved Between Terminal Sessions on Mac

My bash history mysteriously stopped working, and I have no idea how to fix it. This is what my .bashrc looks like: HISTSIZE=500 HISTFILESIZE=500 HISTFILE=$HOME/.bash_history However, when i ...
0
votes
0answers
15 views

Ansi escape sequences in Makefile

I wanted to create color output in make so that is more readable, but I cannot get it to work. Makefile: all: echo $$'\x1b[36m Test \x1b[0m' When I run make raw string is printed, but when I ...
0
votes
1answer
197 views

Mac OS X Mountain Lion kernel panic after installing latest steinberg sound card driver

I just bought a steinberg CI2 and went to their website to download the latest driver and when I installed it gave a kernel panic. I don't have any backups and is there a way to backup all the files ...
5
votes
2answers
5k views

How to change the default terminal to rxvt in Ubuntu

How can I set rxvt as my default terminal in Ubuntu?
23
votes
6answers
17k views

Save multiple gnome-terminal layout?

I have multiple gnome-terminal windows open. Is there a way to save the settings (window position, no. of tabs, title etc). across OS reboots ?
0
votes
2answers
26 views

Command to list all apps capable of opening a given extension

I'm building a file catalogue app of sorts, and for one of its uses I'd like to get a list of all apps currently installed capable of opening files with the extension of the currently selected file. ...
14
votes
4answers
9k views

Can I have my terminal background change based on hostname?

I'd like to have my terminal background color change based on hostname. My reasoning for this is mainly to have and extra way to remind myself what server I am on, so I don't do something stupid. Is ...
0
votes
1answer
19 views

Delete all the folders and file except one folder

I want to remove all the folders and files but except one. I have a Ubuntu server and I tried several methods and none of them worked. This is my folder structure. app app/public app/public/uploads ...
71
votes
7answers
36k views

With Bash + iTerm2, how to name tabs?

In iTerm2 (Build 1.0.0.20120203), I typically open several tabs, each of which has split panes , and is about one particular theme of work, for example revision control, coding, managing files, mysql ...
2
votes
3answers
34 views

Is there a way to copy text in htop on Mac OSX?

I wanted to copy all of the process information related to a specific program/software (Adobe in this case, other ones in the future) and so I tried holding Shift as mentioned here: Is there a way to ...
0
votes
0answers
10 views

Stopping terminal tab update on ssh

I understand that this is a possible duplicate question. However, I could not find any satisfying answer and so I am asking this question yet again. When I SSH into a remote machine, I do not want ...
-1
votes
1answer
16 views

Kali Linux terminal command trouble

Hi I am a new user of Kali linux. I have a trouble here. In the terminal no command is working. even if i put "ipconfig" it says bash: ipconfig: command not found. can anybody please tell me how can ...
0
votes
0answers
16 views

Opening terminal on second monitor by default

Is there a way for the terminal to be opened on the second screen when running a program through Visual Studio 2015? Right now I have my graphical window and my terminal opening on the main screen ...
5
votes
1answer
1k views

256-colour terminal

I've been battling it out with this 256-colour terminal malarkey and I just can't get decent colour displays in a terminal. I'm using ubuntu-server with openssh and zsh. I have tried accessing the ...
0
votes
0answers
12 views

record directory history from multiple terminals and sessions

I often want to open a previously cd'ed directory in another terminal or session. dirh from fish shell only lists the directory history for the current terminal. autojump doesn't record from all my ...
0
votes
1answer
74 views

Printing unique lines with uniq, OS X Yosemite

I am trying to print the unique entries in a column of a .csv file. For this, I tried the following: awk -F "," '{print $6}' dataCoarse.csv | uniq -u which just prints the 6th column as it is. ...
3
votes
1answer
1k views

SSH - is this the correct way to forward agent?

I have checked many results but not getting exactly that what I am doing for agent forwarding is correct or not. Please advice. I have followed this two links Github unixwiz What I am doing is: ...
1
vote
1answer
74 views

Cygwin - how do I search scrollback?

Going to be pretty depressed if this is not a feature by now. To be clear, by scrollback, I mean scrolling up and down on the terminal emulator to see history.
0
votes
2answers
3k views

How to change terminal colors when connecting to SSH hosts

So you want to change terminal colors and resetting them back on exit? It's possible! Thanks to .ssh/config, alias and setterm.
24
votes
14answers
22k views

Google Search from Linux Terminal [closed]

I saw a Google console app someone wrote a while back, but it was actually a website emulating a console. What I'm after is a shortcut or Linux terminal app which I can use to quickly search Google. ...
2
votes
0answers
28 views

Cannot import colour presets into iTerm 2

Long time user of the standard terminal, short term user of iTerm 2. I've found a colour preset I want to use, however after importing them when I select them from Preferences > profiles > load ...
12
votes
2answers
724 views

Disabling mouse hiding in Gnome Terminal while typing

Does anyone know how to turn off the hateful behavior that is now default in Gnome Terminal — when a key is pressed the mouse pointer hides until it is moved again. I'm honestly ready to ...
0
votes
1answer
22 views

Makefile issues with interactive shells started as a target

Currently having a weird problem: Got a Makefile to get some handy shortcuts inside a Project: shell: docker exec -it $(web) sh ... ..which basically invokes an interactive shell inside a ...
2
votes
1answer
31 views

How to avoid terminal to scroll down to last message in bash?

I write a bash script that run some other commands in new terminal: #!/bin/bash # Sample script gnome-terminal --title="blah blah" -x bash -c ffmpeg -i udp://239.1.2.1:60001?fifo_size=50000000 ...
1
vote
1answer
48 views

Make `last` display year in Terminal

Is there any way to get last (on Mac OS X 10.11.2) to display a full date (including year)? Right now it displays only day and time: user$ sudo last user | head -n3 user ttys000 ...
0
votes
0answers
88 views

In Debian XFCE 4.10, how do I change the default Terminal shell from dash to bash?

I have a Debian-based Linux system (Kali Linux) running on AWS with the XFCE desktop environment. When I click on the "Terminal" icon in the application selector at the bottom of the screen, the ...
1
vote
1answer
35 views

How can I control my minecraft server when I run it at boot with a rc.local script?

I have a question your you guys. I'm running a MC server so far so great. In order to make it autonomous I run it at boot with a bash script load in rc.local, simple. #!/bin/bash cd /home/minecraft ...
0
votes
1answer
25 views

Shortcut or Terminal Command to toggle Chrome Hardware Acceleration on/off

I'm trying to figure out how to create a shortcut or a terminal command for on/off Hardware Acceleration in Advanced settings of Chrome Browser on a Mac. Has anyone done this already or know how to? ...