2
votes
1answer
46 views

How can I open an application using the command line and then close the terminal without closing the opened application?

If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application. Is there a way to open an ...
2
votes
2answers
27 views

Place contents of last command line output into clipboard

I want to be able to run a command in my Terminal, and then quickly be able to copy the contents of the output into my clipboard without leaving my keyboard. Is there any way to do this?
0
votes
0answers
17 views

Terminal not listing Applications folder

The problem that I am running into is that when I cd into my Applications folder and try to ls to see all my folders it doesn't show anything. This is the only directory that does this as I am able to ...
8
votes
6answers
297 views

In Bash (Mac/Linux terminal shell), can the up and down arrow keys be made to function as they do in text editors?

In text editors, if I press the up and down arrow keys, it moves the cursor between lines of text. In Bash, if I’m typing a long command that spans multiple lines and I press the up and down arrow ...
1
vote
1answer
79 views

Understanding the terminal and shell interaction

For a long while my understanding about a terminal in unix-like systems has been that it launches the shell process and provides a user interface to it by communicating with it over it's stdin, stdout ...
6
votes
4answers
148 views

How to selectively navigate through Bash command history on a Linux terminal [duplicate]

Everyone knows (or should know!) that on a terminal the up and down arrow keys are used to navigate through the history of used commands. When you use the terminal on a daily basis, your command ...
1
vote
2answers
87 views

Any way to wipe out everything I have installed via Command Line?

So I have borked my system. Running OS X 10.8.3, I have installed a mess of stuff; Ruby, RVM, Git, Node, Brew etc... As well as playing with dotfiles (http://dotfiles.github.io/) Which I really ...
0
votes
0answers
28 views

Looking for an alternative to 'pstat' (for getting the count of active vnodes)

I know that on earlier version of Mac OS X there was a bundled pstat shell command that could be used to retrieve some information about the vnode's count. Do you know an alternative that may works ...
0
votes
0answers
68 views

How to access AT commands and turn device to modem-only mode

I am using mac and I am having problems getting my dongle to work. I want to get my 3g dongle (Huawei E 1550) working on my android tablet. I need access AT commands and turn device to modem-only ...
0
votes
0answers
29 views

Text Becomes Prefixed in Command Line

When using the up or down issue I sometimes get an issue where some of the previous commands text appears in front of my actually typing. It does not affect anything when I hit enter but it is very ...
0
votes
2answers
58 views

What arguments does the Mac's Terminal.app accept?

I've found that running open -a Terminal /path/to/folder will open a new Terminal window at the given folder. What is the best place to look to find documentation on all of the command-line arguments ...
0
votes
1answer
55 views

Command line in OSX breaks when I edit bash_profile

Please help me, I am learning how to add sublime to command line from this link and when I created .bash_profile file, in the first line I typed export PATH= and saved it. My command line is broken. ...
0
votes
0answers
27 views

Virtual terminal with at least 16bit color?

It's 2013 and there should be terminals with more than 256 colors by now (you'd think). Are there any terminals with more than 8bit colors (usually from 8 bit we jump to 16bit) to use with linux? ...
0
votes
2answers
74 views

Bash script - find directory, and do something in it. Or find a file, and do something with it

This is what I have so far: for f in 'svn ls repository_dir'; do svn checkout repository_dir/$f/trunk/dir1/dir2/dir3/dir4/needed_dir done This works great for the projects (100's of them) that ...
0
votes
1answer
22 views

All the command line command become “Not found” after installing Mountain lion

I just found after installing new Mountain lion, I can no longer use the command line because all the command seems to be " NOT Found", even for basic "sudo" command sudo: command not found How can ...
1
vote
2answers
22 views

Logging into multiple servers

We have a service which is a distributed system running across about 16 machines, each doing different things. When an operational issue is reported, I would ideally like our dev/ops team to be able ...
0
votes
2answers
224 views

urxvt settings - reload without restarting terminal?

I have two urxvt color themes that I use, one for light background and one for dark, depending on how sunny the environment is. It's easy enough to switch them by modifying ~/.Xresources and running ...
-1
votes
1answer
32 views

Can terminal be used to find files on MBP? [closed]

Can terminal be used to find where Thunderbird keeps email files?
2
votes
3answers
96 views

'cd' command in terminal - using partial folder name

If I want to navigate inside folder with long hard-to-type name, is there way to use 'cd' with some kind of shortened name of this folder, to get free from unnecessary work?
0
votes
0answers
35 views

Linux command line: run mon nice and C exectuable together

I'm trying to run ./a.out, but monitored (using mon) and nice'd to highest priority. Here are the commands separately: nice -n -20 /home/pi/a.out //works fine mon /home/pi/a.out //works fine ...
0
votes
2answers
34 views

Search forward in command line history

With Ctrl + R you can search in previous commands. If you hit Ctrl + R again, it will displays older previous commands. The problem it that this search is "one way", it always displays older results ...
0
votes
0answers
260 views

Power user Command Line Prompts - Powerline, Oh my ZSH, et al vs Portable old Sh [closed]

I'm a recent powerline prompt convert, after switching to Zsh I realized how much better the CLI is when you trick out your command line a little. I got annoyed with the 2 line prompt that comes ...
1
vote
2answers
130 views

Remap Keys via Command Line in Mac OS X

I'm trying to write a script that will replicate my OS X setup. In particular I want to remap the arrow keys to CMD + H,J,K,L. The technique seems to be similar to this Linux solution, except the key ...
3
votes
1answer
199 views

How do I disable terminal control escape sequences in Linux?

I am writing software that interacts with an embedded device running a version of busybox Linux. Basically, I am just sending commands to the device and parsing the output from the commands . The ...
1
vote
4answers
62 views

How to overload a linux command

Every time the user types git commit -a, I want to run it in my own script, Then run original command git commit.. and have it run as it would have normally.
-1
votes
1answer
52 views

excuting from terminal configure fails

I am trying to install XFe 1.33 downloaded from http://roland65.free.fr/xfe/index.php?page=docs But when I am doing ./configure checking for a BSD-compatible install... /usr/bin/install -c ...
0
votes
3answers
188 views

Download an entire site folder via ftp using terminal on a mac

Lets say for kicks that my site ftp login details are: 100.100.10.100 username password What is the best (fastest download with a relatively simple syntax) method to download an entire site folder ...
2
votes
1answer
145 views

Clear Chrome's cache via CLI

Is there a way to clear Google Chrome's cache via a CLI command on OSX? Ideally this would be made via some “official” way, and preferably without having to open Chrome (i.e. by launching it with some ...
3
votes
2answers
259 views

How to add commands of windows to local shell of XShell 4

XShell is a very powerful tools to ssh remote computers such as Unix/Linux. And it has built some internal commands for you to run within your Windows. Xshell:\> help Internal Commands: new: ...
1
vote
4answers
77 views

Insert escaped characters in seq command separator

How do I insert a string containing escaped characters (\n, \t, etc) as separator for the seq command? The standard format includes a newline character: $ seq 3 1 2 3 But if I try ...
0
votes
1answer
288 views

OSX: Possible to use Total Terminal with iTerm2?

As I understand it, Total Terminal is a thin layer on top of Terminal.app that adds some Yakuake-like features. My question is: Is it possible to use Total Terminal with iTerm2 as the "backend" ...
1
vote
1answer
124 views

What are the different types of terminals and how can I find out what the current one is?

I want to automatically be put in a screen if I log in on a tty (if I'm using e.g. Terminal, I can simply open a new window instead.) I've already figured out the screen parameters and startup file ...
2
votes
1answer
154 views

Locking down firmware to keep stolen laptop from being formatted?

On the Mac laptops there are ways through the terminal to lock down the computer so that if someone tries to format the computer they won't be able to do it without the password. This way locks down ...
6
votes
5answers
312 views

How to mass prepend text to file names?

Lets say I have a directory full of .md files all named various things. Lets say I wanted to prepend "text" to the front of each file name. So for example: file a.md, b.md, and c.md would become test ...
1
vote
1answer
105 views

How to get user information Mac?

How would I get user information from a Mac such as user domain, etc. through a Terminal command? I've tried dscl as well as dscacheutil, but they don't really have what I'm looking for. I was ...
0
votes
0answers
17 views

Ubuntu 12.04 - Terminal - Huge/Large text on each command line [duplicate]

Possible Duplicate: Is it possible to change my terminal window prompt text? I have been using "Ubuntu 12.04" for few days now (no previous Linux experiences at all) and I have noticed that ...
2
votes
1answer
144 views

How to change the size of Linux terminal

I'm using Fedora on a laptop with external dispaly via VGA. (the internal one is disabled, but will open when it is booting up) Internal 1024*400, External 1920*1080. The resolution is normal under ...
1
vote
1answer
131 views

How to keep Ubuntu 11.10 and Kate editor w/terminal from changing command line when changing tabs?

I am programming C using Kate editor in Ubuntu 11.10. It works great, but when I change tabs in Kate, the terminal line changes to the file path of the tab I click on. Normally this is not a big deal ...
0
votes
3answers
165 views

ls -al Mac Terminal

I'm new in the use of the terminal. I have seen in a video that uses ls -al and I don't know what it is. I have found that ls -a is to list all the files even the hidden but I cannot find what does ls ...
0
votes
2answers
320 views

What command lists the files created in a specific month and is readable for the owner?

I am supposed to find the command that lists all the files created in September and are readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I will ...
0
votes
2answers
711 views

Color in Cygwin terminal

I've installed cygwin because I'm a bit fed up with the Windows terminal not being great. The only problem I'm having is the lack of colours. You can see the problem in the following 2 screenshots ...
1
vote
1answer
30 views

What is this [root@server ~#] as opposed to [root@name ~]#

What is this [root@server ~#] as opposed to [root@name ~]# Notice the # is inside the bracket on the first one and outside on the second one. What is the first one and what command in a terminal ...
2
votes
0answers
21 views

How do I install an icon with an underscore in its name with xgd-menu?

The image file is here, named it 'An_Icon.png' and saved it to ~/Desktop . I used the following commands to install it to my menus: xdg-desktop-icon install --novendor ...
1
vote
2answers
183 views

Command-line interrupts in OSX vs Linux

Occasionally when I'm developing on my Mac, I'll get a process that hangs. When that happens, I'll try the following: Ctl-C in the active terminal window If nothing happens, I'll open a new terminal ...
2
votes
1answer
2k views

How can I enable Mountain Lion Airplay mirroring through command line?

I want to enable/disable airplay mirroring with an script and I don't know how to find what commands are executed when Airplay is activated. Any idea about how to do it or where to search? Thank ...
-1
votes
2answers
69 views

How do I install this command-line software?

Here's a link to the software - it's command line and I have no idea how to install so I can use it in Terminal on my Mac. http://git.zx2c4.com/password-store/about/ Thank you.
6
votes
1answer
3k views

How can I get the current screen resolution from the command line on OS X?

How can I get the current display resolution from the command line in OS X?
1
vote
1answer
75 views

Terminfo or termcap in command-line

Is it possible to see a all the capabilities (terminfo or termcap) of the current terminal on command line?
0
votes
2answers
260 views

Mac OSX Terminal different colors

Is there a way for the command line and the output to be in different colors? For example, I've been playing with the PS1 value so my prompt is in red, but I'd like to have the command line in green ...
1
vote
1answer
104 views

Why wouldn't you be able to hide a file in OS X with chflags?

So, bit of an oddball question. There's a particular file—an alias—that for some reason will not hide from the UI with chflags hidden. Doesn't matter what I do. sudo is ineffective against this ...

1 2 3 4