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

learn more… | top users | synonyms (5)

1
vote
0answers
21 views

How to change preview image for file from command line? [duplicate]

If I open the properties window for some random file. If I click on the file icon in that window I can select a new preview image (thumbnail) for the file. This preview will be displayed in the file ...
1
vote
1answer
24 views

g++ not working… need to change PATH variable

am working on Ubuntu machine. I have been trying to run make try to compile try.cpp. I am not able to make it work. I have tried all the solutions online. apt-get is what I am using. I have tried ...
0
votes
0answers
17 views

Apache does nothing. No output from: service apache2 status

I reinstalled Apache 2.4.7 on Ubuntu 14, and it not only does not serve web pages, it does nothing at all. My browser says: Firefox can't establish a connection to the server at localhost.tmc.com ...
0
votes
1answer
33 views

how do I resume the terminal, pressed d for details?

I am upgrading my ubuntu 12.10, a question came something like do you want to keep your current version? press n for default, d for details. I pressed d and now I have a screen as follows- --- ...
1
vote
1answer
33 views

Listed folder cannot be deleted

I have a server with an app on it which uses themes (mollify) however after looking at the website this morning no CSS was being displayed so I had a look at the themes as my first port of call. What ...
3
votes
3answers
318 views

Changing colour of text and background of terminal?

I can change the colour through preference , but how can I change the background colour and text colour of terminal through the command line?
0
votes
0answers
16 views

Movgrab with Ubuntu 14.10?

Is there something that can be used in the command line in terminal to download videos from websites like Movgrab did? Can't downlaod it or install movgrab with Ubuntu 14.10.
1
vote
1answer
27 views

Apache 2 virtual host pointing to index.html

I tried to create a virtual host whitecrm.local by the following procedure: First I created host using sudo vim /etc/hosts 127.0.0.1 localhost 127.0.0.1 whitecrm.local Created a file ...
9
votes
3answers
2k views

What is the difference between “>” and “>>”?

What is the difference between ls > and ls >>? I need to understand this for my GCSE computing but don't know what the difference is.
0
votes
0answers
18 views

terminal automatically wrap the output text how can i change setting wrap on to wrap off? [duplicate]

basically at the time of fetching the data from tables that time in the table around 25 column and around 2400 rows available so at the time of show all data some of text are wrap it so not properly ...
0
votes
0answers
40 views

how to authenticate any command outside terminal

I tried to run a php script to monitor my http access ... <?php $handle = popen("tail -f /var/log/apache2/access.log 2>&1", "r"); while(!feof($handle)) { $buffer = fgets($handle); ...
0
votes
0answers
16 views

Subsetting a font from the command line and turning it into a webfont

I have a few web projects that link into various icon fonts (like FontAwesome and Glyphicons). These are great fonts but they include a lot of glyphs that I never use. ~65KB is a relatively big ...
0
votes
0answers
16 views

http://ppa.launchpad.net/upubuntu-com/web/ubuntu/dists/trusty/main/binary-i386/Packages 404 not found [duplicate]

This link http://ppa.launchpad.net/upubuntu-com/web/ubuntu/dists/trusty/main/binary-i386/Packages 404 not found ,please help me ![enter image description here][1] please help me,
1
vote
2answers
35 views

difference between mkisofs and genisoimage

Is There any changes in mkisofs, Previously for creating iso I have used mkisofs, but now it is taking gensioimage ? With mkisofs my work going good, but genisoimage I am facing problems with ...
0
votes
2answers
28 views

Burning a DVD for standalone player in linux

I would like to burn DVD+R for standalone player in Linux from command line Please some one help me in this.
0
votes
0answers
20 views

Unity Tweak Tool: set workspaces with command line [duplicate]

quick question: I want to include a command in a bash script to set the number of vertical workspaces to 1 and horizontal to 8, for Unity Teak Tool. Could you help? Thank you! Please read the ...
0
votes
0answers
24 views

After starting Metacity, Unity crashes

I used metacity --display=:0 --replace in the CTRL+ALT+F1 terminal window to try to speed up the incredibly slow Unity, but instead, Unity crashed. Then I tried unity after launching Terminator (by ...
0
votes
1answer
25 views

Cannot remove directories Ubuntu Server

I recently was moving directories around on my server and something happened. It was a few weeks ago, so I do not remember exactly what happened. These directories are now unusable and unreadable. I ...
12
votes
4answers
767 views

ln -s vs mount --bind

I am trying to understand difference between using ln -s and mount --bind. In basic scenario I can use both to access one directory from somewhere else. In what scenarios those two will behave ...
0
votes
0answers
17 views

how to set ack-grep options

i have ubuntu 14.04. and using ack-grep to search for a text in files recursively inside a directory I want to setup ack-grep options specific to the directory ~/workspace/project/ so that when i am ...
1
vote
0answers
14 views

command line interface (TTY) disapears after 2 seconds

When ever I press Ctrl+Alt+F1 to get into the TTY it fades out. For about 2 seconds you see the text all normal then it starts fading out and black screen appears. I can hit Ctrl+Alt+F7 to start the ...
0
votes
1answer
36 views

How to access my NAS via the command line using rsync

I have always been accessing my NAS (dlink-343) via the gui in Caja or Nautilus. The connection says smb://dlink-15gtac. How can I access my NAS via the command line if I want to copy files to there, ...
1
vote
2answers
49 views

Ubuntu Terminal, what is its executable name? [duplicate]

I would like to launch the ubuntu terminal from inside fluxbox (I don't use Unity). However I can't manage to find the command name to launch this application ? What's its name ?
0
votes
1answer
36 views

Help Starting Minecraft Server Ubuntu 14.04

My .sh file to launch the server is not working. I have the file named 'craftbukkit.sh' with this pasted in it (from the bukkit set up wiki) #!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd ...
0
votes
0answers
13 views

start krusader editor from a command line bor bash

I am really happy with Krusader's internal editor and I would like to use it for editing files via bash scripts. So instead of: leafpad ubuntu.txt I would like to run say something like that to ...
0
votes
1answer
42 views

How to create the vertical line [Pipe]

I am new to Ubuntu and i want to know how to create the vertical line that's Pipe in ubuntu 14.10
0
votes
0answers
24 views

Terminal command to send an interrupt to mimic a new peripheral device connection?

Is there a way to send an interrupt indicating a connection of a new peripheral device? Being precise I want a standard user command that could perhaps mimic ps/2 mouse connection. My mouse keeps ...
1
vote
2answers
30 views

cp command syntax difficulty

I have rescued many files from a failing hard disk. They are in 500 sub directories each containing 500 files. I am trying to copy all the files in all the folders into new subject directories (like ...
3
votes
2answers
119 views

How to get the Input and output in a terminal to a text file? [duplicate]

I want to create a text file which will add each command I am going to run on the terminal as a new line entry in the text file. i.e., I need to keep a record of what are the things I'm doing in the ...
0
votes
1answer
26 views

run command where specific user login [duplicate]

I have made a script that I want to run only where the user kyle logs in. I don't want it to be run on all users like a start-up app. I only want it to run when the user kyle logs in
6
votes
1answer
159 views

How can I see the amount of data I am Downloading / Uploading per day?

I want a command line feature to show me how much data I am using each day / week / month. It needs to show speed as well as data usage.
0
votes
0answers
29 views

Network Manager gui link to terminal network config listing 14.04

I am using 14.04. I am trying to figure out how the connections listed in Network Manager's GUI: is connected to the files found in /etc/NetworkManager/system-connections/ ...
0
votes
1answer
39 views

Problem setting alias, ~/.bash_aliases file not found [duplicate]

I was trying to setup a permanent alias. but ~/.bash_aliases file not found on my system. I have checked the bashrc file and it shows bash_aliases are enabled. I tried creating a new file in the same ...
0
votes
0answers
21 views

How do I install the Desktop version of Ubuntu through the command line?

I have a Ubuntu Desktop Live USB. How can I install the desktop version of Ubuntu through the command line without using the Ubiquity installer?
2
votes
1answer
147 views

Switch to another running application from terminal

Let's say I have opened Firefox Browser and Libre Office, and then I opened Terminal. Can I, from Terminal use a command to switch back to Firefox.?
0
votes
2answers
17 views

Can't get workrave window to display under Ubuntu Gnome

I'm using Ubuntu Gnome 14.04 which is using gnome shell 3.10.4. I installed workrave through the terminal and the first time it launched the small window with the countdown timer displayed and it ...
1
vote
2answers
74 views

How can I upgrade my OS from the terminal? Each time I try, I'm told everything is up to date [closed]

So I've been checking around on how to update my Ubuntu OS from 13.10 to 14.04 LTS, and each thing I see says to use commands in the terminal. Some of the commands I've tried are: sudo apt-get ...
0
votes
1answer
18 views

How to download and install Heroku?

I downloaded Heroku from Heroku toolbelt using wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh in the terminal, which they recommended on their site. My Ubuntu (14.04.1) didn't ...
0
votes
2answers
62 views

Unable to update [duplicate]

when i go into terminal and type in sudo apt-get update, the response is: E: Malformed line 64 in source list /etc/apt/sources.list (dist parse) E: Type ‘ can this be fixed?
1
vote
1answer
48 views

How to set proxy server to work from the command line [duplicate]

I have set up my proxy server so that it works through the browser ( in firefox: edit > preferences > advanced < network < settings ). I also got it working from the command line ( in system ...
0
votes
2answers
32 views

Unable to update [duplicate]

When I put in sudo apt-get update into the Command Line, I get the following: E: Type 'new' is not known on line 67 in source list /etc/apt/sources.list E: The list of sources could not be read. ...
0
votes
0answers
62 views

14.10 only boots to UEFI Interactive shell

Hello I am very new to Ubuntu and am testing it out on a VirtualBox VM.. It installed fine, I was even able to install Guest Additions and a few apps before shutting it down for the day. Now when I ...
0
votes
0answers
13 views

Upgrade Ubuntu from 12.04.3 to 12.04.4 on CLI failed [duplicate]

We have Ubuntu server in VM environment. I have tempted to upgrade from 12.04.3 to 12.04.4 release. I had /cdrom mounted ok with iso image. However, it never prompted in dialog. I do not have gksu ...
0
votes
0answers
80 views

Unable to mount cifs share from OS X Yosemite on ubuntu 14.04

I have been trying all kind of options to mount a file share from OS X 10.10 to a ubuntu 14.04 box. This box has no GUI so I must find the proper command trough the GUI I know that the share is ...
0
votes
1answer
33 views

running python program in terminal calling special environment

I use an astrophysical piece of software called AMUSE, which uses python command line. I have got the binary release that imports amuse in terminal. Now if I want to run a saved python program in any ...
2
votes
0answers
34 views

Termial not accepting options

I'm using Ubuntu 14.10, and for some reason the terminal command will not accept options. (I believe these are called option, please correct me if I am wrong). For example, when installing a new ...
0
votes
0answers
11 views

Why is nodemon unresponsive to any commands in terminal?

I'm trying to use nodemon instead of nodejs, but it doesn't want to work. There are no errors. The install goes smoothly and also returns no errors. If I type in ANY nodemon commands such as nodemon ...
2
votes
0answers
59 views

why ubuntu touch terminal cannot execute app

my buntu phone is nexus 4. The following code is not being executed. Code #include <stdio.h> #include <stdlib.h> int main() { printf("Hello world!\n"); return 0; } Compile $ ...
0
votes
1answer
57 views

sudo error permission denied

I have started few days ago with Ubuntu Server and I've got a weird error: ubuntu@ubuntu: $ sudo -s sudo: /var/lib/sudo/ubuntu/ is accessible in write mode from not-owner (040777), should have ...
1
vote
2answers
20 views

gnome-screenshot problem with color depth 8, any change to generate screenshots 32 color depth?

$ gnome-screenshot -f test.png $ identify test.png test.png PNG 1920x1080 1920x1080+0+0 8-bit DirectClass 275KB 0.000u 0:00.000 $ xwininfo -root | grep Depth Depth: 24 It generates 8-bit images, ...