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

Delete Directories that Contain Specified File in Mac OS X

How do I delete a folder that contains a file or folder with a specific name? E.g. I want to delete all folders that contain the file "things.txt": /dirA/ /dirB/things.txt /dirC/ /dirD/things.txt ...
1
vote
0answers
19 views

See if Mac OS X has enabled hyperthreading?

There is a way of disabling hyperthreading on Mac OS X: How to disable HyperThreading on Mac OS X Lion? Is there a Terminal command of seeing whether Mac OS X has hyperthreading enabled?
1
vote
1answer
14 views

Terminal that supports select-to-copy right click to paste

I wish to have select-to-copy and right click to paste in a terminal. Gnome terminal doesn't support this out of the box I think so I guess I am going to have to find a different terminal. Everything ...
1
vote
2answers
21 views

Choose which binary is default binary on Mac OS X Mavericks

I have installed the latest SVN 1.8 via homebrew on my Mac. However now If I run svn --version I get back that I have 1.7. Next thinng I run which -a svn which then shows me I have it twice: ...
0
votes
2answers
30 views

What is the Linux terminal ctrl+c to exit a running program in a Mac terminal

In Linux terminal if I run a command like: $ node httserver.js The command runs and by doing ctrl + c the program is terminated and new line comes in terminal for us to enter a command. I felt cmd ...
0
votes
1answer
17 views

OS X: Copying only files without a special string in filename

I have to copy only files from a folder that don't have following string in its filename: NNNNxNNNN (a 3 or 4 digit number followed by the character x followed by a 3 or 4 digit number again -> it's ...
1
vote
1answer
21 views

Unable to start PHP Server in linux command line

I tried php -s localhost:4444 WebContent/ But my ubuntu terminal gives Usage: php [options] [-f] [--] [args...]
1
vote
0answers
13 views

Better line breaking in terminal?

I am not sure if my request is valid, doable or better than the default option, but I'll give it a shot anyway. Word-wrapping in a terminal usually bothers me, since it wraps in the middle of the ...
0
votes
0answers
17 views

Trying to change Default Terminal Home/Path, getting 'eDSAttributeNotFound' error

Found this nice tutorial here on how to change your default path in terminal via stackoverflow. Steps followed: become root with sudo su -. Now fire up dscl by typing dscl localhost. Inside dscl, ...
1
vote
2answers
48 views

Terminal Command Colors

I like to have a really beatiful console style. I use zsh and I have changed my theme to "agnoster" See it under: oh-my-zsh My problem is that I do not have OS X and iTerm2 but I want to have these ...
0
votes
1answer
18 views

Get WiFi router information in Linux terminal

What Linux terminal commands can help me gather information about all WiFi routers my laptop can detect? I mean things like name, channel, encryption type etc. (Linux, Debian)
0
votes
3answers
42 views

cat clipboard text into a terminal?

I have text in the clipboard. I want to cat it in a terminal a pipe it into another command. The exact use case is a PEM encoded X509 certificate on a website presented as text (-----BEGIN ...
0
votes
1answer
33 views

Crazy terminal behavior

I am trying to run a script to rip all the audio from a bunch of MP4 files. Everything works when I do it line by line cutting and pasting from my text editor into terminal, but when I create a shell ...
0
votes
1answer
17 views

diff of two folders excuding file types with OS X command line

I found diff -rq folder1 folder2 however, being an OS X user you get the lovely hidden files like .DS_Store just clouding up the results in the terminal. So, I really don't care about those files. ...
0
votes
0answers
27 views

Entered wrong .bash_profile and now my laptop is running hot

I am just learning how to use the command line and was editing the bash prompt setting in .bash_profile. I made an error in the prompt settings in .bash_profile and I lost the prompt and the ability ...
-1
votes
0answers
9 views

Missing xterm-256color and screen256-color entries in terminfo

The results are confusing when searching for xterm-256-color and screen-256-color in terminfo. Looking for xterm-256color, i get xterm+256color. What's the difference between the two, one with "-" ...
2
votes
1answer
19 views

Emacs theme uses different colours in terminal

I made a theme for Emacs 24, using deftheme, based off something I generated with 4bit, with a theme structure loosely based on the built-in tango theme. In the screenshot below, you can see emacs ...
0
votes
1answer
15 views

Launch screen terminals with set directory

How can I get my screen session to open different terminals in different directories on login? For example, In my .screenrc file I have the following: screen -t bash0 screen -t bash1 screen -t bash2 ...
0
votes
1answer
5 views

Create iTerm2 startup configuration

iTerm allows one to save a window arrangement, I'd like to know if (and then how) I can extend this facility to do the following: Save the name of each tab so that each tab in the restored window ...
0
votes
1answer
15 views

Show last 5 opened processes in terminal?

I am trying to have a terminal showing the last 5 processes opened. This is helpful for my debugging. At this point I have watch ps -ef --sort=start_time This works fine but it shows all processes ...
1
vote
0answers
12 views

Inconsistent terminal settings across directories

This is a bit hard to explain, but for some reason, when I cd to one specific directory in my file tree, the terminal and the displays within the terminal appear different only inside this directory. ...
0
votes
1answer
9 views

PHP in Debian Terminal not working with extensions

I have Debian 7 installed on my server with a standard LAMP stack and also Mongo DB. Mongo as well as other third party PHP extensions work correctly through apache. These extensions however do not ...
1
vote
0answers
16 views

Terminal across two Monitors

I have two 24" Monitors connect to my Ubuntu 14.04 LTS. For some purposes it would be helpful to maximize my Terminal over both Monitors as one big Window. I can drag a window larger with the mouse, ...
0
votes
1answer
33 views

Mac Terminal: Loop through subdirectories and optimise all images

I have a folder containing many subfolders full of images. See attached image for example. Basically I want to loop through them all and downsize the images so none are wider than 1024 pixels. ...
2
votes
1answer
19 views

create a doskey like ~ in unix

I'm writing a small little BAT file that has the ability to create doskey's (alias) like those in Unix. for example: doskey cat=type $* doskey ..=cd.. I just want these BAT files so I can put them ...
0
votes
0answers
10 views

suppressing spurious invisible tmux/terminal output

I'm using tmux to run multiple terminals sessions. The issue I am having is that my top-level terminal program has a feature where it will notify me if there is any activity in a non-visible tab. ...
0
votes
1answer
19 views

Scroll bar in xgterm?

Does anyone know how to add or activate a scroll feature in xgterm? It is a bit obnoxious to not be able to scroll around the rest of the terminal.
0
votes
1answer
12 views

iTerm2 2.0 Unable to resize the main window

Ever since I updated to the latest version, my iTerm window is not taking full screen. Even more weird the Maximize/ minimize buttons are missing. This 50% window arrangement is really irritating. ...
1
vote
1answer
28 views

What's the deal with terminal colors?

There are 256 terminal color escapes available: 8 "system" colors (0 - 7) 8 "bright" system colors (8 - 15) 216, or 6*6*6 "RGB" colors (16 - 231) 24 "grayscale" colors (232 - 255) The "RGB" colors ...
1
vote
1answer
15 views

Why do I see the unicode character è when I type Alt-h in my xterm on centos?

I am sshing into a centos box from an ubuntu box. I keep seeing è when I type Alt-h (aka M-h). I want to use this key combo in tmux bindings but it doesn't work because tmux doesn't recognize utf8 ...
0
votes
0answers
18 views

understanding HTTrack actions

i just started using HTTrack . and it offers 5 actions whenever i want to download a website for offline viewing. which are 1 Mirror Web Site(s) 2 Mirror Web Site(s) with Wizard 3 Just Get Files ...
0
votes
2answers
63 views

Is it possible for a root user to watch others' shell session secretly in live?

I see a similar question on stackoverflow: http://stackoverflow.com/questions/1353253/linux-terminal-how-to-capture-or-watch-other-terminal-session Someone recommends conspy. However, it seems that ...
0
votes
1answer
16 views

Sudo Mv Renaming Mess Up

Okay, first things first Mac OS Mavericks MacBook Pro. Now, I used sudo mv to rename my Desktop and user folder. NOT the folder actually called user, but my user within that (it was neomartinson). ...
0
votes
1answer
23 views

Do GUI and Terminal execution (of Back In Time/Grsync/other Linux apps) produce the same results?

I've opened Back In Time GUI and copied the whole rsync ... line from the last log into Terminal and executed it in Terminal. Question #1 is: if I were to do it the normal way (click 'Take snapshot' ...
1
vote
0answers
39 views

Dual-Boot Windows 8.1 and BackTrack 5 R3 ISO with EasyBCD 2.2

I have a PC running Windows 8.1 (32-bit) and the BackTrack 5 R3 (KDE). I've installed Backtrack and it appeared on the boot menu, but whenever I select it, it always takes me to a terminal called ...
0
votes
0answers
8 views

Terminal 2 way ftp sync

I am looking for a way to sync a directory/path on my computer with an ftp server so that all the files that are newer will be copied and will replace the old files. The files that have been created ...
0
votes
2answers
93 views

Kali Linux and Bootloader problems

At first I was using Windows 8.1... I downloaded Kali and put it on flash memory. The options got me to either: -Browse live -Install I browsed it live a little then went to installation. Grub ...
0
votes
1answer
56 views

Mac OSX finder requiring permissions when deleting file, even after chmod

I created a Python script that requires sudo permissions to run (doing ICMP requests). This script creates a small directory and a couple .csv files, as well as a log.txt file. At first, after running ...
-1
votes
0answers
19 views

How to configure PuTTY/terminal/other to display tabs as 4 spaces instead of 8?

When i echo some file to terminal and try to select it with my mouse cursor TAB character replaces with 8 spaces. How to configure putty to show 4 spaces instead of 8?
0
votes
0answers
7 views

Terminal logs in Server (OS X Server)

I installed OS X Server, then uninstalled it. Now, Terminal logs me in as server:~ John$ Even though my computer's name in Sharing Preferences is called "John's MacBook Pro" It's no big deal, it ...
1
vote
1answer
29 views

Delayed SSH Connection, Authentication, and Commands

My home computer, a Mac running OS X 10.8.5, normally accepts SSH connections over the Internet (I have port forwarded) but is asleep right now. It sometimes may wake up for various reasons while I am ...
0
votes
1answer
52 views

'localhost' stoped working as an alias for '127.0.0.1' for SSHing into my VirtualBox VM from OSX. Why, and how to fix?

The question explains the problem. For months I've never had any problems along these lines. Then, yesterday morning, I couldn't get into my VM! Took a long time to troubleshoot but here was the ...
0
votes
0answers
21 views

Running Custom commands in a Terminal Application

I am running a terminal application in /dev/pts/X terminal that has its own console as sampleapp> what I need is to run commands specific to this application but from another terminal.
-1
votes
1answer
47 views

Customizing the Terminal

I am using Elementary OS (based on Ubuntu 12.04) and i would like to change the coloring scheme for Pantheon Terminal window. Here's what i have tried- Elementary Tweaks Dconf Editor shell ...
0
votes
0answers
38 views

-bash: java: command not found MacOS 10.7.5

I recently "uninstalled" Java 7 because it isn't compatible with Chrome, following the instructions on this site: https://www.java.com/en/download/help/mac_uninstall_java.xml. Then I re-enabled Java ...
1
vote
1answer
67 views

Line-wrapping `less` in OS X (specifically for use with 'git diff')

Using less +-S does not work (although it does ask Chop long lines (press RETURN)), and entering -S once inside less also does not work. Is there a solution? I am usig OS X Mavericks (10.9.3). ...
0
votes
4answers
71 views

Cannot execute binary file when not logged in as su

I am playing around with Linux, and am starting out with using the terminal. I am trying to create folders on the root of the filesystem, which my regular user does not have permissions to do. When ...
1
vote
1answer
15 views

tmux: close session while open

I am using tmux to manage multiple terminal windows. Currently I have 2 windows open with multiple panes. How can I close the session from inside of tmux. I know that I have to use the prefix (for me ...
0
votes
1answer
15 views

Determine available terminal emulators

How can I determine the available terminal emulators on a linux machine? A while ago I saw an answer on a SE exchange site, likely this one, that gave a directory where Linux typically keeps files ...
0
votes
2answers
31 views

Unable to scp from remote to local Mac

I have gone over SU and SO posts looking for a way to get this to work, but I'm about to put up my hands and stick with a GUI. I want to scp a ZIP file from a remote server to my local machine. I can ...