1
vote
0answers
30 views

Terminal won't go back to prompt after launching app [closed]

I'm running elementary OS Luna (based on Ubuntu 12.04) on which I've installed Okular as I consider it to be the best PDF reader even if it's meant primarily for KDE. The issue is this, I need to use ...
3
votes
1answer
112 views

Error with gedit can't save any file

meraj@meraj-SATELLITE-C850-A785:~$ sudo gedit /etc/php5/apache2/php.ini (gedit:16243): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
1
vote
1answer
28 views

Save views in multiple screen terminals

As I do in default single view screen terminal of ubuntu; gnome-terminal \ --tab-with-profile=Default --working-directory="some dir" --title="some title" \ --tab-with-profile=Default ...
7
votes
5answers
703 views

Vintage terminal for Ubuntu

So I have just been introduced to Cathode for OSX and I am completely fascinated by how classic it looks with it's 1970s retro style. Does anyone know of any programs/packages I can download to get my ...
1
vote
0answers
55 views

Problem in writing message from one terminal to another terminal

I have a user of name x in tty1 and y in tty2. x wants to write some message to y and vice-versa. When I typed write y tty2 in the tty1 terminal, it said: write:you have write permission turned off ...
-1
votes
2answers
83 views

Linux Terminal SSH Username Change

I want to connect via ssh to my Ubuntu server from my Linux PC. Xterm uses my Linux PC username for the login. I've another username on the server. It's not the same name like on my Linux PC. How can ...
5
votes
1answer
87 views

Copy a long single-line text from a terminal with undesired change-line

locate ... | less outputs a long path, which is shown as several lines in the terminal, although it is actually a single line. I copy the path from the terminal by selecting the text with mouse and ...
8
votes
3answers
1k views

Why 'echo $0' gives different result for two different terminals?

I opened a terminal on Ubuntu using Ctrl+Alt+T and a different terminal by going to a directory and then right clicking and choosing "Open in Terminal". I did an echo $0 in both cases. In the ...
1
vote
3answers
565 views

Uninstalling *.run file

I just installed a file called SenchaCmd-4.0.2.67-linux-x64.run by executing the following code: ./SenchaCmd-4.0.2.67-linux-x64.run Due to a problem I describe in detail here, I decided to ...
0
votes
1answer
55 views

Zenity refuses to work in background

I'm trying to create a background bash script which creates a popup in certain circumstances, however, my code only works when run manually in a terminal (e.g. not in the background). I've tried ...
0
votes
1answer
84 views

Cancel SSH (after using it to browse) without logging out?

I'm afraid I'm not an expert on Unix and its command line (I'm using a Mac), so do bear with me (possibly an extremely stupid or basic question). I've used the command ssh -D 8080 -f -C -q -N user@IP ...
1
vote
1answer
1k views

Ubuntu- How do I change clock speed from terminal? [duplicate]

The title of this question pretty much says it all. What command or program do I need to run in order to change the clock speed to a specific value I want? For example, I'm looking for something like ...
1
vote
1answer
81 views

Terminal application erased from Ubuntu 13

I had a bit of rough time with Ubuntu yesterday when the home screen went blank and no program icons or sidebars were visible. Today after recovering from it and saving the essential data, I have ...
0
votes
2answers
267 views

Pg Dn key returns tilde (~)

When I hit Page Down in terminal (I'm using Ubuntu 12.04), strangely I get the ~ (tilde) character. This is annoying especially when I searched my command line history and decided to go to the bottom ...
0
votes
1answer
94 views

Command “I'm” on linux ubuntu [closed]

I'm new at linux, ubuntu, and I did type I'm running and then like if it was a program or something else, I was allowed to write more... nothing else... I just want to know more about this command ...
9
votes
2answers
993 views

Can I unfreeze bash or vim when SSH session freezes from timeout? [duplicate]

When my SSH session times out, the whole terminal freezes. Is there any way to break out of that connection? CTRL+C doesn't cut it.
1
vote
0answers
69 views

Themed Tabs in Gnome Terminal

I've created a custom desktop session which upon login presents the user with a full screen gnome-terminal session. The idea is to have a TTY-like session but with the added advantages provided by X ...
1
vote
0answers
265 views

Error while importing Compiz profile from Terminal

File name : import.py #!/usr/bin/python import sys import compizconfig #The last input on the command line will be the path to save the file to. savefile=sys.argv[-1] ...
5
votes
2answers
2k views

“who am i” after “su” not showing new user id?

Why is it that when I switch user 'su username' and then execute 'who am i' is outputs the previous user which I was logged as and not the one I've switched to?
1
vote
2answers
565 views

Lost ls directory highlighting after a crash

Normally commands such as ls and grep offer nice syntax highlighting for me. But my system crashed (running an ubuntu VM) and after I restarted, I no longer have this highlighting, it's all a dreary ...
2
votes
1answer
434 views

Xubuntu 12.04: slow login

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
2
votes
1answer
4k views

What is the command or hotkey for stopping a running program in DrJava?

I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
4
votes
0answers
354 views

8-bit input in gnome-terminal

I'm trying to switch from xterm to gnome-terminal but having trouble with alt keys. I have already disabled menu access keys, but I still need 8-bit inputs. In xterm I can set 8-bit inputs in ...
2
votes
2answers
122 views

Is there an easy way to stop and reissue a command?

I am doing Node.js development in Ubuntu and I'm curious if there is a way to quickly stop and restart a node server. I run this command to start my app: $ node app.js When I make changes to ...
-5
votes
1answer
156 views

Linux kernel compiling commands [closed]

I'm trying to make a mini operating system (using the linux kernel). I'm planning on it being for x86 and I'm trying to make it so that it not only runs on qemu but also on a real device. What are the ...
2
votes
3answers
1k views

Terminal - display too small to run menuconfig?

I am trying to install drivers and when I try to run the command make menuconfig I get the error message that the "display is too small" for that command? What does this mean, and how to solve this? ...
7
votes
1answer
3k views

How to launch an application with default “terminal emulator” on Ubuntu?

I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop. Is there some command like xdg-open, but for getting the default terminal emulator? I'm ...
5
votes
3answers
3k views

Ctrl + c will not kill process

I have looked for answers and so far have found nothing to answer my question. I am currently logging in to my Ubuntu server and upon running a process I can not run any of the interrupts on it. Here ...
12
votes
3answers
3k views

Why don't my arrow keys work in sh?

I recently installed Ubuntu and when I run sh on the Terminal my arrow keys don't work so I can't go through my call history or edit whatever I'm typing. It just comes out as weird characters like ...
3
votes
2answers
2k views

How to remove/change the message displayed when opening a terminal?

Using Ubuntu 10.10 .In GUI mode when I open up a terminal, a message is displayed at top left above the prompt: Ghost@work-Ubuntu:~$ , I would like to change it, so I would like to know in which file ...
0
votes
1answer
92 views

Ubuntu x86 10.10 terminal

I just downloaded a Ubuntu v10.10 vmware image for Windows. I'm trying to install a web application that can only run on Linux MySQL, Apache and PHP. How do I open a terminal in Ubuntu?
8
votes
5answers
12k views

delete line in vi

How can I delete a line in VI? Here what I am doing right now: Open up the terminal alt + ctrl + t vi a.txt I move my cursor to the line which I wan to delete, then what key-combination is should ...
0
votes
2answers
824 views

Why curl -O -C on mac fails to download

The following script works on Ubuntu, but not on Mac. Why? How to edit it so that it would work there too? #!/bin/sh v=1.1 test_file="Test10.java" jar_file="dp4j-$v-jar-with-dependencies.jar" curl ...