The terminal tag has no wiki summary.
1
vote
2answers
36 views
Close SSH connection
I'm using Mac's Terminal App and I know how to connect to an external server via ssh (ssh -l username domain.com). But how do I close the connection once I'm done? Thanks.
1
vote
0answers
23 views
Running terminal commands from Chrome's Omnibar
I would like to use Google Chrome's Omnibar to execute terminal commands.
Is there any way to do that?
Edit:
I found that I could add a custom search engine as "terminal://%s". However, there seems ...
2
votes
1answer
13 views
How to get different terminals for dual monitor scheme without X
I have Ubuntu installed without X.org with two monitors(single card: vga and dvi)
Login shell is cloned for both monitors.
I there any way to have different shells(tty) for these monitors?
-2
votes
0answers
41 views
Create an executable from a shell script in OS X [closed]
Possible Duplicate:
Can I create a configuration file for a shell script?
I need to create an executable from shell (.command) in OS X, with parameters.
Example:
backup -s1
-s1 is ...
1
vote
1answer
35 views
How to reclaim ^S in zsh?
I've found ^S mapped to be the fwd-search key for zsh (ohmyzsh) but I would like to use it in vim for various mappings as well - it seems like the zsh mapping is preventing me from using it now.
Any ...
0
votes
0answers
23 views
Using rsync to synchronise folders without overwriting files of same name
I would like to synchronise the contents of two directories.
Without overwriting but to create a copy if two files have the same name, but different sizes
Without duplicating if two files have the ...
2
votes
2answers
23 views
How do I use non-latin alphabet characters in a framebuffer console?
How do you guys use Linux when you have lots of files with non-Latin alphabets, or even Chinese/Japanese? I don't have a problem with Windows, because I do everything in the GUI (it's hard not to), ...
1
vote
1answer
51 views
SSH download file from web server
I need to do a backup on a website, but I need to download locally to a folder on my hard drive.
Example: scp name.zip -> MyMac/Documents/Backup
This can be done via shell, Terminal, etc. What ...
0
votes
1answer
41 views
Fedora 16 terminal delay on bad command
Is it possible to get of the (~3s) delay one gets when typing a bad command in Fedora 16? My friend keeps changing the key map but the delay is even more annoying.
0
votes
1answer
42 views
Clear a line in the terminal
I sometimes start writing a command in the terminal (iTerm2) which half-way written I want to erase.
How can quickly remove all the characters on the line being worked on in the terminal?
4
votes
3answers
134 views
How do I partition and mount a 3TB Hard Disk using the terminal?
I have a 3TB Hard disk which I wish to mount as a single partition under Ubuntu 11.10 server
Because it is over 2TB I know there are some issues with this. I'm unsure of what I need to do to make ...
0
votes
1answer
89 views
Arch Linux: colors from terminal in bash script?
In addition to ArchLinux - yaourt: save updatelog?
With tee I am able to get the output at a file and at the terminal at the same time.
But when I execute yaourt -Syu | tee yaourt.log in a bash file ...
0
votes
1answer
75 views
Colour-code terminal windows by host
I regularly work on different hosts using ssh, and I sometimes get confused about which computer I'm running commands on. I've occasionally come close to issuing halt(8) commands to the wrong host.
...
1
vote
1answer
40 views
How do you move to the next or previous word in a Terminal in Mac OS?
I usually use Linux, no expert at all (very far from it) but I use it daily.
Sometimes I find myself using (someone else's) Mac and typing commands into a Terminal.
In Linux, I can use Ctrl+Left and ...
2
votes
2answers
76 views
How do I write code of more than 1 line in the Python interpreter?
I have a problem coding Python in terminal. I'm just learning basics so I have no need to create .py files.
In terminal I can run one line of code in the Python interpreter, but how do I write more ...
1
vote
2answers
121 views
Running MATLAB from Mac OSX terminal
I'd love to run matlab from the terminal on my Macbook (running Lion), forgoing the standalone matlab interface. All the information I've found online suggests that the command is simply something ...
1
vote
1answer
66 views
“Large Type” function from OS X command line
Is there a way to call this function: 'Large Type' in Mac like in Address Book application
from the command line?
0
votes
2answers
62 views
How do I work with an untypeable keyboard character?
I am in the process of making a bash script to scrape a weather.com to get the weather report.
I need to process a line of text that has an unusual character. Here is the text:
30°FHigh 35°High ...
0
votes
0answers
16 views
How do I input Terminal commands when running a rails server?
I just started using Rails a few days ago, and I'm having trouble with terminal commands. The textbook I am reading keeps telling me to run Terminal commands while having a Rails server running. This ...
2
votes
1answer
88 views
Is it possible to change linux terminal color whenever I am connected (ssh) to another machine
I would like to have my terminal colors changed whenever I am connected (through ssh) to another linux machine.
This way, I know that I am putting commands in a remote computer just by looking at ...
1
vote
1answer
64 views
Copying files across computers in different networks using scp Mac Lion
I forgot how to do this and I found this other StackOverflow post about it but now I'm getting this error:
ssh: connect to host xx.xx.xx.xx port 22: Permission denied lost
connection
I am ...
1
vote
2answers
61 views
Script for toggling OS X “Show Hidden Files” in Terminal
Is there a way to toggle the hidden files visibility on/off with a terminal script?
In pseudocode:
if can view hidden files
set com.apple.Finder AppleShowAllFiles false
else
set ...
9
votes
3answers
110 views
Is it possible to view images in a terminal?
I have ssh access to my web server. I have some image files there and I would like to see a preview of. Is there a tool that will help me? Is there a curses-based viewer that will approximate the ...
0
votes
2answers
32 views
Use tar and gz to create archive in Ubuntu Terminal
I want to archive 3 folders, given their names in Ubuntu command prompt.
When I use tar -c abc tt zz -> it will do nothing.
0
votes
0answers
42 views
Adding terminal commands to MonoDevelop each time build is hit
Is it possible to have MonoDevelop also run a certain terminal command each time that you hit build?
For example, I'd like to have document generation automatically generated each time I build my ...
1
vote
0answers
60 views
Creating a shortcut in launcher to run a terminal command with more than one parameter as argument
How do you create a shortcut in launcher that lets you run a terminal command using more than one variable?
For example, how do you create a launcher shortcut that will prompt you for varA and varB ...
0
votes
1answer
32 views
How to reconnect a screen session every time terminal is fired?
I wrote this command to reconnect an active screen session when Terminator is opened. It works find but there has got to be a better way to to it
This is goes in the Terminator config file (note ...
0
votes
1answer
33 views
How do I set up Debian 6.0.3 to work with serial terminal?
My problem is that most guides on the Internet I've found explain how to enable serial terminal on GRUB 1 and it appears that they moved to GRUB 2 on Debian.
I'm running Debian inside VMware and have ...
1
vote
1answer
74 views
OS X Terminal Ignoring SOCKS Proxy Setup
Previously I've used an SSH tunnel:
ssh -D 1234 user@remoteHost
As a system wide proxy in OS X by going to System Preferences -> Network -> Advanced -> Proxies -> Tick SOCKS Proxy and enter ...
1
vote
1answer
22 views
command in multiple lines
Here is an example code from a book I need to type on terminal
> db.users.update( {username: "smith"},
{ $set: {favorites:
{
cities: ["Chicago", "Cheyenne"],
movies: ["Casablanca", ...
0
votes
2answers
72 views
connect Internet via Terminal linux
I want to write a script-Ubuntu_OS- would connect to a wireless Internet so I need to know how to connect Internet via terminal in Linux.
I tried many suggestions on the Internet but nothing at all
2
votes
1answer
80 views
How to delete Safari cookies from OS 10.7.2 terminal?
I would like to delete all Safari cookies from terminal on Mac OS 10.7.2.
I tried to delete ~/Library/Cookie/Cookies.binarycookies (this is the only file in ~/Library/Cookie), but it didn't help.
...
0
votes
3answers
83 views
How do you copy+paste text from the terminal to a web browser, and vice versa?
I was just wondering if there's a simple way to do this, or whether it's completely dependent on the terminal you use. If that's the case, then is there a standard that most terminals go by?
Right ...
2
votes
2answers
96 views
Alternative to TinyTERM Terminal Emulator
I work for a company that has been using the TinyTERM Terminal Emulator for at least 20 years now. Here is a link to the program's description:
...
1
vote
3answers
61 views
How to connect to a Windows PC from a Mac OS X terminal
I have some Windows PCs on my network. I have Mac OS X. I try to access some Windows PCs in the network to read and write files. In OS X Finder, I see the computer_name and I can connect as Guest. But ...
0
votes
1answer
90 views
How to set up a shortcut to a directory in Mac OS X Terminal?
What I'd like to be able to do is when I'm in Terminal is to type:
cd myFolderShortcut
And for it to go straight to a directory I have a set up with this alias. Is this possible?
I did do a google ...
0
votes
1answer
53 views
Mac OS X Terminal: I repeatedly get error message “-bash: .DS_Store: command not found” in the terminal
Yesterday I was trying to get .DS_Store files to be globally ignored by git.
I must have entered some command incorrectly because now every time I launch terminal or use the cd command, I get six ...
1
vote
0answers
51 views
256-colour terminal
I've been battling it out with this 256-colour terminal malarkey and I just can't get decent colour displays in a terminal. I'm using ubuntu-server with openssh and zsh. I have tried accessing the ...
0
votes
1answer
113 views
Ubuntu shortcut shell script launcher for multiple items
Ok every day I go through the same routine, and its tediously annoying. So I came up with a thought and wondered if its remotely possible. What I want to do is open maybe 3-5 terminal windows, and in ...
0
votes
1answer
64 views
“[Process completed]” Terminal self exiting
My terminal is self exiting only showing this every time I open it and not letting me type anything in
Last login: Wed Jan 4 14:02:15 on console
[Process completed]
Any clues or anything? I can't ...
0
votes
2answers
70 views
downloading file using scp command
I have a centos server lets say with ip: 1.2.3.4. I want to download a file from 1.2.3.4 at path /root/pc/filename.rar to my localhost host (current pc). What command I need to download that file? I ...
0
votes
1answer
49 views
Opening a file from Terminal to a new window of TextWrangler
I'm able to open a file form Terminal with
open -b com.barebones.textwrangler whicheverfile
The problem is if any window of Textwrangler window is already is open, this file is open in that window. ...
1
vote
4answers
102 views
Vim: Terminal-to-terminal copy&paste?
I am trying to copy a large block of code (with indentations preserved) from one vim terminal into another. I was wondering if there was a straightforward way to do this?
Would this be considered a ...
2
votes
1answer
27 views
How to only show new processes in Activity Monitor?
Is there any way to make Activity Monitor only show new processes? Can you do this in Terminal instead?
0
votes
1answer
81 views
How to prevent scripts from changing the terminal's window title?
I'm using GNOME Terminal and zsh on Ubuntu with Awesome WM.
I need to launch a terminal window with a certain title set like "s1" and no script inside that terminal should change the title of the tab ...
0
votes
0answers
37 views
downloading files from filesonic via terminal with premium account
I am trying this guide for downloading files from filesonic
http://n4p1.wordpress.com/2011/06/12/how-to-download-files-from-filesonic-com-premium-with-wget/
But not sure whats going on, file is ...
1
vote
1answer
75 views
vncviewer connection refused (61)
I have a root access to VPS (centos 6). I have installed VNCServer using this guide line
http://tournasdimitrios1.wordpress.com/2011/02/02/how-to-setup-vnc-server-on-centos-5-x-fedora-11/
Everything ...
0
votes
2answers
142 views
Downloading files from FileSonic via terminal without a premium account
I found various blogs on the internet about how to download a file from FileSonic, Hotfile, Rapidshare, etc. from a Linux terminal if you have a premium account.
Is there any way to download a file ...
1
vote
1answer
99 views
How to input hash (#) symbol to terminal?
I'm running Ubuntu Server as a virtual machine (using VirtualBox) on my mac.
Normally on the Mac, I'd press alt + 3 to input the hash (#) sybmol.
However, if I do this in my Ubuntu Server's console, ...
1
vote
2answers
130 views
what is the difference between terminal in Mac OS X and Ubuntu
Both Mac OS X and Ubuntu (and other Linus OS) has terminal / command line.
Are these terminal identical across different OS? If not, what are the important difference?