Questions tagged [terminal]

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, also referred to as a "system console".

Filter by
Sorted by
Tagged with
0 votes
0 answers
313 views

ls /dev/sda2 - same as dir c:

I want to install linux mint. The problem is, I have drive c and d. I want to install it in drive c. I think it is /dev/sda2 but I`m not sure. I want to dir this drive to see files and check if I can ...
RGS's user avatar
  • 107
2 votes
1 answer
59 views

How to create a “find” command to find corrupted *.pages, *.key and *.numbers files?

I have 3 types of files of type *.pages, *.key and *.numbers. Uncorrupted files: everything Ok. Corrupted files type-I: Where the corresponding program can display the text, but all images are lost. ...
wba's user avatar
  • 25
0 votes
1 answer
100 views

Mocking OSX's Terminal listing style ls -la in Ubuntu 16.04

I am trying to get an output that looks like ls -la in my mac terminal, but in Ubuntu. It follows the following listing order: Files and Directories that start with a dot . (coloring the directories) ...
idelara's user avatar
  • 101
1 vote
1 answer
4k views

How to use the shift + arrow keys to select the current terminal command?

I found this https://superuser.com/a/488158/458103 to make the ctrl+arrow to move the cursor forward and backward. Now how to make the shift+arrow select the current command words?
user's user avatar
  • 448
0 votes
1 answer
7k views

Connecting to a wireless network (open and protected) from terminal

I'm trying to connect my RTL8188CU chip to any network on Debian Jessie, but with no success from terminal. I need to do this consistently and at any time required. I have tried several suggestions ...
vaid's user avatar
  • 3,539
2 votes
0 answers
462 views

Terminal corruption and garbage issues with tmux when emojis are used

I'm having issues whenever an emoji is displayed inside one of my tmux windows. Everything becomes garbled and mixed, but the inputs still work. I have to clean the screen and detach/attach to fix it. ...
Joan Serra's user avatar
0 votes
0 answers
244 views

Bash keyboard shortcuts in cmd.exe

Is it possible to get basic editing keyboard hotkeys for cmd.exe or any other windows terminal? Specifically I would like to use some or all of the following commands Ctrl-A Ctrl-E Ctrl-F Ctrl-B Ctrl-...
whunt's user avatar
  • 101
2 votes
1 answer
1k views

Using notify-send in a tmux session shows error, no notification

I use tmux heavily and have some scripts that use notify-send to give me on-screen notifications. I have found a particular case where notify-send will fail and I haven't found a workaround other than ...
Ben Richards's user avatar
  • 12.8k
2 votes
0 answers
4k views

How can I connect to a specific MAC address for a WiFi SSID with multiple APs?

There are several access points with the same SSID name. I would like to either connect to the one I want by MAC address, or block the ones I don't want by MAC address. I found some instructions from ...
Ben Morrow's user avatar
3 votes
4 answers
2k views

GNU-Screen doesn't automatically clear the terminal after detaching

As shown in the following screenshot, after I detaching from a gnu-screen session, the screen isn't cleared, so it's messed up. I have to manually type clear. Here's my environment: GNU Screen ...
Wu Yongzheng's user avatar
1 vote
1 answer
328 views

No tabs when pointing Console2 to Cygwin

I'm trying to get Console2 to work with my Cygwin installation. I've configured my shell in Console2 to point to C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -, but when I open a "new tab" it ...
ctote's user avatar
  • 379
27 votes
3 answers
2k views

Save the output of command in file MS-DOS 1.x

It seems that [COMMAND]>[FILE] does not work in the early versions of MS-DOS. I am using MS-DOS 1.25 and the above expression gives the statement invalid argument. Update:Since it is true that it ...
Blake's user avatar
  • 380
0 votes
1 answer
94 views

Redirect all terminal input through command

This might sound like a bizarre question, I'm just curious if it's possible. I want to redirect all input to a particular terminal (tilda) through a particular command (man) so that $ ls would ...
apteryx's user avatar
  • 113
2 votes
3 answers
7k views

OS X terminal 'split pane' different sessions

I frequently use OS X terminal in maximized mode. But the problem is that I want to split it into 2 or more parts, having distinct terminal process in each pane. Like this. But apparently the 'split ...
hayk's user avatar
  • 121
0 votes
0 answers
756 views

Mac Terminal Crashes After I input command

Everytime I open my terminal and try to type anything i get the following error: Process: Terminal [6453] Path: /Applications/Utilities/Terminal.app/Contents/MacOS/...
Daniel Pereira's user avatar
1 vote
2 answers
2k views

Open a terminal from any directory using a keyboard shortcut?

I want to be able to open a terminal using a keyboard shortcut from any directory I am currently in. Software based approaches are not an option as I do not have the ability to install software on ...
csss's user avatar
  • 111
0 votes
1 answer
276 views

need to login to sudo terminal without asking for a password

hi i don't have access to my desktop how can i run sudo terminal without logging in. i do have my correct password but it wont work. but during logon it tells me my home directory is set to .. but ...
Nima Bokhar's user avatar
2 votes
1 answer
252 views

What process get killed when I do `ctrl + c`?

My vague and intuitive understanding is that Ctrl+C kills the process that is currently running on the selected window. I am getting confused though typically about the difference of what process get ...
Remi.b's user avatar
  • 2,641
2 votes
1 answer
1k views

How to type ASCII HEX 88 character on ubuntu terminal for a buffer overflow?

I am trying to perform a buffer overflow on an interactive C program. I have to rewrite the EIP with an address which has hex value 88 as one byte. For that I have to type the corresponding ASCII when ...
hax's user avatar
  • 121
3 votes
1 answer
5k views

how to edit the commands you are writing on terminal mac os

when I type commands on a terminal, I usually find myself trying to use it like a text editor, I know this is not how it is supposed to be used, but I recently was watching a talk on youtube and the ...
David's user avatar
  • 133
3 votes
2 answers
3k views

On MacOS Sierra beta 5 using iterm 2 and tmux, I have lost the ability to copy/paste in tmux.

I want to copy/paste in my tmux sessions like I was able to with El Capitan. I just installed MacOS Sierra and I no longer have this functionality. I didn't realize how often I utilized this ...
James's user avatar
  • 196
1 vote
3 answers
22k views

OS X kill terminal processes

I'm confused with closing terminal applications in OS X. Why processes are not killed after closing terminal app? For example I call python interpreter then close it with ctrl+z and when I try to ...
Юрий Камнев's user avatar
0 votes
1 answer
128 views

$PATH variable is not read

I tried to install MacPorts. I added the following line to my .zshrc : export PATH=/opt/local/bin/port:$PATH then when I type the port command I get this : sudo: port: command not found But when I ...
tomfl's user avatar
  • 103
0 votes
0 answers
40 views

Same Windows 10 Insider Build one 2 system, still differences in UI

I have a notebook and a desktop, both are running the newest Windows 10 insider Build 14901.rs_prerelease.160805-1700 yet there are differences between these to. My notebooks terminal and focused ...
globus243's user avatar
  • 216
0 votes
0 answers
43 views

Why is Vim stopping me from changing tabs?

I'm using MacVim with a few tabs open. To keep everything from one project in one window I'd like to make one of those tabs into a terminal. So I switch to a tab and type :!bash I get a lovely ...
Joe's user avatar
  • 3,460
0 votes
3 answers
4k views

Execute multiple commands in a terminal window from bash

From a bash script, I want to open a LXTerminal window and execute several commands, e.g.: lxterminal -e "echo 'Hello' && sleep 5" It doesn't even read the first command (as I tried to ...
Juan's user avatar
  • 23
0 votes
1 answer
282 views

How to bind a key to cycle profiles in roxterm?

I'd like to be able to switch profiles in roxterm, without having to access the menu each time. How could this be done?
ideasman42's user avatar
1 vote
0 answers
1k views

opening gnome-terminal and getting its tty programmatically

I am forwarding command from one terminal to the other. For the moment, I am doing the following I create the new terminal gnome-terminal I get its tty via w then I can forward commands to it via ...
Vince's user avatar
  • 113
0 votes
0 answers
38 views

Opening programs from their directories

I am having some troubles while opening files through terminal. For example when I go to PhpStorm directory cd /home/downloads/phpstorm/ and I'm entering phpstorm.sh it is not opening saying there is ...
divHelper11's user avatar
1 vote
3 answers
685 views

How can I count the number of folders in a specific folder level using Linux terminal?

I have a very specific directory tree on my music library. I would like to count all of the albums, excluding all the subdirectories. For instance, given this directory tree: /music/ /music/Davis, ...
Moritz Ko's user avatar
1 vote
0 answers
763 views

ConEmu / Cmder replaces Command Prompt without features

So, after using Console2 for a long time, I finally discovered Cmder (based on ConEmu). Epic terminal, but.. When I try to replace the default windows terminal with the settings, I go to settings and ...
sigmaxf's user avatar
  • 1,807
1 vote
1 answer
339 views

why does this wget incantation not retrieve the desired files

I am currtently trying to download data from https server using wget. There are plenty of subfolders and files but only one file extension (*.raw) is interesting me. (Parent folders are not desired) ...
Vivi's user avatar
  • 11
0 votes
0 answers
559 views

Geektool: cat command doesn't work

I'm trying to get Geektool to display a txt file, but the Geeklet stays blank. It displays just fine when I enter: date date +%d But when I enter the following it does not display: cat ~...
Roel's user avatar
  • 1
1 vote
1 answer
773 views

Linux zip -i recursively

I'm trying to recursively include some folders in my zip, using a terminal command, for example, let's say that I have this: /folder1/ /folder1/folder2 /folder3/ /file1 /file2 I want my zip file to ...
Guilherme G. Menaldo's user avatar
0 votes
1 answer
117 views

IPython notebook daemon - best way?

As of today I use one terminal by server : ipython server Spark server Hadoop server etc... I end up with seven terminal consoles to manage all these services, which is not that clean. I thought to ...
Romain Jouin's user avatar
14 votes
2 answers
70k views

How do I see all previous output from a completed terminal command?

I've executed a command in gnome terminal that printed more output to the terminal than I expected. I'd like to read the entire output, but the terminal scroll stops before reaching the beginning. I ...
JonahHuron's user avatar
50 votes
3 answers
110k views

vim open file in a new tab

I would like to do this - Open a file, say a.txt in vim. Then, do ctrl+z, which will take me back to the terminal, and hide vim in background. While I am in the terminal, now I would like to open b....
The Vivandiere's user avatar
0 votes
1 answer
531 views

ubuntu : redirecting ssh command to existing xterm

This command execute remotely on "machine name" the command "glxgears" on a new xterm terminal: xterm -hold -e sshpass -p <password> ssh -X -o StrictHostKeyChecking=no <user name>@<...
Vince's user avatar
  • 113
0 votes
1 answer
2k views

OSX scp without -c <cipher>, default cipher

I was wondering what the default cipher was for scp, if there's any. Do I have to explicitly specify a cipher or there's a default? I could not find this in its man, nor on the internet.
ppseprus's user avatar
  • 101
2 votes
3 answers
3k views

Running a bash file in a new terminal window and close the window when done

I'd like to run a bash file on a darwin via: open -n -a Terminal --args bashfile.sh The bash file itself looks like: #! /bin/sh <application> <arguments> It works as expected, but is ...
p2or's user avatar
  • 129
0 votes
0 answers
81 views

How to cd into a folder by clicking a path in the terminal?

I have a “todo” script in my Terminal where I add paths to folders that I am working on. For example: badoop project X: /path/to/project/folder Then the next day I run badoop and I get the list that ...
relidon's user avatar
  • 111
17 votes
3 answers
21k views

How to force ls terminal command to show results in Bytes while I have set the default to ls -h in bash profile?

I am following the snippet here to improve my terminal command in Mac OSX. It sets the default value of ls results to human readable by exporting alias ls='ls -GFh' to bash profile file. This is very ...
cybergeek654's user avatar
0 votes
1 answer
1k views

Bash PS1 and single vs. double quotes

I'm a linux and Bash newbie and would like to ask help understanding the role of single and double quotes when assigning the PS1 env var. I wanted to set the terminal to always show the current ...
StoneThrow's user avatar
  • 1,177
34 votes
4 answers
89k views

Zsh prompt with current working directory

In bash I have my PROMPT set like so PS1="$(scutil --get ComputerName) \W\\$ " Where I only see the computer name and only the name of the current directory that I am in, not the full path and a $ ...
Anton Kastritskiy's user avatar
2 votes
3 answers
5k views

Can you ping a VOIP / Sip telephone number in the same way you can ping a domain name

Can you ping a voip telephone number in the same way you can ping a domain name ? Im interested in doing so, so that i can get the ip and do a trace route.
sam's user avatar
  • 4,159
2 votes
2 answers
2k views

Can I run two ongoing programs in one terminal?

I'm developing a nodejs app with the following npm tasks: "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "watch": "webpack --progress --watch", "develop": "npm ...
Oskar Szura's user avatar
  • 1,035
0 votes
3 answers
178 views

How to scroll to the place where I've just typed the command in Linux terminal

In the terminal sometimes I typed some command that produces a long output. After it finishes I want to scroll to the beginning of the output text to read it but that's very hard to find. I colored ...
phuclv's user avatar
  • 27.9k
1 vote
1 answer
363 views

Android & AndroidPC: how to install Git-SCM?

I see several apps from the Play store. They are either Terminal or Terminal emulating apps (emulation provides the supposedly similar functionality, validation?). The Termux is becoming a popular ...
Pristine Kallio's user avatar
0 votes
1 answer
846 views

navigation arrows in linux terminal

I have current LTS ubuntu and yet again I noticed something wrong. Right now in default install CTRL+[left/right] doesn't jump by word. Kind of strange, if I'm not mistaken, I think I had it working ...
Pavel P's user avatar
  • 1,998
0 votes
1 answer
143 views

Run a GET command via telnet in Terminal.app

I'm trying to run a GET command in Terminal in Mac OS X, and I get this far: telnet www.google.com 80 Trying 2607:f8b0:4009:808::2004... Connected to www.google.com. Escape character is '^]'. GET / ...
Vincent's user avatar
  • 183

1
37 38
39
40 41
99