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

Windows Ctrl + V equivalent for Linux terminal [duplicate]

In windows I can paste the clipboard content using the key combination Ctrl + V However if I try to achieve the same in Linux terminal using the same Ctrl + V key combination, I get the output: ^V ...
0
votes
1answer
18 views

How to get the current MAC address and pass it to a variable in the Linux terminal

I found a command from another post on Super User that’s helped me, but I don’t know how to pass the output to a variable and print it. This is the command I've used: ip addr show $(awk 'NR==3{print ...
0
votes
0answers
3 views

MobaXterm Local Terminal Doesn't work - Closes immediately

I'm able to SSH to into other machines using MobaXterm, but when I try to run the Local terminal, the Tab just opens and closes all by its own. Am I missing something like a config file ? I tried ...
1
vote
1answer
584 views

How can I use terminal to ping a computer every 60 secs continuously, if no ping response sound an alarm

How can I use terminal to ping a computer every 60 secs continuously, if no ping response then ping every 1 sec, if still no response after 5 one second pings then sound an alarm and continue pinging ...
1
vote
5answers
1k views

How to reset the terminal under Cygwin?

Under Linux, I can clear terminal output with a simple reset from the command line. Under Cygwin, it appears reset does not work: I also tried reset 0 and reset 1 with no joy. And I even tried the ...
0
votes
0answers
6 views

Iterm 3.0.2 no colors when using ls

I recently upgraded to Iterm 3.0.2 and I noticed that on my local session, both files and directories have the same color when I use ls. This happened in Iterm2, which I fixed by using this answer: ...
1
vote
0answers
22 views

Create tmux session in seperate shells

I'd like to use tmux sessions to manage windows / panes in different shells. What I've noticed is that tmux will always use the shell from which it was first launched for all subsequent sessions ...
-1
votes
1answer
18 views

What are the basic commands for ufw firewall in Ubuntu?

I want to setup ufw firewall in ubuntu. Please list some basic commands that I need to learn to operate it via termianl.
1
vote
2answers
2k views

Error when trying to enable x11grab in ffmpeg

I'm trying to set up ffmpeg so I can do screen captures and just receive error after error after error. However, the root issue is that I can't even seem to enable x11grab. In Terminal I've done this:...
1
vote
0answers
48 views

MySQL error, can no longer login as root

So I updated my MySQL and PHPMyAdmin yesterday and ever since then I cannot login to MySQL as root or any other username I have. I tried both phpmyadmin and the terminal and still cannot get in. How ...
1
vote
1answer
7 views

Opening powerpoint with Libre Office from mac terminal

I use the terminal a lot in Ubuntu, but I also have two macs. I'd like to open a powerpoint with Libre Office Impress from terminal on my mac. Any ideas?
2
votes
1answer
596 views

Display escape characters in tmux

I have a script on my mac that displays the battery level with some color output. The color is based on the battery leve. As the level goes to zero, the color goes from green to red: #!/bin/bash ...
3
votes
4answers
12k views

“command not found” when running a shell script. What did I break?

I'm on OSX Snow Leopard. Here's the full contents of grr.sh: #!/bin/sh echo wow When I try to run it from terminal: $ grr.sh -bash: grr.sh: command not found $ /bin/sh grr.sh wow $ sh grr.sh wow ...
-1
votes
2answers
13 views

How to open Mozilla Developer Edition from terminal

I wish to open Mozilla Firefox Edition app with index.html from terminal in my mac but don't know the command. firefox index.html command doesn't work.
0
votes
2answers
33 views

Misleading cmd prompt message

this is not that critical, but since it has been bugging me for 2 years now, I'll ask. I am a programmer, and I'm running a Grails compiler in Windows Command Prompt. When I need to terminate a ...
0
votes
0answers
27 views

How reset the console encoding in OSX?

I don't know what I had done, but now my console output half of the console output as a weird "buffer like" output. 0=71, 1=101, 2=110, 3=101, 4=114, 5=97, 6=116, 7=101, 8=68, 9=83, 10=89, 11=77, 12=...
0
votes
1answer
15 views

Can't delete meters on htop with the delete key

When customizing htop my setup through the F2 menu, I accidentally put up some unwanted meters. I tried using backspace/delete according to the bottom menu, but it didn't affect the entry. I'm using ...
0
votes
1answer
22 views

Regarding files resulted in equating file properties in “ls” command

I have a folder in which there are thousands of images. Of those thousand images, I want to bring together all those images whose “Last created” and “Last modified” properties are exactly same. ( In ...
0
votes
0answers
11 views

Terminal doesn't open after installing oh-my-zsh

I installed zsh and switched shells, and then after curling oh-my-zsh, LXTerminal and Termite do not open. I deleted oh-my-zsh and my zshrc and they still do not open. Any ideas? I was thinking of ...
1
vote
1answer
18 views

Select a specific part of the output and use it to rename files

I'm currently sorting files I recovered from a broken filesystem. They now all have filenames that go something like this: f123123123.xls If I run: file "f123123123.xls" it gives me a lot of ...
0
votes
0answers
37 views

Format external drive in single user mode mac os x

I am looking for suggestion to format external volume in Single User Mode. diskutil eraseDisk didn't work in such environment, so is there any possibility to format usb memory stick from Single User ...
7
votes
4answers
18k views

How can I get Mac OS X's proxy information in a Bash script?

I have several network locations set up on my laptop: Work, Home, etc. The work one(s) all have a proxy server set up, while the others don't. This works fine for OSX applications -- Safari, Mail, ...
3
votes
3answers
4k views

How can I hide/show the Wi-Fi menu item from the Terminal in OS X?

I want to be able to hide and show the Wi-Fi menu item from the Terminal. Can I do this with the defaults command? I've narrowed it down to com.apple.systemuiserver. It looks like this: { "...
1
vote
0answers
39 views

Speedup zsh startup time

I'm on MacOS 10.11. When I open a new tab on Iterm2, it takes almost 2 second to have the prompt. So I guess I have something in .zshrc / .bash_profile / .bashrc that takes times to load. Here are ...
24
votes
3answers
3k views

How to make screen bigger in byobu

My new server install looks odd: is there anyway to resize it to use the whole terminal window?
1
vote
2answers
58 views

How do I change the font size in TeraTerm?

I am using TeraTerm in windows. I would like to change the font size in the TeraTerm console permanently. I can do it every time I open a new command window but that's boring. I figured out that there ...
-1
votes
0answers
20 views

Enable 256 colors in VMWare terminal

As part of my work I am creating a lot of virtual machines and often powering them down and starting back up. Since I work in QA, I often need to reset the virtual server to default configurations to ...
0
votes
0answers
14 views

Split and encrypt a folder before uploading online for backup

I'd like to try out BackBlaze B2 to back up 400 GB of files. However, I'd like to zip and encrypt before uploading. Requirements split a folder to multiple folders (folders contain videos and ...
75
votes
8answers
38k 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 ...
3
votes
2answers
1k views

All undocumented keyboard shortcuts for OS X terminal app?

Is there a comprehensive list of the actual keyboard shortcuts available in the terminal app? Here's an example of an undocumented shortcut: the "select next tab" action in the Window menu is ...
5
votes
1answer
992 views

Enabling Italics, Underline on Emacs, Xterm and Putty

I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm ...
5
votes
2answers
1k views

Tmux doesn't respond to scroll in OS X Yosemite Terminal

Recently, I updated to OS X Yosemite and was delighted to find out Apple has added mouse support to their Terminal app. This works great in a standard Terminal window scrolling through my history and ...
2
votes
1answer
39 views

How to read outlook mail from linux terminal

Normally, I access mail using outlook web-app. Is there any possibility to read my mails from terminal? May be by setting incoming and outgoing smtp servers. Please suggest.
1
vote
1answer
29 views

Installing ruby / gems / jekyll on mac

I tried to install newer version of ruby, because I needed it for install the Jekyll. Now when I try to use any gem command (i.e. gem install jekyll) I get a my little pony image in the Terminal and a ...
51
votes
6answers
74k views

List the current folder folder's sizes with the terminal?

I want a list of the folders from the current directory or one that I specify with their size. I have tried with du but I only get the size of the directories I specify (du . ./f1), and ls doesn't ...
2
votes
4answers
17k views

How to download all images from a website (not webpage) using the terminal?

I want a command that I type a URL, for example photos.tumblr.com, and it download all photos on this site in a folder, but not only images of the site's homepage. This command need to download the ...
11
votes
5answers
10k views

urxvt settings - reload without restarting terminal?

I have two urxvt color themes that I use, one for light background and one for dark, depending on how sunny the environment is. It's easy enough to switch them by modifying ~/.Xresources and running ...
0
votes
0answers
21 views

Establishing SSH connection on a local machine to a system running within VirtualBox

I'm running Debian on a Virtual box on Mac OS X. On the same machine, I would like to connect to Debian from the mac terminal. Simply put, I want to execute commands by Mac terminal not by writing ...
1
vote
2answers
237 views

Check current foreground terminal (“lsvt” like “chvt”)

"chvt N" lets me switch to foreground terminal N, the same as pushing alt-ctrl-FN. What command line program tells me what terminal I'm currently using?
0
votes
0answers
12 views

How can I make “docker logs” display accented and ANSI characters in LXTerminal?

How can I make docker logs display accented and ANSI characters in LXTerminal? For example, how can I display the question marks (?) in the following text as their corresponding accented characters? ...
0
votes
0answers
5 views

SSH, screen and “there is no screen to be resumed”

I've got a screen running on a machine. I was sitting at the physical machine when I started it. The test that's running takes 4 or 8 hours, and I want to check on it on occasion. I SSH'd into the ...
1
vote
0answers
14 views

Remapping Ctrl + I with keysym in rxvt

I'm trying to remap Ctrl + I to be captured as something else than tab, so I can use it as a shortcut in tmux. However I cannot get to work. As a test case I tried to get Ctrl + I to output Ctrl + W ...
22
votes
5answers
27k 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
1k views

Remove all traces of emacs and start over

I've been trying to install PolyML in Emacs on my Mac in OSX but I can't get that or SML-mode to work. I've tried the builtin emacs, the gui version and the one from homebrew. Neither poly or sml ...
1
vote
3answers
828 views

Custom command in terminal with a variable

Redhat Linux Enterprise Editing a terminal profile -- Run a custom command instead of my shell Custom command: tail -3000f /home/user1/folder/$PROJECT/folder2/folder3/text.log When I save it and ...
1
vote
1answer
20 views

Font-spacing problems in Konsole terminal

Recently the font-spacing in my terminal changed. Some letters are overlapped by others and the entire line shifts and wiggles, when I move the cursor around. I posted an image below. Have a look at ...
1
vote
0answers
20 views

How to execute command on urxvt startup

Urxvt doesn't support using an I bar as the cursor. One of the ways i've found to get around this is to send the command echo -n -e "\033[6 q". This works as long as I send the command every time I ...
0
votes
0answers
9 views

Somehow, I entered a terminal mode that changes keybinds' behaviour. What did I do?

I'm working in iTerm2 in OSX, running zsh. Somehow, I entered a mode where, among other things, Backspace did nothing and Alt-Backspace simply moved the cursor left one character without deleting ...
1
vote
1answer
28 views

LibreOffice OS X: converting a .odt to .pdf from terminal?

Using LibreOffice, I can open an ODT document and export it as PDF manually. Is there also a command line do to this from the shell?
2
votes
1answer
208 views

Prevent mouse over to give focus in ConEmu

In ConEmu, when I have multiple pane active, if I move the mouse cursor over one of these panes, they are going to get the focus (even if I don't click on them). Is it possible to disable this ...