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
1answer
65 views

ssh port forwarding through a pseudo terminal

Here's a situation: I do all my work on a Mac. There's a certain linux server 'server01' that provides access to another linux server 'server02' via a pseudo terminal So, to ssh into '...
0
votes
1answer
40 views

Open Source Terminal Emulator applications

We are using Rumba and Reflections for our IBM mainframe and Unix emulators. I was wondering if anyone had a side by side comparison of open source emulators that I can compare to Rumba and ...
0
votes
1answer
42 views

Ran a WHOIS query, returned info as well as a blacklist indication?

I am following the Pentesterlab Bootcamp and I have started playing with the WHOIS command in terminal. I ran a WHOIS command and received the queried information, as well as an indication that my IP ...
0
votes
1answer
36 views

Mac OS X - Why doesn't the 'open' command pass parms for me from a bash script?

I am attempting to run this 'open' command through a bash script, but the arguments aren't passing for some reason. Any ideas? #!/bin/bash open -a /Applications/Google\ Chrome.app/ --args --disable-...
0
votes
1answer
93 views

Is there a way to configure a text terminal to display the SOH (^A) control character?

I need to look a some logs (FIX protocol messages from QuickFIX) which use the SOH character as a separator between fields. While I can modify the source to replace the character with '||' or ...
0
votes
1answer
1k views

How to launch Chrome with explicit “hardware acceleration” setting?

There is an advanced setting in Google Chrome to toggle "hardware acceleration." On a Mac, I want to be able to choose whether Chrome launches with this option on or off. Any way to do this? (from ...
0
votes
1answer
45 views

remove substring from filenames in subdirectories in mac

I have a backup from windows 8 file history that added timestamp to my files in all subdirectories. as the following _sites (2014_08_04 20_32_19 UTC).extension I need to remove the whole substring to ...
0
votes
1answer
23 views

MAC Terminal doesn't shows folder

I was installing cocoapods, and for doing so I need to access the folder where my iOS apps are, via Terminal. So, I opened the terminal and navigate to that folder...just to see Terminal doesn't find ...
0
votes
1answer
287 views

bash tab completion not working in graphical shells

I have a fresh install of xubuntu 14.04 with xrdp installed. tab completion works when logged in via ssh tab completion doesn't work when using any graphical shell (terminal, xterm, ...) /usr/share/...
0
votes
1answer
40 views

Using `top` to output only the running processes, PIDs and users?

I'd like to run top -n 1 so that it only outputs a list of running processes, their PIDs and the user that has run them (the "COMMAND", "PID" and "USER" columns). I don't need any of the other ...
0
votes
1answer
249 views

How to get the Default browser name in mac osX using a bash script

I am trying to write a script that finds If the default browser is chrome. In which file can I find store this information?
0
votes
1answer
186 views

OS X writing on NTFS filesystem: files disappeared after ls -l@

I have an NTFS hard drive that I have written files to after following the instructions here to allow for writing to NTFS. I noticed that if I write files to NTFS, after disconnecting the drive and ...
0
votes
1answer
280 views

Keyboard layout in Terminal of Red Hat Linux changes automatically

I have an unique problem in Terminal of Red Hat Linux WS 6.6. After some of period of period (Don't know exactly when..) keyboard layout (and not language) changes from German to English ONLY in ...
0
votes
1answer
43 views

I have two different types of quotes show up when using Terminal on a Mac with Autodesk Maya

I am using Terminal to execute commands for rendering purposes with Autodesk Maya, and have constantly run into an issue of being able to have two different kinds of double quotations (left of return ...
0
votes
1answer
60 views

Send click event to dialog shown through display dialog command in OS X Terminal

I have an sh script that displays a dialog; this dialog can be closed by the user but I am looking at a gracious way to close it, from within another similar script, run at a particular moment, if ...
0
votes
1answer
114 views

Connect to wifi via bash script in Debian

This command seems to be kinda outdated because it only supports wep: iwconfig wlan0 essid WIFI_NETWORK key s:WIFI_PASSWORD dhclient wlan0 I found an alternative way that supports wpa2, but it ...
0
votes
1answer
66 views

Running script according to Terminal Context

Is is possible to get the current context, or front-most user-facing process, to trigger a script when it changes? For instance, the user starts with the command prompt, then goes into Emacs ...
0
votes
1answer
38 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
346 views

How can I change my fcitx input method from the terminal?

I am looking for a way to change the fcitx input method using a terminal command. I know I can use the hotkeys, but for the purposes of an application I am writing, I need to use a command (something ...
0
votes
1answer
32 views

What's the relationship between multiplexer and terminal?

Recently, I learned there's this tmux tool. in wiki, it defines tmux is a terminal multiplexer and I kinda get the idea of what it is capable of. But I'm a little confused about the relationship ...
0
votes
1answer
94 views

Mac Terminal Display Column of the Cursor

How I can display the column position of either the cursor or the mouse pointer. Using the terminal on OSX 10.10 edited --- I wanted to know which character was the R in over for example. I ...
0
votes
1answer
127 views

Add application (Sublime Text) to PATH in ZShell

My config: MacBook pro 2014 OSX Yosemite ZShell I'd like to be able to type: EdChigliak $: sublime "filename.txt" and have my file opened in Sublime Text. I suppose I need to add Sublime Text ...
0
votes
1answer
134 views

Html2png conversion with custom size in Mac terminal

I need to batch convert html files into png without white fields around the picture. The html file has a background with two lines of text upon it. The background image is attached with css code in ...
0
votes
1answer
24 views

Sometimes my terminal screws up newlines after killing a process

When I fire up a new terminal, this is usually what it can look like: $ echo "test"; echo "blaat" test blaat But sometimes after having run a process in the terminal that I killed with SIGKILL, my ...
0
votes
1answer
57 views

How to find the name of the user that has been logged in the longest?

I need to determine the user who has been logged in to the Linux server for the longest time. Can't come up with the right commando. Any help is appreciated.
0
votes
1answer
56 views

How to enter into process running on gdb?

So I was trying to debug a program that runs on two node. I use yod as task launcher. yod -hosts node01,node02 ./dist_task -nl 2 The program is stuck. So I wanted to use the gdb like this yod -...
0
votes
1answer
50 views

FreeBSD bash history: can't access last symbol of command

There's an old server I am working with, runs modified FreeBSD 6.1 with bash 2.05b.0(1)-release. On 'up' key press the last command from history pops up - but I can't access the last symbol, like the ...
0
votes
1answer
28 views

Cat and/or echo several things into one file on “one command line”

I know we can do things like this: stat -f%z mybigfile > RELEASENOTES.txt and echo "bytes" >> RELEASENOTES.txt Now RELEASENOTES.txt will look like this: 47556304 bytes How can I get "...
0
votes
1answer
84 views

Debian, doesn't work the option “Open in the terminal”

Opening nautilus and using the usual right-click and then clicking on "open the terminal" nothing happens. This has happened after (I think) the daily update of Debian or the installation of ...
0
votes
1answer
373 views

Mac Terminal theme - text-colors not working

I'm using the Mac Terminal more frequently and was using the Homebrew theme (green text, black background). Now I wanted to set a new theme which had different text colors. The one I tried using was ...
0
votes
1answer
420 views

CPU Load + Frequency per core in linux terminal?

I am doing scientific computing and I need to keep an eye on the cpu frequency and load of each core (there are 2 cores, on Ubuntu 14.04 w/ Gnome3). I can see the frequency with this bash script: ...
0
votes
1answer
111 views

Resize terminal Emacs window to fit when resuming a Screen session from larger display in Ubuntu

Whenever I start a GNU screen session running GNU emacs (nw, so in terminal) on my desktop with a large monitor, then resume it on my laptop, emacs still thinks it's on a large monitor. This means as ...
0
votes
1answer
80 views

Assigning keyboard shortcut to OSX's “New Terminal at Folder” service does not work

I often use right click > Services > New Terminal at Folder to do terminal commands at particular place so now I wanted to assign a keyboard shortcut to it. However, no matter what shortcut I ...
0
votes
1answer
234 views

Terminal prompt disappeared?

I was fooling around in “Terminal” (Mac OS 10.6) and typed in sudo ping -f but didn’t put in a URL and didn’t hit return, instead closing the application. When I opened it again the prompt that ...
0
votes
1answer
97 views

after SSHing into another machine and starting vim, run terminal command in original terminal

I use ssh to remotely login to a machine where I subsequently work primarily from Vim. Sometimes I want to run some shell command on my original machine without leaving Vim. What is a non-disruptive ...
0
votes
1answer
998 views

How can I ping computers on another network?

I can successfully ping a computer on the same wireless network as me using the ping command in Terminal, however when I try to ping computers on outside wireless networks using their external IP ...
0
votes
1answer
9 views

Nano in Pathfinder Terminal Shows 2-Line Header

I use nano (= pico) for editing git commits in my terminal window. I'm trying to use the terminal in PathFinder but this happens: There are almost no settings for Path Finder. Is there anything I ...
0
votes
1answer
185 views

remap ctrl-shift-up -down (xubuntu, bash)

I'm using xubuntu 14.04 and trying to remap ctrl-shift-up/-down arrow key in vim in xfce-terminal (not gvim). Doing the same with left/right works fine. The keys are not mapped in some xfce-settings. ...
0
votes
1answer
793 views

Pipe directly to a Tmux pane

I've been looking at the available Tmux commands and I can see, out of the box, that I can pipe output from a pane elsewhere or write to the terminal assigned to the session. I would like to have ...
0
votes
1answer
94 views

How to create a mac script to automatically update at night

I am managing a group of macs, and I need them to automatically update every night at 2 AM. What terminal command (or other means) should I use to make this happen? Thanks!
0
votes
1answer
58 views

File '1' in OS X

I found I have files named 1 with zero size all over the hard drive. Especially in frequently used directories. They are created again even if I delete them. I think it maybe has something to do with ...
0
votes
1answer
59 views

How to enable path folder in mac terminal

As You see when I put command "pwd" I'm in folder: MacBook-Grzeg% pwd /Users/Grzeg/ticket_managment But my terminal still show only that's: MacBook-Grzeg% Now as you can see I have ...
0
votes
1answer
86 views

Making text color lighter in a fedora terminal using a dark background

In a fedora distribution, When you use a dark background, colored text are too dark to offer a good contrast. How do you fix that?
0
votes
1answer
151 views

terminal previous history command overwrite characters

I have a weird behavior in my terminal (bash). When I CTRL-P, then try to insert some text at some position, the following characters overwritten. Not really overwritten but my terminal dont show ...
0
votes
1answer
448 views

Simplest way to send characters to USB serial device on Mac using script

I have a simple serial device that I need to talk to (but not listen to) periodically via command. The device is connected OK as /dev/usbxxx. What is the simplest/easiest way to do this? Installing ...
0
votes
1answer
73 views

Mac .bash_profile.save How to make it run by itself / where to actually change paths

trying to change my path for Ruby / SASS. I have always used a file in my home called '.bash_profile.save' In there I have the export paths which work fine but only when I run: source ~/....
0
votes
1answer
338 views

Can't run .bundle file in Mac OSX

I was trying to open a simple .bundle file in OS X. When I run the executable code inside the "Mac OS" folder (32 bit Unix file) this message appears in the terminal: -bash: /Applications/Waves/...
0
votes
1answer
180 views

Damaged preference file in /bin/sh

Today in Drive Genius 3, I ran the “Verify Preferences” function in Repair. It yielded this strange result: /bin/sh: xargs: command not found The only option Drive Genius gives is to remove the ...
0
votes
1answer
204 views

I have a ~/.cshrc file that is sourcing another file, which should source an additional file but is not

I recently inherited an administration role for my lab and I'm still fairly new to this... so hopefully this question makes sense. Our system is set up so that one server hosts the data/user ...
0
votes
1answer
55 views

Sliding, docked Terminal window in OS X

In this video the author has an ever present Terminal window which he can hide (sliding to the bottom) and pull up with a hotkey or something. Does anyone know how to achieve this? It could greatly ...