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

learn more… | top users | synonyms (5)

0
votes
1answer
72 views

Taking out my Subdirectory from my URL

I am hosting my own site..... Lets call it www.mysite.com. It is an online store, and I am using Apache2, and the Magento Community 1.7 Platform. I had an "Under Construction" page set in ...
2
votes
1answer
817 views

How do I change the color of my bash commands (only) in a terminal? [duplicate]

I've played with color codes to jazz up my prompt, but is there a way to change the color of what I type after said prompt to make my commands a little more distinctive in the scrollback? I can leave ...
0
votes
1answer
304 views

How to open a desktop shortcut from commandline

I created a eclipse.desktop and locked it to unity launcherd , when I double click on it on desktop, the eclipse was launched just like launching from unity launcher. But if I start it from command ...
0
votes
1answer
115 views

Directory and File permissions

I recently installed Ubuntu 12.10. I am the only user, and would like to be able to drag files from directory to directory. 1) How can I open up permission to do this? Do I do this from root? 2) ...
1
vote
1answer
1k views

How can I resume a download with wget?

I use wget with Flashgot in Firefox to download. I can't resume download if i pause(by ctrl+c). Because, i don't know the commandline arguments of wget to manually add it in a terminal. So i did ...
9
votes
1answer
6k views

How to change the font of various terminal emulators?

Mainly: Gnome Terminal Xfce Terminal Konsole LXTerminal Terminator Guake Yakuake Urxvt Xterm Mrxvt
1
vote
1answer
83 views

get a webpage from a local service

I was using the google-desktop's service for ubuntu (the abandoned package). You can get Google-desktop search results on a webpage in the browser. I was wondering if there is a way to get that ...
0
votes
2answers
177 views

Start xserver + Libreoffice with no GUI

I am wondering how to start libreoffice in tty8 from tty1. I tried startx -- :1 But then how do I lauch libreoffice? Using the above command is it possible to chose tty9-12?
1
vote
1answer
737 views

Install Line 6 Toneport UX1

What am I trying to do? As the title suggests, I am trying to install the the Line 6 Toneport UX1 software. What is the problem? Upon reaching the step where I am told to enter sudo apt-get install ...
1
vote
1answer
109 views

txt file and linebreaks

I used antiword >filename.txt To convert a .doc word document to a txt file. Then I edited the file in nano (also tried vim) and when the document is viewed in libre office and gvim or even text ...
9
votes
3answers
37k views

How can I run Disk Utility in terminal via a comand line?

First of all, I must say that I have successfully used Disk Utility in the past and thus I could rename my partitions. But yesterday, I saw that my partitions are not mounted, so I used Storage ...
1
vote
1answer
84 views

How do I install zopectl?

while trying to install zopectl and zope testcase I am getting this error: oomsys@oomsysmob-6:~/zopectl$ sudo apt-get install zopectl Reading package lists... Done Building dependency tree ...
0
votes
1answer
3k views

Installing proxychains. HELP NEEDED! [duplicate]

OK so i am new to linux. I am trying to install proxychains but im sure it has dependencies that i do not have on my system can somebody look at the following script and tell me the list of packages i ...
1
vote
1answer
1k views

Ubuntu 12.04.2 LTS boots to command line of some kind

I recently built a computer, then installed Ubuntu 12.04.2 LTS (Desktop, AMD64)using the Universal USB Installer from pendrivelinux.com. When it was first installed, the Unity bar (at the left) was ...
1
vote
2answers
133 views

A package was installed badly. How to remove it?

When I'm trying to update or install anything I get this error: Reading package lists... Done Building dependency tree Reading state information... Done E: The package equalx needs to be ...
0
votes
1answer
277 views

Bash script indenting command line

Hi I have used the following script, which after it has run and exited, causes my command line to display no text when typing, and after each carriage return instead of starting a new line like ...
0
votes
1answer
448 views

How to call php or apache to render a page from the command line?

I am running apache2 as a web server. I have a local file, example.php, which I need to see as rendered by apache. The easiest way to do this would be to move or link the file to the folder apache ...
2
votes
2answers
110 views

How do I remove a specific line and lines just before and after it?

I'm making a summary of the history.log files in /var/log/apt. To that end, I want to remove lines containing a certain pattern as well as the line immediately preceding and the line immediately ...
10
votes
1answer
755 views

What does this “… | ps `cat`” command do?

On my Internet research, I found the following command as solution to find the process name of a window: xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //' | ps `cat` I just do not understand ...
1
vote
1answer
321 views

Any command to check packets received and transmitted

Is there any command line option to check how many packets my P.C is receiving and transmitting in real time (something like top) ?
4
votes
6answers
4k views

How can I make ascii-banners from the command line?

I've seen people using the terminal command: banner. This creates big ascii-art-style text. When I try to run it, however, the terminal says it doesn't exist. Why? How do I install it? Are there any ...
1
vote
2answers
387 views

Is there a package management system for shell scripts?

Is there a package system (think npm, cpan, etc.) for shell scripts? Specifically, on Ubuntu?
3
votes
1answer
795 views

What do the numbers in the output of apt-cache policy tell us?

$ apt-cache policy pal pal: Installed: 0.4.3-8 Candidate: 0.4.3-8 Version table: *** 0.4.3-8 0 500 http://in.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages 100 ...
0
votes
1answer
2k views

Unable to run compiled files - bash: ./a.out: Permission denied. (I've tried chmod)

First of all, there are many questions like this on AU. Still, none of them solved my problem. I've compiled my C source using cc test.c, and it did generate a.out file. However when I run it I get ...
0
votes
1answer
97 views

Couldn't get desktop environment

I'm totally new to Linux. I've downloaded Ubuntu 12.10, and mounted it using virtual clone drive. I chose Demo and full Installation and on the next page I chose Help me to boot from CD and I clicked ...
0
votes
1answer
1k views

~/.profile OR ~/.bashrc OR ~/.pam_environment

Please which one of these should I edit to give me required result of the path to my programs both in normal user and as root. I have added in normal user and as root but there is error as quoted ...
0
votes
2answers
2k views

Installing netflix, terminal is getting hung up

Just got Ubuntu up and running, I am attempting to follow the steps laid our here to install Netflix via Wine. I have done the 3 terminal commands, and I believe the package has downloaded. The ...
3
votes
1answer
172 views

Why did Ubuntu try to self-destruct?

I was using Ubuntu happily for some months (almost fully updated, latest AMD driver and everything). About a week ago I started trying to install some games that I bought on Humble Bundle that I ...
10
votes
0answers
123 views

Configuring the gedit embeded terminal [duplicate]

I have two problems with my gedit embeded terminal: First my terminal line is white and black, and I really want it to be like the Ubuntu terminal line that is purple: Embeded terminal: Regular ...
11
votes
4answers
21k views

Better terminal for Ubuntu?

Suggest please a terminal application for Ubuntu desktop which meets next requirements: 1. Paste via Right Mouse Click (without showing the context menu) 2. Copy via Mouse selection. 3. Solarized ...
3
votes
1answer
14k views

How do I change the screen resolution using Ubuntu command line?

I installed Ubuntu and the resolution of the desktop is so big it only shows about 50% of the screen but is shows up normal while using command line. What would I type in the command line to change ...
1
vote
5answers
2k views

JPG batch compression & rename (find -exec, xargs, piping?)

this is my first post so I hope you'll be kind enough to forgive me if I make some formatting mistakes or else. This is one question I've had for quite some time and while looking for answers I have ...
2
votes
2answers
131 views

How to add a password option in CLI?

I've googled extensively but haven't found how to add a password option so I don't have to type it in manually. I've created the following alias: alias int='sudo service network-manager restart' ...
0
votes
1answer
266 views

Change VPN gateway with command line

Is there a way to change the gateway of an existant VPN connection with a command line? Changing the gateway value in the connection file with sed doesn't work for me. Thanks
1
vote
2answers
189 views

How can I rename a file in a different path without changing the current directory or writing the path twice?

For example, I want to rename tif/fat/tul/codes/MyCode.pl to TheCode.pl in the same directory. Currently I know these: mv tif/fat/tul/codes/MyCode.pl tif/fat/tul/codes/TheCode.pl , which requires ...
0
votes
1answer
373 views

how to add daily events via command-line?

Is there any way to add the our events from he terminal ? I know the GUI way but I want to do it from the terminal .
1
vote
1answer
172 views

Virtual terminal (CTRL+ALT+(Fx) doesn't work

I'm trying to get to any virtual terminal by pressing CTRL+ALT+F4 (for example) but the only thing I get is a black screen with the underscore blinking in the upper-left corner. The only thing I can ...
0
votes
1answer
78 views

cant install a thing! [duplicate]

OK. So when I try to install a something in the terminal, I get: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). I then try using apt-get -f install, but ...
6
votes
1answer
5k views

Why do I have no prompt in terminal on XFCE in ubuntu 12.04

I have Ubuntu 12.04 and have tried a few desktop environments. I am currently testing out Xfce. It has a terminal emulator called "Terminal". When I launch it, I just get a black screen. Xterm, ...
3
votes
1answer
55 views

Environment var _

I send a printenv command in the commandline and I see one of the variables is the following: _=/usr/bin/printenv I now do this: mo@mo-Toshiba ~/Workspace $ printenv _ /usr/bin/printenv but when ...
1
vote
0answers
167 views

`libqapt-runtime' contains empty filename error while updating

Whenever I try to update Ubuntu 12.10, it always gets interrupted by this error: files list file for package `libqapt-runtime' contains empty filename I have tried to install with apt-get as well ...
3
votes
2answers
3k views

Are these terminal commands safe for installing Evolution 3.8.0?

I run 12.04 and want to update my Evolution to 3.8.0. I found a solution and would appreciate help knowing, whether it is correct and safe. Any better solutions are welcome. I have never compiled from ...
1
vote
1answer
213 views

Rename files in group

I've folder and file structure like Folder/1/fileNameOne.ext Folder/2/fileNameTwo.ext Folder/3/fileNameThree.ext ... How can I rename the files such that the output becomes ...
3
votes
1answer
12k views

How to make terminal autocomplete when there are several files/directory?

If I have several directories, like: afoo abar sometimes my terminal will refuse autocomplete when I press tab (e.g. "cd a" then tab), and print the list of directories instead. Sometimes it even ...
0
votes
0answers
56 views

Very basic command line question [duplicate]

I'm very new to Ubuntu (and Linux). I forgot my main password and looked up how to delete it and now I'm at a root menu screen that says "-d, --delete". My question is what do I actually need to type ...
1
vote
2answers
13k views

export http_proxy: where does the proxy setting get stored?

Today by mistake I had entered the following command in terminal with incorrect information export http_proxy="http://usrname:passwrd@host:port" and then my internet connection was having trouble. ...
1
vote
2answers
189 views

How do I get python2.7 back to the command “python”?

When i do the command python i get the folowing. Python 2.6.8 (unknown, Apr 9 2013, 19:12:12) [GCC 4.7.2] on linux3 Type "help", "copyright", "credits" or "license" for more information. I want ...
0
votes
1answer
228 views

How to enter a folder with name # from the command line in Ubuntu?

I have a folder, name of my folder is #. How can I change directory (cd) to this folder.
4
votes
1answer
262 views

Finding a process's filename from its PID?

I'm trying to figure out what program keeps killing the network indicator: $ nm-applet ** Message: applet now removed from the notification area ** Message: PID 31340 (we are 28924) sent signal 15, ...
4
votes
1answer
395 views

Setting an admin user via the GUI - command line equivalent? [duplicate]

To designate a user as an administrator from the GUI, you can simply open-up that user's properties and select the Account type as the "Administrator" option. If the user already exists, what ...