Tagged Questions
1
vote
1answer
365 views
php code to execute terminal command
Is it possible to execute terminal commands using PHP? I need to display cores alloted to each VM and some other details of virtual machine. Am using KVM. can anyone help to do so. Am using Ubuntu ...
4
votes
2answers
415 views
How to start/stop downloads in Azureus (Vuze) via terminal?
I need to stop/start download through shell script in Azureus(Vuze).
I know there is CLI and I can invoke it as
java -jar Azureus2-XXX.jar --ui=console
The ? will show a list of commands I can use. ...
5
votes
3answers
6k views
How to enable/disable mobile broadband from terminal?
I use ZTE USB Modem on Natty Narwhal. Every thing works fine but sometimes it get disconnected. I want to write Shell script that reconnects mobile broadband if it is disconnected or the received data ...
0
votes
1answer
129 views
Ampersand changing into a question mark in Terminal
I run a server through terminal, and whenever a command with an '&' in it pops up, terminal sees it as a question mark. And when I try to save a configuration with an & in it it will ...
-1
votes
4answers
627 views
Unable to “cd” into an external drive
I am new to Linux. So please excuse me if my question is amateur.
I have two partitions: "Windows and Linux OS"
Both are listed as Storage-Files, called under the name of "New Volume"
The external ...
2
votes
2answers
580 views
How do i find exact status of my microphone mute or unmute or the volume level of mic using command line?
This is very odd, i have one default microphone and i have another second microphone. When i use this command it always shows not muted but the microphone volume is 0%. How or what is a way i can find ...
1
vote
4answers
664 views
Change Gnome terminal (Bash) profile when changing to different user in the same terminal (e.g. root)
Is it possible to change the profile of a terminal upon switching user in the same terminal?
Actually my goal is to change the terminal to a profile which indicates to me that it is a terminal as ...
2
votes
3answers
405 views
How can I learn Shell Programming?
What are the tools needed for shell development, and are there examples?
1
vote
1answer
1k views
How do I start a wine program from the command line? [duplicate]
Possible Duplicate:
Invoke a wine installed application from command line
I would like to start a wine program via the terminal so if something goes wrong I can see what.
What command ...
0
votes
1answer
2k views
Can't enable Ralink RT2561/RT61 wireless card
I have been reading various other posts on the matter but none of the solutions are working so I thought I might as well ask.
Just installed Ubuntu Server 11.04 on my old Dell Optiplex 330. It has a ...
0
votes
2answers
1k views
Transparent see-through terminal and windows key
I just upgraded to Ubuntu 11.10 and I'm having a couple of issues that I didn't have with #10. First of all, when the terminal is transparent, it shows the desktop rather than the window behind it. ...
3
votes
1answer
2k views
How to allow execution without using the sudo?
I am writing a Java application where i need to do a command line execution and get a result back, but when i execute the command, it ask for sudo password. So far i tried:
$ sudo -s
$ vim ...
3
votes
2answers
2k views
CanoScan LiDE 110 driver for Ubuntu? How to scan via command line?
CanoScan LiDE 110 is connected to my Ubuntu 11.04. I need to scan remotely using the command line.
How can I use the scanner from the command line?
Tried/Failed/Succeed:
$ apt-get install sane ...
3
votes
0answers
392 views
How can I get Ctrl+Alt+F* working?| Why runlevel doesn't starts automatically? [closed]
I googled many threads on my problem, but most of them are about proprietary drivers and black screen (although user can login blindly into tty*). My question isn't about that type of problem but the ...
3
votes
1answer
414 views
How do I embed a terminal on the desktop?
I've tried the tutorials that I've found via Google search, but none of them seem to work on 11.04. Anyone know how it's done?
Thanks!
1
vote
1answer
173 views
Sending all outgoing TCP packets through Tor
I want to make all outgoing TCP packets on my Ubuntu 10.04 computer anonymous. Is this possible? If so, how would I configure my computer to do this?
I've installed Tor, but it doesn't work because ...
0
votes
2answers
452 views
ERROR while downloading youtube videos from terminal [closed]
I installed youtube-dl very recently and
when I tried to download a particular video using its url as (youtube-dl url),the following error occured:
Error "no fmt_url_map or conn information found ...
3
votes
1answer
366 views
Not able to setup delete and backspace compatibility in terminal
I installed Ubuntu 11.04 and I use the terminal a lot. So, I need to setup the terminal's compatibility to exactly as the Delete and Backspace keys should work. Please tell me what settings should be ...
3
votes
3answers
5k views
How do you change brightness, color and sharpness from command line?
I am controlling my PC with SSH and scripting. How can i change the brightness, color and sharpness from command line?
Try 1: failed
$ sudo redshift -t 5000:5000 -g .5
Cannot list GNOME panel ...
4
votes
2answers
3k views
How to permanently disable monitor power saver using the command line?
I have tried as following:
1. Turn off: export DISPLAY=:0.0 && xset dpms force off
2. Turn on: export DISPLAY=:0.0 && xset -dpms
Which works but that is a temporary solution, which ...
15
votes
3answers
5k views
“kill <PID>” not really killing the process, why?
I am trying to improve my command line skills and I have encountered a problem where I cannot kill a process. I type kill 2200 where 2200 is my PID and the process is not killed. After few minutes ...
2
votes
2answers
3k views
Terminal shortcut key
I liked the shortcut for opening a terminal and if I remember correctly it was Ctrl-Alt-t that opened a terminal window.
Now with a later version of Ubuntu this shortcut is no longer predefined, I ...
2
votes
2answers
1k views
Help on if-else in shell
Please help me writing a shell programming using if else, all possibile code using [[ ]], [ ], (( )).
I tried but it does not work (you can check my previous question Arithmetic binary operators -gt, ...
3
votes
2answers
3k views
How can I permanently change the text size for gnome-terminal?
I just wanted to ask...
It seems that you need to press Ctrl + - (ctrl plus the minus sign) in order to get better resolution (smaller text) when running terminal.
But I was wondering if there was a ...
7
votes
2answers
4k views
Environment variables when run with 'sudo'
As example to my question, my ~/.bashrc file contains this lines:
> export LD_LIBRARY_PATH=/opt/intel/mkl/lib/ia32:$LD_LIBRARY_PATH
> export LD_PRELOAD=/opt/intel/mkl/lib/ia32/libmkl_core.so
...
0
votes
1answer
149 views
How to run application that is located on file system but not installed?
Recently my friend 'installed' testdisk for me on my laptop and used it to show me some stuff with it. But now I would like to launch it again and I do not know how to do it. I have tried to go ...
0
votes
2answers
122 views
Bash - CP difficulties
cp -r /opt/lampp/htdocs/codeigniter_2.0.2 /opt/lampp/htdocs/test/
That command is making this: /opt/lampp/htdocs/test/codeigniter_2.0.2 and I need only the content of codeigniter_2.0.2 inside test.
...
0
votes
1answer
2k views
what is the yakuake alternative for unity desktop?
is there any alternate for yakuake for the unity desktop, when i log in unless i'm in KDE, i cant open yakuake.
sudo apt-get install yakuake
returns nothing on unity, while on KDE it installed ...
4
votes
2answers
2k views
dircolors/ls colors not being displayed correctly using byobu
On my NAS box running Ubuntu 11.04 I'm experiencing an odd issue with dircolors inside byobu. Per the image below, everything works fine outside byobu. The prompt (zsh), vim, and everything else works ...
2
votes
2answers
2k views
Hosting a Website with Ubuntu Server 11.04
Was a tie between here and Server Fault, and I decided that it belongs more here.
Anyway, I am seeking to host a website on my computer using Ubuntu Server 11.04. I've got just a few questions.
...
4
votes
3answers
3k views
Executing .bat file
I have a setup.bat file which install some applications and i want to execute it.
This is content of .bat file :
@echo off
cls
Rip_7z.exe x Rip0.7z
cls
del Rip0.7z
cls
Rip_7z.exe x Rip1.7z
cls
del ...
3
votes
3answers
821 views
How to fix strange backspace behaviour with urxvt + zsh?
I use urxvt in combination with zsh. However since my fresh install of ubuntu 10.04 I have the following problem. If I type backspace the cursor moves to the right (instead of deleting the characters ...
13
votes
4answers
622 views
Why does nothing happen when I click “Shutdown” from the “shutdown…” dialog?
I've been through all questions with the 'Shutdown' tag on this site - but this is different.
I choose "Shutdown..." from the session menu.
I then click "Shutdown" on the dialog that appears.
...
7
votes
3answers
1k views
How to use ampersand in command line?
When inputting a Google Maps Directions url into the command line (for opening with chromium browser via Terminal) there is an ampersand (&) in the url, however the terminal breaks it there ...
2
votes
2answers
69 views
Different action for unity launcher icon depending on action?
I'm making a launcher that when clicked will open up a chromium window with tabs for Gmail, Google Docs, and Google Calendar, but I'd also like to drag and drop documents into the launcher icon and ...
13
votes
1answer
832 views
Limiting the download rate of apt-get
I am downloading a very large package and my internet connection isn't the fastest, so browsing the web at the same time is a pain. How can I limit the bandwidth apt-get uses?
2
votes
1answer
279 views
Why isn't .profile sourced on login to LXDE?
I switched recently from GNOME to LXDE and since then my .profile file hasn't been sourced on login. I found out that my PATH variable doesn't include ~/bin anymore. However, my .profile file includes ...
0
votes
3answers
2k views
How can I make Eclipse work (bash permission)?
Well , I've tried to compile and install Eclipse 3.6.2 using the instructions in :
How to update Eclipse 3.5.2 to 3.6.2? .
But Eclipse doesn't open.
user@s-HP-550:~$ eclipse
bash: ...
1
vote
1answer
742 views
How to obtain a white background for vim (not gvim)?
I've downloaded a variety of colorschemes for vim, but none of the white background colorschemes that I've tried have worked in vim, only in gvim. I expect this has to do with the color limitations of ...
0
votes
1answer
261 views
How should I specify command-line arguments for atd?
The manual for atd describes the command-line option:
-b Specify the minimum interval in seconds between the start of two
batch jobs (60 default).
How can I permanently set this option so ...
2
votes
1answer
306 views
Automatic login on Headless, console-only computer
I am working with a Gumstix computer running a console-only version of Ubuntu (courtesy of the Linaro project, which is quite fantastic), and when I boot the computer while connected to it over a ...
5
votes
2answers
3k views
Is there a command for the “Workspace Switcher”?
I just learned about "whereis" in terminal as a way to find a command to launch a given application. However, I still can't find (a way to find) the command to launch the "Workspace Switcher" in natty ...
3
votes
2answers
517 views
Why does 11.04 boot so slow on my system?
I downloaded Ubuntu 11.04 and it was working fine until I started tweaking compiz and rebooted. It took 3 to 4 minutes to boot up. When I press enter at the boot menu, there is a black screen with ...
2
votes
2answers
720 views
Pink Screen on GRUB Boot [closed]
When I boot Ubuntu 11.04, GRUB shows me a nice, blank pink screen, until most of the OS is loaded, after which I can see some output text.
I can't fix it unless I switch to console mode instead of ...
2
votes
1answer
2k views
How can I export MySQL database manually - without phpmyadmin [closed]
My phpmyadmin doesn't work, i see only white blank page when i open it(it's has some issue),
however, I'd like to export my project databased manually to another computer. i saw all my databases ...
4
votes
7answers
9k views
How do I open multiple terminals?
I just downloaded Ubuntu 11.04 and as far as I can remember, there was the option of opening multiple terminals in tabs in Ubuntu. I cannot discover this feature in 11.04. Also, as a general query, ...
3
votes
1answer
814 views
cannot insert backslash with bash, python, works fine with csh, idle
I have a strange problem with inserting backslashes (Ubuntu 10.10 and 11.04,
the upgrade changed nothing).
The key combination on my keyboard (Swedish Thinkpad T400) is AltGr + ?.
However, this seems ...
1
vote
1answer
1k views
How do I set custom keyboard shortcuts in Unity via gconftool? [closed]
I have added few custom keyboard shortcuts via "keyboard shortcuts" app in unity. It used to go gconf file under /apps/metacity/keybinding_commands/ section in Ubuntu 10.10. But, I couldn't find the ...
4
votes
3answers
2k views
Apps launched from shell scripts do not run from Unity bar
I can run Oracle's SQL Developer 3.0 by clicking on "sqldeveloper.sh" from the file manager and then clicking "Run".
When I add it to the Unity menu (Right-click running icon in menu, click "Keep in ...
2
votes
2answers
2k views
Maven exits after trying to run it
I've manually installed sun java 1.6.0_24 and apache maven 3.0.3 into ~/Work on Natty and when I run maven from my terminal it exits.
I've tried various other versions of maven (2.2.1, 2.0.11), ...

