0
votes
0answers
14 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, ...
0
votes
1answer
15 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
2answers
24 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 ...
-1
votes
0answers
7 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 "-" ...
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 ...
0
votes
1answer
14 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.
1
vote
1answer
14 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
2answers
62 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
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
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
4answers
65 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 ...
0
votes
1answer
14 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
0answers
4 views

linux net command for osx terminal? [duplicate]

i am trying to establish a way to use the same samba net commant found on a linux distro using samba 3.x but i am unable to identify the mac version of it reference to the net command: ...
2
votes
2answers
69 views

How can I execute a command and immediately quit the terminal?

It should be pretty clear what I'm trying to do: original script.sh: select blah in foo bar oof rab do cmd $blah break done Pretty basic stuff. The problem arises when I try the following: ...
0
votes
0answers
14 views

Use control-nonletter with Emacs in xterm

I mostly use Emacs in a window (I mean a normal GUI window, I guess this is what Emacs would calls a "frame" for which display-graphic-p returns t) but ocasionally use it in inside a terminal ...
0
votes
0answers
27 views

How to install Haskell platform on Kali Linux?

I'm new to Linux and I want to install Haskell platform on my Kali Linux system, but unfortunately I can't do it alone.So I really need your help. Also, if possible explain me how to do it step by ...
1
vote
2answers
37 views

SSH TERM detection

My ssh config file has accept env set as: AcceptEnv LANG LC_* I am a bit confused how when I ssh through some clients my TERM variable is set as xterm256-color, and other clients TERM is set as ...
1
vote
1answer
23 views

redirect one bash line to stdout/terminal vs log

I have a bash script where I'm redirecting output into a file for logging. if test -t 1; then # stdout is a terminal exec > $OUTPUT_FILE 2>&1 else # stdout is not a terminal, no ...
0
votes
0answers
22 views

How to set fractional font size in terminal?

I'm trying to set the font in gnome-terminal to 9.5, which is ideal for me. I have installed many programming fonts, viz. proggy, anonymous-pro, terminus, inconsolata, droid-monovar, consolas, gohu, ...
1
vote
1answer
22 views

How to get tree -a to ignore .git directories?

I love using tree to list directories, and I have a git repository with all my dotfiles. For me to be able to see them I need to do tree -a, but that will also list the contents inside the .git ...
1
vote
0answers
21 views

How to type asterisk while being in screen

How to type asterisk (*) character while running "screen" in terminal? Asterisk is binded to show a listing of all currently attached displays. Maybe there is some way to unbind it?
0
votes
1answer
21 views

How to run headless VirtualBox in another GUI terminal in Linux?

I want to run Windows and Linux simultaneously through Virtualbox with Linux as a host. Having desktop environment running on GUI terminal (ctrl+alt+f7) I want to run from the first terminal ...
1
vote
2answers
23 views

Open file to run x time - linux terminal

I want to create x instance of a .sh file. By exemple instad of open x terminals and enter ./.sh in everyone, I want to open then open autmatlicly all doing the same "*.sh" file run. Any way to do ...
1
vote
1answer
34 views

Putty: highlighting copying

I currently use Putty at my work, and I am always fascinated by how useful the highlight copying tool is. Is there some way I can get this same feature on my System 76 laptop when I am in the ...
0
votes
0answers
23 views

Start terminator terminal in a free spot on my screen

When I start the default Ubuntu terminal, it automatically puts the new terminal in a spot on the screen where no other terminals are there. Now I set terminator as my default terminal. But whenever ...
2
votes
1answer
81 views

Starting programs from terminal then exiting terminal exits started programs?

I really was unsure how to phrase the question title. What I mean is that when I use the terminal to start a program, most of the time when the terminal is closed it also exits the programs started ...
3
votes
3answers
439 views

How to copy a file with a $ (dollar sign) in the name from one folder to another in Linux?

I have a file which I want to copy from one directory to another directory. Suppose that's the file some.txt to copy from folder1 to folder2 cp -r some.txt /folder2 I am able to copy this file but ...
3
votes
2answers
426 views

How to search a text file for strings between two tokens in Ubuntu terminal and save the output?

How can I search a text file for this pattern in Ubuntu terminal and save the output as a text file? I'm looking for everything between the string "abc" and the string "cde" in a long list of data. ...
0
votes
0answers
37 views

Detaching from a GNU Screen suddenly clears the terminal

I feel so stupid for asking this, but here goes: I updated my Ubuntu (Server) install today from 13.10 to 14.04. Before the upgrade detaching from screen did not clear the terminal and now it does. ...
1
vote
1answer
22 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
3answers
62 views

How to open new terminal in current directory?

When in a directory, I sometimes want another terminal to be opened in the same directory. For example, I'm in ~/code/someproject/src/, and I open a new terminal, by default, it opens in ~, how do I ...
0
votes
1answer
21 views

How can I start a totally independentt new instance of tmux?

If I have already a tmux session opened, results that I can't start a new one with another tmux configuration, for ie: $ tmux # loads new session using ~/.tmux.conf In another terminal... $ tmux ...
3
votes
0answers
88 views

Will any (recent) Linux terminal emulator allow me to save my session (tabs, history, etc)?

Over time, I become invested in my terminal sessions: tabs, command history, window layout and title, etc. Eventually, a reboot requires me to start all over again which wastes my time. The two ...
-1
votes
2answers
77 views

How can I change the “/” path in linux [closed]

When I type cd /, it changes my directory to a default one. How can I override the current settings so that / points to a different directory.
0
votes
2answers
26 views

Copy shell configuration from one machine to another?

I've got login to another server where shell configurations are not like I would want. For example I don't see my username and CWD on prompt, and when I press arrow key, instead of giving last entered ...
0
votes
2answers
64 views

How to install VLC media player in CentOS6?

I am using the CentOS, version 6, GNU/Linux distribution. I am in need to install VLC media player, what command i need to use at the terminal? I have tried yum install vlc.
3
votes
1answer
71 views

Why does my .bashrc get read when I run noninteractive commands over ssh

I've prepended each of my bash config files (~/.bashrc,~/.bash_profile,~/.profile) with echo NAME_OF_FILE, i.e. I get '.bashrc' when I source in ~/.bashrc. What baffles me is why I get and ...
1
vote
0answers
83 views

I can't get XFCE terminal to display VIM's colorschemes

That's what I have in my .bashrc if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then export TERM=xterm-256color fi In my .vimrc I have: set t_Co=256 echo $TERM prints xterm-256color tput ...
-1
votes
3answers
58 views

Pass a (large) string to 'grep' instead of a file name

Is it possible to pass a relatively large string to grep or can it only accept a file? Note that I'm not talking about piping output to grep, but doing something like: grep 'hello' 'hello world' ...
1
vote
2answers
32 views

Is there a terminal supporting embeded graph under linux? [closed]

everyone. I want to know if there is a graphic terminal which support viewing images inline. The ipython qtconsole is very cool because it has the '%matplotlib inline' magic. But I'd like to use ...
0
votes
0answers
62 views

GNU screen mirroring (-x) with different size monitors/resolution

I'm using "screen -x" to mirror screens across two systems at the same time, but I seem to have an issue with resolutions. On most of my screen windows, the top portion (or bottom) is cut off when I ...
0
votes
2answers
43 views

Check if virtualhost is working using terminal

I have set up a LAMP server remotely and have ssh access to it. But I haven't managed to configure HTTP access to the site. I changed the www directory to my home directory and want to know if there ...
0
votes
0answers
43 views

TERM=xterm-256color vs xterm+256color

I noticed debian ships with a terminfo xterm+256color while most other distros only have (and is the default in osx) xterm-256color looking at the info on both, i can see that xterm+256color is very ...
3
votes
1answer
79 views

What does Shift+Enter do in a terminal, and can I disable it in Vim?

Everyone once in a while while in insert mode in Vim, I'd be happily typing along, when all of a sudden I'd be thrown out of insert mode and my last edit undone after hitting a certain key ...
0
votes
0answers
23 views

Fonts not displaying well, Linux

I downloaded a set of truetype fonts and copied them to /usr/share/font/truetype, I gave them a 644 permission and did fc-cache -f but they are still not displaying. It is a fixed-width font and I ...
0
votes
0answers
66 views

Script to open mutliple terminals with multiple tabs each, move and resize these and execute commands

So I am trying to make a bashscript, which does the above mentioned. Background is that I have to keep an eye on lots of logs, and theres have to have opened many console side-by-side. E.g. one ...
3
votes
1answer
41 views

Ubuntu Linux sudo groupadd option menu keeps showing

I'm a beginner to Ubuntu and Linux. Every time I try to do a groupadd in my Ubuntu terminal the options for groupadd show up and I dont know why. I enter this in my home directory: sudo groupadd –g ...
1
vote
1answer
48 views

How to enter an existing R shell from command line linux

All, I'm accessing a remote server via SSH and running an R process on that server. We're in development right now, so it's important for me to enter the R shell and run line by line commands. Last ...
0
votes
1answer
32 views

Is there a serial terminal program that allows filtering the messages?

For the serial terminal program choices, we have hyperterminal and putty on Windows; minicom and screen on Linux/Mac. But as far as I know, none of these has the message filtering functionality as ...
0
votes
0answers
47 views

Ctrl-k does not copy to clipboard

I am used to using emacs type commands in terminals and now I discovered a funny behaviour in "konsole" that I cannot correct. I am using ctrl-k to cut the rest of the line from the cursor and in ...