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

2
votes
2answers
414 views

SSH from OSX with password 1 line

I can ssh from my pc using putty, 1 line like so ssh root@myname.mydomain.us -pw abc123 but when I try this from OSX terminal, I get an error Bad port 'w' How can make this work on OSX?
0
votes
1answer
43 views

bash error when starting shell from tmux

When I open a new shell in tmux I get an error message. This error message does not show up when I start a new shell in GNOME terminal. What might tmux be running at startup that I need to check? ...
2
votes
1answer
3k views

Terminal on Mac - Delete key behavior

I'd like the delete key (well, the Fn+Backspace combination) on my Mac to behave the same way in the Terminal as it does normally. That is, to do forward-delete. Right now it outputs tilde - at least ...
0
votes
1answer
27 views

Linux terminal emulator with frequent, recent, and bookmarked commands/directories

I am looking for a terminal emulator where I don't have to tap the up key a million times to see the old and frequent commands. I want to be able to bookmark common commands and directories, as well ...
0
votes
1answer
76 views

I'm installing octave for Yosemite. I'm having trouble in a specific step in the process. Any ideas?

I'm following the procedure given on this site: http://adampash.com/how-to-install-octave/ I've been stuck in this step for quite a while: Last, you need to edit your .octaverc file to get ...
2
votes
2answers
62 views

How to fix files and directories in Mac terminal from being inverted?

I recently was going through some directories and realized that my files/directories are inverted as opposed to being alphabetic from top to bottom. As the terminal is after an ls -al: Public ...
0
votes
1answer
12 views

Is it possible to capture and export a running process over ssh with x?

I've seen plenty of questions on the web about exporting a display from a remote host to a local. I can get this to work fine, but that's only for commands run after logging into that terminal. Is ...
20
votes
3answers
15k views

Access iCloud Drive via terminal

OS X 10.10 was just released, and one of the features I personally awaited the most was iCloud Drive. Unfortunately, I had to learn that it was not as accessible as Dropbox. file ~/Dropbox ...
2
votes
2answers
418 views

Invoking an MMC Snap-in function from Windows command shell: is it possible?

I need to execute a MMC Snap-in function from the Command Shell of a Windows computer. I need it to schedule this command in the same Windows PC and executes in background. Probably this questions ...
1
vote
1answer
61 views

Consequences of 'escape-time 0' tmux setting?

I find that when running (neo)vim inside tmux, the escape-key is delayed. This is fixed by putting set -sg escape-time 0 in my .tmux.conf. Presumably, this disables the possibility of using ESC as ...
0
votes
1answer
31 views

Why does my vim colorscheme stay after I close vim?

I recently used vundle to install the solarized theme for vim on my Arch Linux machine. Whenever I open vim, the theme is applied, but it stays applied to my terminal window after I close it. I can ...
0
votes
1answer
80 views

How to change the color of the default title in iTerm2

Every time I execute a command, it's difficult for me to find where is the start point of the results comes from my last command. So I want to make the default line "Arthur-Mac-mini..." change color, ...
2
votes
4answers
75 views

How To Format A Disk Image To Be Recognized By MS-DOS?

I'm trying to emulate windows with bochs on my android device. I've got the following drives: an empty disk image to install windows on, a virtual vvfat drive with the setup files, and a cdrom drive ...
3
votes
4answers
7k views

combining commands on the terminal on Mac OS X

I would like to write the following on one line in the terminal or if there is a shorter way to create a file and set the permissions then please do comment. sudo touch .htaccess sudo chmod 766 ...
0
votes
1answer
15 views

How do I disable bold text in Roxterm terminal emulator?

Moved from SO to SU: I've combed the internet and read the roxterm man page to no avail. Can someone shed some light on this: I'm trying to disable bold text in roxterm. I personally think the bold ...
1
vote
3answers
4k views

Color in Cygwin terminal

I've installed cygwin because I'm a bit fed up with the Windows terminal not being great. The only problem I'm having is the lack of colours. You can see the problem in the following 2 screenshots ...
0
votes
1answer
67 views

How To Mount A Disk Image On Android With Terminal?

I'm trying to mount a disk image that I've made on my android with terminal and busybox. This is how I made the image: dd if=/dev/zero of=/sdcard/disk.img bs=4k count=131072 mkfs.vfat -v ...
0
votes
1answer
29 views

Cannot exit normally when ssh'ing using bash script

I have a script that ssh into a server and sets up an environment ssh -t -t dev.example.com <<EOF cd var/dev/ ...other commands... EOF But when I type exit in the terminal after the script ...
0
votes
1answer
62 views

How To Make A Sparse File On Android With Terminal

I'm trying to make a sparse file on android. For this I'm using Android Terminal Emulator. I have installed Busybox so I can use the dd command. Other commands like truncate aren't installed. My ...
1
vote
4answers
145 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
27 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 ...
11
votes
3answers
16k views

How to open a terminal quickly from a file explorer at a folder in Windows 7?

This can be done easily in Ubuntu, just right click and open Terminal. It is very inconvenient to open cmd.exe then cd to the folder. So, how do I open a terminal quickly from a file explorer at a ...
10
votes
4answers
3k views

iTerm2 Vim alt+right/left arrow

As a Linux user, I am very used to jump from word to word in vim/nano using ALT+left or right. This doesn't seem to work properly using iTerm, I am using zsh, I tried adding; bindkey -e bindkey ...
0
votes
2answers
53 views

How to use find command in OS X terminal to search for folders?

Im trying to search for folders in the OS X terminal. Is there any way to filter the find results for folders?
47
votes
6answers
13k views

Is there a shortcut to mkdir foo and immediately cd into it?

This is something I do frequently $ mkdir foo $ cd foo This works as a single command, but it's more keystrokes and saves no time. $ mkdir foo && cd foo Is there a shortcut for this? ...
0
votes
0answers
35 views

ifconfig shows no active connection (Mac os X)

I'm running os x 10.9.1. In terminal, just ran the ifconfig command, and despite having an active internet connection via USB dongle, none of the interfaces read any inet or inet6 address (except ...
2
votes
2answers
71 views

Can I adjust command line output to make columns vertically align?

The first image is Mac terminal output, these columns are vertically aligned. This is Windows cmder output, in a mess. Can I adjust it?
1
vote
1answer
30 views

I can't replace line breaks in vim and iterm

In Vim in iTerm, I frequently encounter issues surrounding line breaks. For example, if I have a file containing the dreaded ^M most online tutorials will say that to perform a replacement I use a ...
1
vote
1answer
45 views

using posh-git with conemu

I tried doing what the fellow at this site managed: https://github.com/rajmenon/KB/wiki/Setup-a-ConEmu-task-for-posh-git-bundled-with-Github-for-windows doing the same as he using the keybind in ...
0
votes
1answer
21 views

chmod 777 based on directory

I am wanting to perhaps create a cronjob that will monitor a directory and will do automatically chmod 777 and files that are created inside the directory or a subdirectory of my main directory. Is ...
0
votes
1answer
48 views

Rotate all video in a folder with ffmpeg?

I have a lot of videos which are recorder 90 • rotated so I want to rotate all videos 90 degrees clockwise direction. If this possible? I used for loop but there is some mistake because of spaces ...
1
vote
1answer
23 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.
1
vote
1answer
98 views

Mac OS X Terminal, shows special characters like slash, space etc as strange character codes after using localedef

I have recently used localedef command to add support for the multiple locales. After doing that I noticed on my terminal for every space, backslash, forward slash etc… it is instead showing UTF code ...
0
votes
0answers
6 views

How Not to Have A Tab in New Windows

After I pressed a shortcut combination which I can't remember, every new terminal window that I open (cmd + n) started to have a tab open by default, like this: I don't want it to be in a tab since ...
0
votes
2answers
47 views

'screen.linux': unknown terminal type

When I run clear I get: 'screen.linux': unknown terminal type I get this error message when, on a Debian 7 machine running the OpenVZ kernel, from within a screen session, I vzctl enter into a ...
5
votes
2answers
782 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
28 views

Dotfile version control: terminal settings

I use one MacBook at home and another at work. Recently I started version controlling my dotfiles. It works like a dream for my vim/MacVim settings, but is decidedly less useful for my .bashrc and ...
0
votes
1answer
58 views

cygwin opens three windows instead of one

If I open a cygwin terminal window it opens three instead of one window. The titles are C:\cygwin\bin\mintty.exe Cygwin Terminal <my host and current directory> Only the third ...
1
vote
2answers
533 views

Determining needed repository for software

I am a beginning linux user (centOS currently). I tried to install the terminator terminal application. I understood that it is not in the default repositories of cent-os but it should be in the ...
0
votes
1answer
26 views

Generic way to get the path to the terminal binary on different Linux systems?

I've got the following hardcoded list of terminals in my application: "/usr/bin/konsole", // KDE "/usr/bin/gnome-terminal", // Gnome "/usr/bin/pantheon-terminal" // Pantheon (Elementary OS) I then ...
8
votes
2answers
5k views

How to recursively move all folders one directory up back one directory

I have folders in scenery/terrain that contain folders called terrain and objects. These folders have folders with data files. How do I move all of the contents scenery/terrain/[name]/terrain to ...
2
votes
0answers
32 views

Difference of meta-data between mdls and mediainfo

I was wondering what are the difference between the type of metadata returned by mdls and by mediainfo. Why are they different? For exemple why the creation date is different on the same file? ...
2
votes
0answers
26 views

Search terminal buffer in shell script

I have a shell script named merge that takes a parameter that is a revision number. I usually invoke it merge 12345. I would like to pass in zero parameters. The script should search my terminal ...
0
votes
1answer
43 views

Replace highlighting characters with something else

I wish to replace color codes with something else. For example, running cal command i want to get some html tags instead of color codes: July 2015 Su Mo Tu We Th Fr Sa 1 2 ...
0
votes
4answers
128 views

how can I scroll in yosemite's terminal using the trackpad

Ever since I upgraded to OS X yosemite I have been experiencing this sporadic issue where I suddenly lose the ability to scroll up/down in terminal using my trackpad. Scrolling on the trackpad will ...
0
votes
1answer
118 views

Emulate a Linux terminal and shell commands in Windows [closed]

Ok, I am accustomed to Linux/Unix like terminal and its commands and now I am using Windows. Does anyone know how to emulate a Linux terminal and the bash Commands?
0
votes
1answer
19 views

Access samba3 share via terminal

i have a raspberry pi with samba3 on it (network access for my external HDD) And i have ubuntu14.04 on my laptop. For one on my scripts im working with i need to access the HDD via terminal. I ...
7
votes
4answers
29k views

Mac Terminal SSH file transfer?

Is there a way to transfer files directly from a Mac to another using only Terminal? Perhaps using SSH?
0
votes
1answer
37 views

How to know the file size information and download progress indication in iterm2 terminal?

Sometime when I download any file from terminal there is no indication of how small or big file and no progress bar to know the progress. Is there a way to get these features?
12
votes
3answers
39k views

How do I find my user ID and group in Mac OS X?

Trying to run this compand in terminal: sudo chown -R yourid:yourgroup local However, I have no idea what my ID and my group are, or where to find them. Any ideas?