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

learn more… | top users | synonyms (5)

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,
3
votes
3answers
9k views

After executing a command in the terminal, I sometimes can't execute another

First off sorry for the noob question, I'm sure it's been asked before but I have no idea how to phrase it eloquently... Sometimes when I open/run/execute (unsure of proper term) an application ...
0
votes
1answer
24 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 ...
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 ...
3
votes
2answers
117 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 ...
37
votes
8answers
48k views

How to change LCD brightness from command line (or via script)?

To work around bug #1005495 (changing LCD brightness via hotkeys impossible), I'd like to have one command line query for increasing and one for reducing the brightness of my LCD. I could then map a ...
1
vote
0answers
13 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 ...
19
votes
8answers
48k views

How to remove all files and subdirectories in a directory WITHOUT deleting the directory in bash?

Is there a command to remove all files and subdirectories in a directory WITHOUT deleting the directory? For example if I have directory "dontDeleteMe" with subdirectories "1", "2", "3" and each ...
44
votes
7answers
40k views

How to easily rename files using command line?

One of the ways I quickly rename files in Windows is F2 > Rename > Tab (to next file) > Rename ... But in Ubuntu/Nautilus, I can't tab to next file. But being on Linux, I think there must ...
0
votes
1answer
68 views

Terminal profile doesn't list all available fonts

my GNOME Terminal profile let me choose only mono fonts and Courier. I'm trying to use Source Code Pro font on my ubuntu terminal. I've installed it successfully, in ~/.fonts, and it shows on every ...
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 ...
14
votes
4answers
17k views

Command line tool to crop PDF files

I am looking for an open source command line tool to crop PDF file just like we can do in Adobe Acrobat Pro. I have tried PdfTk, ImageMagick, PyPDF, and GhostScript—all with no success so far.
0
votes
1answer
41 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
3answers
775 views

How do I find and use the gnome terminal? [duplicate]

Possible Duplicate: Where can I find the command line? How do I install the Cinnamon Desktop? I'm a very new user to Linux. I ditched Windows entirely and installed the first Ubuntu I ...
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 ...
0
votes
0answers
40 views

Command to run keyboard shortcut?

Specifically, I've got two instances of cgminer that open upon boot in terminal windows, I'd like to have them automatically tiled. I also tried gDevilsPie and I couldn't get it to select one ...
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.
6
votes
3answers
30k views

Is there a way to make a file that would run a terminal command when you click it?

Is there a way to make a file that would run a terminal command when you click it? Similar to a .bat extension in windows?
0
votes
1answer
278 views

How can I get Subliminal to work and then integrate it with a file manager?

I have downloaded Subliminal which is a program that downloads movie subtitles.But there are several problems: (1) when I test it at the console with a movie that I know has an English subtitle, I ...
4
votes
1answer
9k views

how to add a program as startup application from terminal ?

I am using ubuntu 12.04 and i know the GUI way to maintain the startup program list but now i want to find out the way to add/remove startup applications through Command Line Interface(CLI) . Thank ...
0
votes
1answer
24 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
19
votes
7answers
23k views

How do I navigate to a samba location I've mounted in Nautilus on the command line?

Please note: I am two weeks old in Linux. I have found a lot of answers to this question on the internet, tried many, but all failed one way or another. Therefore I dare to ask once again in the hope ...
0
votes
0answers
27 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/ ...
1
vote
0answers
29 views

How can I change the regular ctrl commands to accept super instead?

Macintosh, I've discovered, has the right idea in that they use the apple key instead of ctrl in the copy, paste, select all, etc commands. This is extremely useful in the terminal, where ctrl+c is ...
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 ...
0
votes
1answer
38 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 ...
55
votes
5answers
46k views

How to create a permanent “alias”?

If you create an alias for example: alias cls="clear" It exists untill you kill terminall session. When you start a new terminal window the alias doesn't exist any more. How to create "permanent" ...
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
0answers
20 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?
24
votes
7answers
2k views

Delete all files apart from pdf files in a directory

I have a directory that contains the following: x.pdf y.zip z.mp3 a.pdf I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no ...
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 ...
1
vote
2answers
73 views

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

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 ...
1
vote
1answer
47 views

Receiving an Error when Trying to Delete a File?

I'm trying to remove some files from an installation I screwed up. I went to the directory in the terminal, and typed sudo rm PCSX but it tells me it doesn't exist even though I can quite clearly see ...
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?
0
votes
1answer
82 views

notify-send and terminal command

Let's use sudo apt-get install linux as an example. Here is the notify send command: notify-send -i terminal Bash "execution complete" How could I substitute 'bash' with the entire sudo command? ...
2
votes
4answers
2k views
1
vote
1answer
42 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
31 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
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 ...
1
vote
7answers
36k views

How can I delete files in terminal fluently?

For example, I do cd Music dir and get 123456789.mp3 qweerkrtrkgljdjfkdjfdkf.mp3 a.mp3 b.mp3 blabla.mp3 how do I delete, say, files qweerkrtrkgljdjfkdjfdkf.mp3 and blabla.mp3 with least effort? ...
0
votes
0answers
60 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 ...
21
votes
1answer
232k views

How to copy files via terminal?

I have read about copying files with terminal but these examples will help me a lot. So here is what I want to do: Examples: I have a file in /home/levan/kdenlive untitelds.mpg and I want to copy ...
1
vote
1answer
525 views

print contents of a directory structure (filesystem) to CSV on the command line

How can I catalog the contents of a filesystem to a CSV file? This is particularly useful for removable media. I've found a couple links that point in this direction: AskUbuntu.com: listing files ...
0
votes
0answers
74 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 ...
42
votes
6answers
83k views

How do I download and install Handbrake?

I'm new at Ubuntu so I don't know very well how to use the terminal in order to download and install programs that aren't in the software center. I've tried without success downloading and installing ...
0
votes
1answer
32 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
10 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 $ ...