-2
votes
0answers
40 views

Ubuntu 14 - open a new tab in console [duplicate]

In Ubuntu 12.04 when i open a new tab in console with ctrl+shift+t it starts a new shell in the current directory. With Ubuntu 14.04 always opens a new shell in the home directory. I've scripts in ...
-1
votes
1answer
44 views

How do I mount ejected external USB flash Via terminal

After safely remove or eject it, i want to remount it without unplug it, and re-plug it again .. so Any suggestion pls? PS after using eject all usb memories are out of fdisk command scope i don't ...
0
votes
0answers
16 views

terminal Issue for user created

Hi, I have created a user who in system settings > user account shows he is the administrator. But when I open the terminal it doesn’t show the whole line prompt. Attached is screen shot of the ...
-1
votes
1answer
57 views

How to let bash script knows if the open terminal is closed or not

I want to write piece of bash script that open a gnome-terminal tab and execute some commands in it after finishing execution terminal will close , i would like the make bash recognize if this ...
0
votes
1answer
248 views

Exit full screen of gnome terminal

Accidently, I entered full-screen display in the gnome terminal. I now can't get out of the full screen display back to normal display. How can I do this?
7
votes
2answers
115 views

Problem in background transparency on Terminal

I rebooted my computer and after some changes with Ubuntu Tweak on my window manager theme, etc., I came with this problem in my Terminal. Before the reboot, I could see the things behind the terminal ...
0
votes
2answers
14 views

Is it possible to install dmg2img_1.6.1-1ubuntu2 on 12.04

I wish to use an older version of dmg2img i.e. 1.6.1. However, the current version of dmg2img that I have is 1.6.2. Where is this file located?
0
votes
1answer
50 views

I am unable to change the permissions of my “Shared Parallels Folder” as it is owned by Root. How do i change this?

I would like to change the owner 'root' within in my "Shared Parallels Folder"s properties, so that i will be able to change the permissons of that Shared folder. As I am having problems commanding ...
0
votes
2answers
528 views

How to move one file to a folder using terminal?

I want to move one file to a folder using terminal. How do I do this?
2
votes
2answers
118 views

manufacturers serial number of the hard drive

I need to get manufacturers serial number of the hard drive. In windows I got following results, C:\>wmic diskdrive get serialnumber SerialNumber 2020202057202d44435759415255393XXXXXXXXX How ...
0
votes
1answer
46 views

Ubuntu 12.04 desktop with no launcher and no shortkeys working [duplicate]

I have accidentally uninstalled python 2.7 and python-minimal from my Ubuntu. It gave me an error saying wicd has shut down and there are broken packages. When I restarted the system, only the ...
1
vote
0answers
22 views

Open lastlog file from outside

Currently we took a backup of the lastlog file from Server1 and took it to Server2, however, we cant open it since the lastlog command opens only the lastlog of the server we are currently in, but not ...
2
votes
2answers
32 views

Alt + Digit in Terminal: What kind of feature is it?

In my Ubuntu 12.04 Terminal one can press Alt + # which leads to the repeation of the following character #-times. Simple question: For what is it good for? Is it some fancy feature one can use for ...
1
vote
2answers
247 views

Change “date” Command To 12 Hour Time Instead Of 24

When I type "date" in gnome-terminal, or xterm it reads out in 24 hour time, is there any way to make it use 12 hour. According to "date --help" using "%r" should do the trick, but there are no ...
0
votes
1answer
51 views

Do some action when some command is executed!

I want to write a script which can capture every command entered by the user in terminal and then do some things depending upon the command entered: For example: If user enters $> firefox I ...
0
votes
0answers
30 views

Install Ubuntu Mode Terminal in ubuntu 12.04

I have 1 Question, can you help me to tell me about : how to install ubuntu mode terminal in ubuntu 12.04 without graphict?
6
votes
2answers
965 views

Can't get the right colors in gnome terminal

I want to use a base16 colorscheme from here. The steps I followed: cloned the repo ran the scripts changed the terminal profile to base16-default (which did change the colors) This is the result ...
0
votes
0answers
218 views

gnome terminal menu is not viewable in LTSP Client

I am building LSTP server and client in Ubuntu 12.04. When the client boots from LSTP, It had some display problem (Like: blur display after logged in ) due to the unavailability of graphics in thin ...
0
votes
1answer
47 views

Two 12.04 machines have the same display settings but different results

I have one machine that has a relatively fresh install of 12.04 and one that I inherited. The terminal window in the inherited machine has a really weird font, and the regular one is what I would ...
0
votes
1answer
100 views

real-time search in terminal output stream; after running a command

sometimes i want to search specific string in terminal after running a command. for example, i run apt-get upgrade and i see outputs in terminal line by line: Unpacking replacement procps ... ...
2
votes
1answer
74 views

How to set the default terminal window screen co-ordinates when Ctrl + Alt + T is pressed?

I would like my terminal to show up at a specific co-ordinates on my screen when Ctrl + Alt + T is pressed. Currently, terminal always shows up in the top-left corner. I have to drag each and every ...
-1
votes
1answer
125 views

why can't navigate to Downloads

I am trying to navigate to my Downloads folder. I got to /home but no further... I did cd /home/Downloads and /downloads and sudo cd /home/downloads (I don't know if the last is correct, but anyway) ...
2
votes
4answers
3k views

What does the '|' (vertical bar) character mean in a Terminal command? [duplicate]

Example: In a Terminal command xdpyinfo | grep resolution (that I have taken from an answer), does the | character mean that the xdpyinfo output shall be sent to the grep program input for printing a ...
2
votes
2answers
3k views

Unable to copy from vim to system clipboard

As said in the title I am unable to copy from vim to system clipboard. Viceversa works, copying from outside vim and pasting with p is ok. I have installed clipboard support, vim version is 7.3.429: ...
6
votes
1answer
2k views

ZSH is not launched while opening a new terminal with `gnome-terminal`

I am using Ubuntu 12.04 and started using zsh. The way I changed my shell is $ sudo chsh -s /usr/bin/zsh I changed my prompt theme etc and the changes kicked in. When I do a echo $SHELL I can see ...
4
votes
1answer
404 views

How to map Ctrl+S in vim on gnome-terminal?

I'm using Ubuntu 12.04 and gnome-terminal 3.4.1.1, and I'm trying to map ctrl + s to :update in vim. I added this to my vimrc: map <C-s> :update<CR> I also tried adding this to my ...
0
votes
0answers
35 views

what does this command do, and should i execute it from terminal? [duplicate]

The command is in the following quotations :(){ :|: & };:. I have a bunch of questions. What does it do? Is it harmful? What is it, anyway? How does it work? What should I know about it? What ...
2
votes
2answers
5k views

changing keyboard shortcuts

I am running Ubuntu 12.04 and the keyboard shortcuts are not convenient in the terminal for my keyboard. To switch between tabs you have to type SHIFT-CTRL-PGUP. Is there any way I can change that ...
1
vote
1answer
2k views

Unity Launcher missing and Terminal shortcut stopped working

When I restarted my Ubuntu after it being updated, I found the Unity launch bar was gone. I tried looking up several solutions online, blindly typing in the commands that others suggested, and I ...
0
votes
2answers
2k views

How to remove single file from /usr directory?

I am using Ubuntu 12.04 LTS, and I want "XnRetro.desktop" file to be removed from directory /usr/share/applications using terminal . How to do it ? I am new into Linux & I know something like ...
1
vote
2answers
154 views

system dont get updates

I am using Ubuntu 12.04 and I don't get any updates. For more than two weeks, whenever I try to check for updates manually it doesn't show any updates in the update manager. Then I tried via terminal ...
2
votes
1answer
459 views

How do I open screen with many tabs to execute some commands within each one

How to open screen with many tabs? How can I execute some commands within each tab, plus giving the main screen window a name to call it again later to execute other commands? For example, I have a ...
1
vote
3answers
217 views

How to execute some commands while background task of bash script is about to be killed

In case i run a script in terminal and it contains a background job , in case the user close the terminal as i guess the script with his all back ground tasks will be dead , i want something like an ...
0
votes
1answer
203 views

Automatically load cdc-acm at boot

Hi I am trying to figure out how I can load the cdc-acm module at boot. I tried this command: sudo bash -c echo hoi >> /etc/modules but I get this: bash: /etc/modules: Permission denied ...
1
vote
1answer
264 views

special character and parsing BUG - Bashscript

Failed to parse arguments: Argument to "--command/-e" is not a valid command: Text ended before matching quote was found for ". (The text was '"cpulimit') this is what i get when i run the following ...
0
votes
1answer
251 views

How to open many-tabbed Gnome terminal as one windown instead of many independent windows

aa=$( ps -e | grep "chrome" | awk '{print $1;}') for i in $aa do gnome-terminal --tab -e" sudo cpulimit -p $i -l 35 " done i want to open one gnome window before the execution of the ...
2
votes
0answers
791 views

Unable to fork: Cannot allocate memory

frequently getting 'fork: Cannot allocate memory' when running commands over ssh. I have 64Gb of RAM and usually 1~2Gb free. swap is more than 8gb free Ubuntu version:"Ubuntu 12.04.2 LTS" Desktop ...
2
votes
1answer
345 views

No shell prompt in gnome terminal

I was a bit behind and spent yesterday and a lot of bandwidth with three upgrades from 10.10 to 12.04. Most things seem to work but when, I launch the terminal, a get a new window but there isn't a ...
3
votes
1answer
549 views

Launching php script through comman line - keeping terminal window open after execution

Oh, my girlfriend really likes it when I launch php scripts! There's something special about them, she says ... Thus, I coded this script to run throught the CLI (Command Line Interface) - so it's ...
4
votes
0answers
100 views

How to stop reordering of the same kind multiple preview windows in task switching?

When using task switching in the default graphical mode of Ubuntu 12.04, if they are multiple windows of the same kind, eg. multiple Terminal windows, you can see them all together and select which ...
2
votes
2answers
3k views

How to delete the .swp files when working remotely

I opened a file in vi, but unfortunately while changing it the terminal crashed. Now when I Try to open the same file again in a new session it displays the following message E325: ATTENTION Found a ...
6
votes
2answers
315 views

Terminal got hanged when editing something in vi

I was making some changes to a remote file in vi using the terminal when I accidently pressed Ctrl+S instead of :wq. Now everything got hanged. I tried Escape,:q! and all sorts of vi commans but ...
3
votes
1answer
2k views

How to automate execution of commands in separate terminals?

I am new to LINUX operating system. I am using ROS (Robotic Operating System) where I type few commands in separate terminal windows for doing the setup. ie Before I run my program, I have to do ...
1
vote
2answers
364 views

Startup Application in SELECTED terminal

I am running on Ubuntu 12.04 and would like to run an application on startup, in a maximized terminal, selected. I solved all problems exept the last one. so for now i have gnome-terminal --maximize ...
1
vote
2answers
648 views

How to make a program start in terminal after some time

I want to make a shortcut that will run utorrent every time i click it without me doing all the commands in terminal every time... I created a script the run cd my utorrent folder and then do the ...
3
votes
2answers
9k views

Boots up in terminal and startx can't be found

ubuntu 12.04 newest kernel 3.7.1 Ok, I downloaded "Eclipse" in order to do some programming. then I wanted to reinstall it so i " sudo apt-get --purge remove [Ecplise] ". Then I restarted my ...
1
vote
1answer
307 views

Unable to login to bash after editing .bash_profile

I've fiddled around with my .profile and .bash_profile to speed up some stuff: PATH=$PATH:/home/yoshi/android-sdk-linux/platform-tools First I appended the line to my .profile and perfect. Then I've ...
2
votes
1answer
100 views

incorrect work gnome terminal

I use at work Ubuntu Desktop 12.04. 80% of the time I spend in the terminal. After switching from the putty on gnome terminal, I was unpleasantly surprised to work with some devices (eg Extereme ...
12
votes
5answers
2k views

Remove ugly fat bazel from gnome-terminal with multiple-tabs

When I start gnome-terminal it looks quite pleasant but when I open another tab it's borders turns ugly: How can I preserve thin bezel while using multiple tabs?
1
vote
1answer
297 views

sudo refuses my password

I've just installed Ubuntu 12.04 and now that I want to install a program through the terminal with a command starting with sudo, the terminal says Sorry, try again. I just don't get it, this is my ...