Questions about using the command-line interface (CLI).

learn more… | top users | synonyms (4)

0
votes
1answer
12 views

How do i change the password of root, using webmin in one command line?

I have lost root password of one old server, where i can only have normal user login and via webmin login. Via webmin interface i have one option to execute command, i have been trying the following ...
2
votes
4answers
40 views

How do I get my shell prompt back after using Gedit from the terminal?

I'm trying to update my APT sources list in terminal by using gedit. My question is once I reach this point I need the command prompt "root@bt:/ect/apt#" back. the line is just blank. How do I recall ...
0
votes
0answers
12 views

git autocomplete does not work

In previous version 12.10 when using git from command line autocomplete of commands, branches, tag ... worked. After installing fresh 13.04 and git it does not work. What to set up to make it work ...
0
votes
2answers
31 views

How to automatically add '&' after each command in a terminal

I use guake as a sort of "run" command, because my lxde launcher often misbehaves. So I just enter the command line in guake followed by & (So I get back the control of the console). Is there a ...
0
votes
0answers
16 views

Unable to launch vmware-view client at startup

I have written a script to launch vmware-view client at start-up and have followed the below steps and still it wouldn't launch. Please suggest. Please note that I am able to launch the app by adding ...
2
votes
2answers
21 views

Use Results of Find Command to Call vi

Is there a way that I can pipe the output of this command (assuming there is only one file found) to vi. I want to find this command, and then call it up in vi. Thanks. find . -name 'id.properties' ...
0
votes
1answer
25 views

problem with PATH when using $su

OK, I'm having a bit of an issue with PATH and running a process as another user under Ubuntu. First, we check where the bin is: root@host:~# whereis start-stop-daemon start-stop-daemon: ...
0
votes
1answer
16 views

Ubuntu adding path/Environment variables

I am trying to install apache maven 3 in Ubuntu 12.04 lts. What I did was open the terminal then I typed the following commands export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.5 [Then ...
0
votes
0answers
19 views

tab complete after CLI install

I have a silly question, but its driving me bonkers. In my terminal, after I sudo apt-get install xxxx I can never tab-complete that software after its installed. I have to open a new terminal then ...
0
votes
2answers
24 views

run Smartgit in Ubuntu 13.04

I have downloaded a Smartgit 4.5.5 and trying to use in Ubuntu 13.04. But the problem is when i double click on the script smartgithg.sh it opens on the Gedit. On the previous versions of ubuntu i did ...
0
votes
2answers
14 views

changing directory color in CLI

Im having a hard time reading in blue colored text, whenever i work using cli, directory colors are by default blue or so, my co-worker changed it to blue. how can i easily change the directory color ...
2
votes
2answers
26 views

How do I open a new terminal window to ssh into a new computer and execute commands?

Basically, I have a computer that I have to ssh into and pull up about 8 terminals to monitor various threads and log files. I would like to have a script from my build machine that can do this all ...
1
vote
1answer
24 views

Make an Amazon EC2 instance ask for sudoing password

I've launched an Amazon EC2 instance of Ubuntu Server 12.04 and it's all fine except, unlike with my local Ubuntu, the EC2 instance never asks for any passwords when I'm sudoing with the command line ...
-1
votes
0answers
19 views

Changing default terminal app [duplicate]

I am using Ubuntu 13.04 and would like to change the terminal I use when clicking ctrl+alt+t Is there an easy way to do this?
1
vote
1answer
21 views

Problem writing 'pipe' symbol on danish keyboard (Ubuntu 12.04 server, console)

I just installed Ubuntu 12.04 Server (32-bit) on an old machine, and have problems writing the | (pipe) symbol. I have no graphical UI installed. My keyboard has danish layout, and all other symbols ...
8
votes
3answers
311 views

How often is the password asked for sudo commands? Where can I set it up?

I execute quite a lot of sudo commands. I noticed that if I execute one and then another one within few minutes, the 2nd time I don't get the message: [sudo] password for my_username: but I do ...
1
vote
1answer
21 views

Can't find PhpStorm

I am new, never used Ubuntu until yesterday, so I'm not really into it, yet. I installed PhpStorm from JetBrains, but I can't find it anywhere, I need to run it. I searched /usr/share/applications as ...
2
votes
1answer
13 views

Ask to install program after “The program 'x' is currently not installed”

If you try to execute a program that is not installed you will get a message The program 'x' is currently not installed. You can install it by typing: sudo apt-get install x and instead of ...
2
votes
2answers
35 views

Execute terminal command without opening terminal

In terminal, I have an alias so that when I type note, a text document of my notes comes up. Often times when I'm browsing the web I'd like to make a quick note but I don't have terminal open, so I ...
0
votes
1answer
34 views

how to add path?

I am trying to complete the installation for some software. According to which I have to add path. I am not getting it how to do that. Please guide me how to do the following steps. Add the path to ...
0
votes
2answers
32 views

How to get original system command after overwriting it with a function?

I'm at a Hackathon right now so if someone would answer this soon, you'd be doing me a huge favor. I've written a function called ls() in my .bashrc that looks like this: ls() { if(some ...
0
votes
1answer
34 views

no internet for terminal- connect through a proxy

I'm using newly installed 13.04 on my lap. I've connected to wifi connection in our university and configured the proxy settings in network settings. I can access web and even software updater work ...
0
votes
0answers
29 views

Rhythmbox will not open

The title is pretty self explanatory. This is the error list that I get in Terminal when I run "rhythmbox": (rhythmbox:5173): libpeas-WARNING **: audiocd: ...
0
votes
1answer
25 views

Shutdown command history in terminal

The default terminal in Ubuntu (13.04) preserves previous commands in an iterable list, even from session to session. Same with Byobu terminal. But for some reason sudo shutdown .... is never ...
1
vote
2answers
29 views

How do I launch a web browser on my local machine that visits websites through the ip of a remote machine?

So, I want to visit a website that only permits access to computers from certain ip domains. My ip is not from one of the allowed domains, but I've ssh'd into a (linux) machine at another location ...
12
votes
7answers
300 views

Auto complete for often used command line commands?

For some projects I often type in a couple commands, like for example: cd an/extremely/long/path/in/which/I/have/some/kinda/project and ./runmyproject --with some --command line --options set ...
0
votes
1answer
37 views

a script to shutdown the other pc in the network if they donot respond to ping command

A (program)script to shutdown the other linux operated Computer in the same network , if they do not respond to ping command otherwise a message to show that they do not respond. please help me
0
votes
0answers
20 views

I/O error (basic_ios::clear) virtualbox

I am running a virtualbox of xubuntu x64. My OS is NTFS Win 8 x64 I have installed dkms (virtualbox guest additions) & configured it so that I can open the ntfs directories without needing root. ...
0
votes
1answer
11 views

Android SDK and Path

Since I've downloaded the Android development kit as a package (sdk, eclipse bundled together), I extracted it into /opt/android/sdk I ran the command nano ~/.bashrc command and opened the file. Now ...
0
votes
1answer
17 views

How do I “:set prompt” by default for a particular program?

I'm new to Linux. I installed Haskell and was going through a tutorial, which showed me I can :set prompt "ghci> " to change the prompt. I like the way this looks. How can I make it so that ...
0
votes
1answer
34 views

How to copy a website inside my WWW to another computer and make it work?

I have designed a website to create and sign certificates (.csr, .key, .crt, .p12) in my netbook using Ubuntu 12.04. Now I have to demonstrate that it works but my teacher wants to test it using a lab ...
-1
votes
0answers
20 views

TTY stopped working after NVIDIA driver installation [closed]

Using Mint 15 x64, which is based upon Ubuntu Raring. After removing Noveau and installing NVIDIA drivers from the NVIDIA website, I had to set "nomodeset" in my GRUB boot options to make the PC ...
0
votes
0answers
26 views

Ubuntu top and side panels not showing, can't launch the terminal

I am fairly new to Ubuntu. Today I was trying to fix a problem with virtualbox not launching any of the virtuals systems I made. I checked some online solutions and ran some commands in the terminal ...
0
votes
1answer
25 views

How to run compiled C++ program on startup? [duplicate]

I have compiled and made an exucutable C++ program in ubuntu.But It only runs in terminal.that is I have to give the ./example command in terminal.If I click it nothing happens and says no suitable ...
9
votes
2answers
458 views

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin

I'm running an Ubuntu Server 13.04, but I see the same on a 12.04: I have six directories with command files. These are: /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin What are the ...
0
votes
1answer
20 views

installing sound through the terminal

Recently I installed linux on my chromebook. I'm fairly new to it and using the terminal. I'm having issues with the sound and also installing a working flashplayer through the terminal.As of now I ...
0
votes
1answer
43 views

How do I safely copy code from websites?

I have broken my ubuntu install on my chromebook enough times to be fed up because each time requires a reinstall. I've done more than 15 reinstalls between yesterday and today. My problem lies in ...
0
votes
0answers
10 views

Trying to upgrade but get error message

This is what i get when i try to upgrade from the terminal. SystemError: E:The package wine1.5-i386 needs to be reinstalled, but I can't find an archive for it.
2
votes
1answer
42 views

Is it possible to make a python script that runs on a specific terminal-profile

I have this python script that connects my desktop to the internet. there is not much text in it only a few messages about current status and time. So it would be really nice if i can open it (.sh ...
6
votes
2answers
129 views
+50

“♦: command not found” in tty after login

I have this problem after upgrade Lubuntu from 12.10 to 13.04. I press Ctrl + Alt + 1, enter login, password, wait two seconds and get: ♦: command not found". After this message I can type commands ...
-1
votes
0answers
13 views

wodim slightly modified? [closed]

It is no problem to burn with wodim e.g. an *.iso-image as booting CD/DVD with: wodim -v -eject filename*.iso but wodim -scanbus is not working entirely ?
0
votes
2answers
47 views

How to reboot morethan one remote system?

I am using Ubuntu 10.04. I need to reboot multiple systems at a time from my Ubuntu machine.Tell me the way to reboot multiple systems at a time
0
votes
0answers
20 views

wget and curl somehow modifying bencode file when downloading

(this is a copy from my post on Stack overflow I am hoping someone in the ubuntu community can shed some light on the situation for me) Okay so I have a bit of a weird problem going on that I'm not ...
0
votes
2answers
26 views

Why is guake no longer displaying command prompt before $

Guake is no longer displaying the user and directory in the command prompt like: <name>@<name>-<computername>:~$ Instead it only displays the $ symbol which only separates the ...
1
vote
0answers
17 views

how can I stop the middle mouse button from double pasting the first time I select and paste?

This might be hard to reproduce but here's the steps: this happens after I run a command like ls or git status, so ls on the current dir grab a filename from the output by double clicking press ...
1
vote
1answer
30 views

Relative path to source when copying or moving

This might be trivial, but here goes. In terminal, I tend to find myself moving/renaming/copying files that are not in my current working directory instead of cd-ing to the directory of those files ...
3
votes
2answers
70 views

Can I run command-line commands within a python script?

Sorry I'm kind of a noob at this: Basically I've downloaded this package that deals with text files that is run from the terminal, but the command I need takes in two arguments. I also need to do ...
1
vote
2answers
42 views

Simple shell script

I am quite inexperienced when it comes to Linux and now I am setting up the system. What I want to do is to write a shell script, that will do two things: Start i2prouter - as I do not want it to ...
-2
votes
0answers
14 views

How to fix install? [closed]

so i was trying to install Linux Multimedia Studio and it will not let me this is the code it tell me (The action would require the installation of packages from not authenticated sources.) i have ...
1
vote
1answer
27 views

How to open scripts from Second Life viewer into console vim

I want everything that has to do with text to be edited within console vim with tabs. My problem is that I can't open files in console vim from GUI, I can only open them in gvim. Does anyone know ...

1 2 3 4 5 68