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

learn more… | top users | synonyms (5)

0
votes
0answers
24 views

GMP compliation…/libtool: line 1128: ../mpn/m4-ccas: Permission denied

Hi i am trying to install gmp-6.0.0 but make command doesn't work...i am getting this error.kindly rectify thanks in advance. ../libtool: line 1128: ../mpn/m4-ccas: Permission denied make[2]: *** ...
0
votes
0answers
12 views

How can I login/logout of Game Center using the command line?

it would be nice to know a way to switch between clash of clans accounts faster. Going to settings and logging out then in GameCenter is getting annoying. I just want to be able to go to terminal and ...
-1
votes
0answers
21 views

GPy installation in ubuntu

How to install the 'GPy' in ubuntu? i tried the directions given here :https://github.com/SheffieldML/GPy. I also tried the ones using R and 'pcmanfn' mentioned on the page here. The error with the ...
1
vote
1answer
58 views

How to check using the command line which display manager is running?

I am using Ubuntu and linux mint, on linux mint i am using the XFCE desktop environment,as far as i know, the XFCE is a graphical frontend to the xserver, but i am not sure, if the XFCE could be also ...
0
votes
1answer
41 views

SOLVED prefix command error

When open Terminal I get this error ERROR: Directory [=] does not exist. The prefix script allows you to manage multiple installations of a set of software installed on the same machine. It helps ...
0
votes
1answer
34 views

A file (/usr/bin/sudo) highlighted with red in Terminal

Anyone knows what it means when '/usr/bin/sudo' is highlighted with red in the terminal? This wasn't like this a few minutes ago Apologies if this is a dumb question, but it's been a while I had to ...
-1
votes
1answer
41 views

v4l2, video capture via usb cam HELP

So im trying to capture video with my usb camera via vlc using this C code-> video capture example. After compile & run to the terminal i have a file that is supposed to be my video data and ...
0
votes
1answer
37 views

Ubuntu Boot Problem Boot-repair boot

When I start my laptop the following error appears "Operation System not found" When U use the Boot-Repair utility from my USB stick, I use the Terminal to put the commands but nothing happens. I ...
0
votes
2answers
36 views

Why doesn't the command upgrade work [closed]

When doing: sudo apt-get upgrade E: Invalid operation upgrate sudo apt-get dist-upgrade E: Invalid operation upgrade
0
votes
1answer
28 views

Change bash title to show truncated pwd [duplicate]

I use tilda as my terminal on Ubunut 14.10. The trouble I have is that I want to have the tab bar, since the titles in it are actually useful for navigation, but having username@computer:~/some/folder ...
0
votes
1answer
25 views

Ubuntu Touch - emacs gets 'fatally' stopped in terminal if user switches away to other touch applications

Here is my problem: I start 'emacs' in latest Ubuntu Touch running on Nexus 7. Then I swipe to switch to Unity desktop and there I launch, say, browser. Then I swipe again and switch back to terminal ...
0
votes
1answer
118 views

Ubuntu Touch - how to create Unity .desktop launcher to make UT terminal to open and execute a command?

I have latest Ubuntu Touch installed on Nexus 7. I just apt-get installed there 'emacs' package. Currently I open Terminal application in Ubuntu Touch and key in "emacs" to get it launched. I want ...
0
votes
0answers
21 views

Strange terminal color setting issue

I am running an Ubuntu 14.04.1 LTS server (3.13.0.45) which I usually access over SSH. I set up a custom prompt with the following in my .bashrc file: # uncomment for a colored prompt, if the ...
0
votes
0answers
69 views

When running gksudo in my terminal and trying to change file permissions, Nautilus crashes. How can I fix this?

I was trying to save some files to my usb drive and discovered I couldn't do it. So I decided to try to change my file permissions as a user by launching Nautilus as root. To do this I typed in gksudo ...
1
vote
3answers
47 views

Running graphical programs in console mode

I want to use Ubuntu in console mode (ctrl + alt + f1) instead of the graphical interface. Is it possible to run a graphical program, such a browser or a game from it?
3
votes
1answer
42 views

Download files with wget from a list but save with a specific naming pattern

This question is similar to Download files from a list but it is not the same as I want to go beyond this. Please do not close as a duplicate. I have a list of files to download in a text file ...
1
vote
1answer
56 views

What is the difference between scrub and shred?

I know both are for secure file deletion, but when should one be used instead of the other? Do both overwrite files with 0's?
2
votes
0answers
30 views

How to correctly deploy/install scripts?

I've developed several utility scripts that solve specific problems of my team's day-to-day work. Until now what I have done to deploy the script in my co-workers' laptops is as follows: Every ...
-1
votes
2answers
54 views

Unable to execute command in ubuntu 12.04 [duplicate]

I have been assigned a Ubuntu 12.04 system.I have administrator privilages but when i try to execute command such as ifconfig,sudo etc the command does not executes.I have executed ifconfig command ...
0
votes
1answer
39 views

Text appearing on top whenever I open terminal

Whenever I open my terminal I get this text at the top: bash: export: ...
0
votes
2answers
36 views

Whitespace Problems With Script and Variables

I'm trying to beat my head against the syntax of this. I'm getting problems with whitespaces and I can't see if there's a better way to do this. vardir=/home/user cd $vardir for i in $(ls "$vardir") ...
0
votes
1answer
71 views

How to open .jar file from shell script without losing focus? [on hold]

In my script I need to open .jar file and keep focus on terminal. I tried java -jar maps.jar &, but it didn't work. What should I do?
0
votes
1answer
61 views

How to recover a deleted Folder(/Desktop in this case)

I have accidentally deleted(in a way) or I can say dislocated reference to my /home/user/Desktop directory , Is there any way to undo what I have done. The following Describes what I have done $ cp ...
0
votes
1answer
45 views

Why can't I access directories in my home directory using the command terminal?

When I try to access directories in my home directory, I end up back at the root prompt. Here is a link to a snapshot of what happens:
-1
votes
1answer
101 views

/bin/bash: g++: command not found error 127

I was trying to install a software quicknet from a tar.gz file. After using ./configure when i tried using make it showed the following erroe g++ -I. -I. -c QN_args.cc /bin/bash: g++: command not ...
0
votes
0answers
19 views

Unable to execute tdist command in ubuntu

Unable to execute tdist and tdisco command in tconcoord file. It is showing this command does not exist. I tried to install it by using sudo apt-get install, but it is showing it doesn’t contain in ...
-1
votes
1answer
46 views

unable to install .deb file through terminal [duplicate]

I'm in confusion because I'm not getting my eclipse even after installing. I downloaded .tar.gz file of eclipse. Then I generated .deb file using command: sudo alien -d eclipse.tar.gz Then I tried to ...
0
votes
2answers
42 views

installing 7zip from terminal not working?

installed 7zip, from the following code :- sudo apt-get install p7zip It asked for my password and it proceeded to download the package. But it is not found in unity menu.What am I missing?
-1
votes
1answer
21 views

How do I download a .crt file to a certain folder/directory in Ubuntu

I want to download: gd_intermediate.crt from: https://certs.godaddy.com/repository and add to my: /usr/share/ca-certificates/mozilla/ Then I would like to check if certificate works. What is ...
2
votes
1answer
99 views

How do I run minecraft using a command

I am using SSR to record and I chose the option "record an opengl game" and I'm wondering what I put in the command spot:
0
votes
0answers
59 views

Ubuntu 14.04 Anaconda Install Help

I started using ubuntu not to long ago. I am trying to install Anaconda on my linux distribution. Am following the instructions below: http://docs.continuum.io/anaconda/install.html#linux-install ...
0
votes
0answers
30 views

command line login not possible

I am totally new to linux/ubuntu and got this error after installation The system is running in low-graphics mode Your screen, graphics cards, and input device settings could not be detected ...
1
vote
1answer
29 views

wget -m inserts robots.txt?

I was mirroring a server Im working on before revising code. To do this I used the command wget -m <address> Looks like everything is there. but what is this? a robots.txt file? I double ...
1
vote
2answers
47 views

How do I map a command to a file path [duplicate]

I am new to Linux. I have read the basic docs. I have just installed Filezilla. I first tried apt-get but the repository does not appear to be up to date. I then downloaded it from the Filezilla web ...
0
votes
1answer
42 views

How to scale title bars and menu in Ubuntu 14.04 with the terminal only

To keep the story short: Out of curiosity I wanted to know how the scale option would look like with value 5.something. Now I'm stuck with a highly oversized system where I can't change anything ...
1
vote
2answers
36 views

bash command starts new process

I have noticed that whenever I just execute the command bash in Terminal that it appears to have executed successfully with no output. I have also noticed that then when I want to close Terminal I ...
1
vote
3answers
72 views

How can I input to a file directly from the terminal

Other than bringing up a text editor, is there a way I can input text in a linux terminal directly to a file? (then enter a control code such as ctrl-c, to end the input) I'm pretty sure there's a ...
0
votes
4answers
93 views

Select only the first lines that contain a repeated string

I have a file that looks like that: 2_00003 R034671 31.25 96 55 2 100 195 77 161 7e-07 47.8 2_00003 R034668 31.25 96 55 2 100 195 77 161 7e-07 47.8 2_00003 R034667 31.25 96 55 2 ...
2
votes
1answer
51 views

Cannot Run Rscript from PHP but it runs perfect from terminal

I'm new to Ubuntu I'm trying to execute an Rscript in PHP using exec. However it doesnt run. When I run it from the terminal it executes perfectly. This is the code I run from commandline: ...
0
votes
0answers
40 views

Low graphics mode not working

I only installed Ubuntu 14.10 today, already installed nvidia driver. When I reboot i have window that say the system is running in low graphics mode. I'm trying to use low graphics mode for one ...
2
votes
1answer
99 views

VIm: using substitute command

I'm trying to use the substitute command in VIm but don't get the result I excpect: I'm editing an html file, and for example I'd like to replace all "é" characters by the é code (yes it's in ...
-1
votes
1answer
159 views

How can i directory changes and with terminal showing me stay home directory command line?

If i want directory changes and with terminal showing me default directory stay , when changes directory khan@raselkhan:~$ cd '/media/khan/Development/Express' then showing me below ...
0
votes
1answer
62 views

bash- Control-C behavior (^C) / gksudo vs sudo

This is about how the ctrl+c key press has a different effect when performed to a gksudo instance as opposed to a sudo instance. I executed the following using gksudo to read an installation failure ...
0
votes
1answer
42 views

Typing special characters in terminal

I want to be able to type a special character (é) in terminal. I found a webpage which tells me to push a dead_acute key along with "e" key and that's it. ...
0
votes
0answers
25 views

There is no shell for current user

I am facing a very strange error. I was using fish shell with oh-my-fish (https://github.com/bpinto/oh-my-fish) and I tried to change my command line to bash using: $ chsh -s /bin/bash [my_username] ...
-1
votes
2answers
40 views

How i can change root to user directory?

I want to change root directory back to home directory, how can I achieve this? What I have now: root@raselkhan:~# pwd /root What I had before: khan@raselkhan:~# pwd /khan/home
1
vote
0answers
14 views

Software Updater not detecting all upgrades [duplicate]

This happens every so often, I run this command in Terminal (after running sudo apt-get update): sudo apt-get upgrade And I get an output such as (this is what I got today): Reading package ...
1
vote
1answer
66 views

Can't ls in /etc directory and more

I am using 14.04, I recently did an update with the software updater and things went wrong. Not sure what however, I just kept running it until it said that things were up to date. Now things are ...
-1
votes
1answer
55 views

Where is Ubuntu terminal located?

I am trying to add terminal as external tool to compile javascript with node.js. I am following this article which is based on windows , and i am stuck at figuring out location of terminal ...
1
vote
0answers
31 views

Terminal display problem [duplicate]

I've got an annoying problem with my terminal. The problem existed with the gnome terminal and even though i've got the terminator terminal as a default the problem persists! When a code line is too ...