The terminal tag has no wiki summary.
1
vote
1answer
9 views
tmux and screen-256 TERM not supported on remote hosts
I have set up my tmux to use screen-256colors and it works great with vim.
However, when I ssh to a remote host from within tmux, screen-256colors isn't recognized, so I'm getting errors like this:
...
0
votes
1answer
23 views
Why does my Mac address reset after reconnecting?
I have ubuntu 12. I'm changing my mac address with ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx which works. However when I restart my connection my computer resets my mac to my original mac address. I'm ...
0
votes
3answers
15 views
remove files from dir using terminal
I need to delete all files, except one( its name is defined), from given( or current ) directory. How can I do this using unix terminal( MacOs ). Can I do this with one single command.
Thanks!
0
votes
1answer
42 views
How to zip multiple files into separate archives?
I admit this question was asked here before:
Like Zip into separate files where the person who asked didn't specify the OS he used and received no answers.
I need to separate a huge directory ...
0
votes
1answer
17 views
Can't use default Terminal theme on my MacBook Pro Lion
I have my terminal settings like so:
On startup, open: New window with settings - Pro
In settings I have the "Pro" theme selected as "Default"
However, every time I open the terminal it will open ...
1
vote
3answers
44 views
Macvim lags while Vim on terminal is buttery smooth
I am running OS X Lion 10.7.3 and Macvim runs significantly slower than vim on the terminal for me. All movement commands in Macvim are much slower. Moving up and down in visual mode is equally as ...
0
votes
1answer
11 views
Precedent for terminal key bindings for Windows or Mac Cmd key
Unix terminals send ASCII codes below 32 for Ctrl + another key, and have at least two ways of sending "meta" (viz. either prefixing code 27 or setting the high bit of an ASCII character). Is there a ...
0
votes
1answer
48 views
Username has changed on Mac OS X Lion
My username (the first thing you see on every line in the Terminal) has changed. It used to be my first name (Jonathan), but it has changed to the name of a freelance web project I'm currently working ...
1
vote
0answers
19 views
Where shared folders are located on MAC OS X Lion?
On Snow Leopard there is a file named /var/db/samba/smb.shares where listed all shared folders.
Does anyone know, where that file is located on MAC OS X Lion? Thanks
0
votes
1answer
17 views
Installing Bootstrap in NAS server?
I have a Synology NAS Server, and am trying to follow these instructions to install Boostrap:
...
0
votes
1answer
130 views
Can't start useraccount / no GUI terminal
When I am in the startmenu of Ubuntu 12.04 I can not start in my own account and I don't see any error messages.
I try to use my account and then I return to the original start menu. I can start in ...
3
votes
2answers
42 views
How can I retain grep's match highlighting when piping find into grep?
If I run grep foo bar.txt, grep highlights each occurrence of "foo" in bar.txt. But sometimes I want to use find to determine which files grep searches. So I do something like this:
find . -iname ...
0
votes
2answers
54 views
Linux terminal, my program only resumes after scrolling the printout
I am using Ubuntu 12.04, unity. I have a program running in terminal. It is supposed to run for ~10 hours. But it halted after I came back after a few hours. The CPU usage shows that the program is ...
3
votes
1answer
183 views
Set default terminal in Ubuntu 12.04
I've set the default terminal using sudo update-alternatives --config x-terminal-emulator but every time I press Control + Alt + T, it still opens up gnome-terminal.
I would like to change it to ...
1
vote
1answer
25 views
Finding Group name by using GeneratedUID
In Mac OS X Lion, given a group's GeneratedUID, what command can I do a reverse lookup and find the group name? DSeditgroup (group name) will give me the GUID, but I'm looking for the reverse.
Thank ...
0
votes
2answers
32 views
Where does a file have to be for terminal to find it?
I'm trying to use rpm to install a file through the linux terminal. The file I'm currently trying to install is in my downloads folder and is named: vnc-server.rpm
But when I type rpm -Uvh ...
0
votes
1answer
21 views
Detecting used terminal application (iTerm2)
Can one detect what terminal application is being used? I want the actual application, not TERM env in the question.
I'd like to detect iTerm 2 / Terminal.app so I could set OSX specific keyboard ...
1
vote
1answer
48 views
Shell scripts in windows
I've been using the terminal in Ubuntu and Debian for a while and use shell scripts, commands like find, grep etc.. and the vim editor.
What is the best way to use such commands/software under ...
0
votes
2answers
39 views
How to find out why openning a Terminal in OS X is very slow sometimes?
Is there a way to verbosely print everything that gets executed when I open a Terminal in OS X?
Sometimes it takes up to 10 seconds for the Terminal to become ready for interaction and I want to know ...
1
vote
2answers
34 views
OSX - what would cause a d.txt file to contain all my Terminal history to appear in my homedir?
I was working when I noticed a file in my homedir called d.txt. It contained all of my iPython work I'd been doing in the last hour or so. Is this something that my Terminal app did, or something that ...
0
votes
1answer
43 views
Terminal not working: -bash: exit: with: numeric argument required what to do?
I was trying to install F# compiler and interactive on my Mac, and part of the installation process required providing aliases in the bash profile file.
I suspect that I messed something up here, ...
0
votes
2answers
97 views
Xubuntu Terminal overrides shell- and vi color schemes, how to deactivate?
I'm running an up-to-tade Xubuntu and have a real problem with these Terminals. I don't want them to be all that design-ish. Just the plain old Terminal with a black background and green text. And in ...
0
votes
0answers
19 views
Terminal highlighting and auto complete
Do you know some plugin for highlighting and autocomplete in postgreSQL terminal?
1
vote
1answer
17 views
Regex to remove and then rename file
I'm using terminal on OSX along with the find command to find *.txt files and then rm them with the current time/date stamp. All my files which find locates consists of filename_day_month_year_hour. ...
1
vote
2answers
78 views
Bash/xdotool: Commands work, but not in a script
I am making a bash script for Linux which closes the terminal window if the window loses focus.
On the command line, I was able to do this:
termwin=$(xdotool getactivewindow)
while :
do
if [[ ...
1
vote
1answer
41 views
Way to switch F keys to 'application' keys and back on mac via terminal? (10.6)
Is there a command I can issue via terminal to switch my F1-12 keys to being application keys (media, screen brightness ...) and back? i.e. replicate toggling System Preferences => Keyboard => ...
0
votes
0answers
19 views
Mac Terminal - Changing the $ Prefix [closed]
Possible Duplicate:
Is it possible to change my terminal window prompt text?
Is it possible to change the $ prefix in the terminal to another character? I would like to change $ to ⚡.
...
0
votes
1answer
16 views
CTRL-[keys] and arrows not functionning in terminal / ipython
I'm using ipython
Inside the python shell, when I press up instead of showing the last command, it prints
^[[A
also CTRL-[keys] are fubar. CTRL-p prints
^P
Everything is normal under ...
0
votes
2answers
67 views
Save terminal tabs, and vim sessions
Is it possible, using terminal in Ubuntu 12.04, to save the session, with all the tabs and everything opened in those tabs, and than reopen it at a later time?
My problem is that I have a few tabs ...
2
votes
1answer
95 views
VIM: How to configure Solarized colorscheme in Konsole
I am trying to configure Solarized for use in VIM in Konsole (KDE terminal). This is the result that I get:
Note that Solarized looks fine in GVIM on the same machine:
I suspect that it is ...
0
votes
1answer
38 views
create alias to ssh to a server and then connect to mysql
I currently have an alias to connect to a remote server:
alias server='ssh user@ec2-00-00-00-000.compute-1.amazonaws.com'
I would like to have an alias to connect to this server, and then ...
0
votes
2answers
35 views
View old command output from a closed terminal
I ran
hg pull
hg up
to check in my working copy to the Mercurial repository.
I got some warning messages in the terminal. I closed the terminal and now I want to see those messages again.
Are ...
2
votes
2answers
144 views
Can't Install npm, Can't Remove npm, Can't Access Any Commands, Can't Install Coffeescript
I am on Mac OS X Lion, I just used the package installer from nodejs.org to install node.js. Node.js is working fine, and Node.js comes with npm. I have homebrew installed as well. I am just trying to ...
1
vote
1answer
22 views
Sigkill terminal emulator
I use tmux. Sometimes I have a terminal emulator open and I'd like to kill it without closing all my tmux windows. Right now I can do it with a ps -u <user> | grep urxvt followed by kill ...
2
votes
1answer
111 views
Using SCP or SFTP with my ssh config file?
Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
0
votes
1answer
42 views
How to make bash remember history of previous sessions?
I have MacOSX but this should be *NIX-generic.
In my computer at work, my bash shell remembers history from previous sessions, even if I just opened a new terminal.
In my computer at home, this ...
0
votes
0answers
16 views
apply password directly to a zip file from terminal
Is it possible to apply a password to an existing zip file without having to manually enter the password twice. I want be able to specify the password also at the time of issuing the command. So ...
1
vote
1answer
19 views
Missing library libkolfprivate.so and the symptoms?
Every time I want to install something in pacman I get this info:
ldconfig: File /usr/lib/libkolfprivate.so is empty, not checked.
ldconfig: File /usr/lib/libkolfprivate.so.4 is empty, not checked.
...
1
vote
2answers
68 views
Escape sequences in virtual terminal
I need send next escape sequence through COM port.
^[[LD
NOTE (from manual) Pressing "Ctrl-v", "Ctrl-[" on keyboard will generate the "^[" escape sequence. In some file systems, the escape
...
0
votes
2answers
57 views
Login to Remote Linux machine and chRoot preserving all Terminal Windows
Everyday I connect to a remote machine (RedHat) from my macbook (Lion). I use Terminal to connect to remote machine and then to chroot. Then I open 2-3 windows on Terminal for various files.
Is ...
1
vote
0answers
62 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 ...
0
votes
1answer
75 views
Execute Selenium at the startup
I'm using Selenium to automate a browser in a Server from a client, but I want that the server execute selenium automatically at the startup.
I have 3 files in /etc/init:
proxyserver.conf:
respawn
...
2
votes
2answers
146 views
Grep in Mac OS X's terminal — only displaying one color
I am used to grep being able to color the filename, the line number, and the match itself. These three ought to be different colors. This works flawlessly on a Linux terminal and even MinGW on ...
2
votes
1answer
61 views
How to spawn a terminal when executing a compiled C program?
I've overwritten the gnome-screenshot program to suit my needs in getting a screenshot from a secondary home-made graphics card output and now when I press the PrintScreen button it executes it (as ...
2
votes
3answers
121 views
Quit an application in OS X Terminal
I'm fairly new to OS X. I am testing a PHP application that runs continuously in a loop.
When I run this application from the terminal, the machine name disappears and the application proceeds to ...
0
votes
0answers
145 views
Eclipse installation on OpenSuse 12.1
I have to install eclipse on my opensuse linux-box.
well i have undertaken several attempts - no i am not sure if it is allready on the machine or not!?
how can itest if it is on the OpenSuse ...
1
vote
2answers
137 views
How to configure the ANSI colors of the command line terminal
I specifically use bash on Mac OS X, but I think the answer would be Unix-generic.
I'm already using ANSI colors, but I'd like to reassign different colors to folders, hidden files, etc.
...
1
vote
1answer
99 views
How can I grep with color in Mac OS X's terminal?
I recently found that on Mac OS X I can set this up in my shell ~/.profile so that when I use grep it will print the matches in color (white one red).
alias grep='GREP_COLOR="1;37;41" LANG=C grep ...
0
votes
1answer
40 views
Shutting up KDE applications launched from the command line
Whenever I launch a KDE application from the command line, for instance okular to view a pdf, I get spammed with tons of warnings and various messages that I am not interested in. Even hours after I ...
2
votes
1answer
46 views
Combine compilation-mode and ansi-term-mode in Emacs?
In Emacs, I would like to be able to combine the features of ansi-term-mode and compilation-mode. I have a build system for compiling my source code which uses terminal commands for placing the ...