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

learn more… | top users | synonyms (5)

1
vote
1answer
426 views

How should I remove or empty these files or folders?

Below are the instructions that I need to carry out: 1. Navigate to the Symantec AntiVirus virus definitions directory (default location is: `/opt/Symantec/virusdefs`) in the terminal. 2. Remove any ...
7
votes
4answers
40k views

How do I navigate between directories in terminal?

I am new to Linux and Ubuntu and have tried changing to folders/directories with some difficulty. Could someone explain why the following commands failed to change to the desired target ...
0
votes
0answers
39 views

How do I compile kernel modules? [duplicate]

Possible Duplicate: How do I install development tools for 12.10? I need to compile kernel modules under Ubuntu version 12.10 What is the build command please? (I am new to Linux and ...
5
votes
1answer
4k views

Remove full path from terminal

Is it possible to show in the terminal line only the current directory, not the whole path from the home folder? I have now this: ilya@ubuntu:~/Dropbox/Web/folder/folder/$ and it takes almost all the ...
3
votes
3answers
14k views

How to get separate with space or tab in the awk example

while I'm playing with awk I came to execute like ls -la >> a.txt ; awk {'print $5 $1'} a.txt ; then its giving output like 53277-rw------- 52347-rw------- how can I get space between ...
0
votes
2answers
9k views

Ubuntu is booting into terminal instead of GUI Interface [duplicate]

I recently upgraded my computer to Ubuntu 12.04 from 10.04 and it started messing up, as in, freezing up on certain programs and then randomly logging out and going to the log-in screen. I've done ...
2
votes
1answer
714 views

Terminal tab autocompletion like in Mac OS

I could not find a screenshot, but i've seen a colleague of mine doing this: he has a terminal open in his MacBook Air, starts typing a file name, presses Tab and is given a list of suggestions, like ...
3
votes
2answers
22k views

How do I open Ubuntu Software Center via Terminal?

I am a newbie in linux and I don't know how to open the Ubuntu Software Center via Terminal!! Please help
5
votes
2answers
11k views

Can I verbose output during a copy command processing?

Situation: If I entered a copy command like cp -rf /src/ /dsc/ then I am waiting several minutes for copy large directories. I forgot to put -v flag to verbose an output, Can I do it during copying?
2
votes
1answer
108 views

Why command line completion doesn't work anymore with “:>”?

I've got a file called (for example) myApp.log. On a 12.04 system I could enter :> my followed by the tab key and the rest of the filename would be filled in (or if more than 1 file with a ...
1
vote
1answer
1k views

Terminal not configured - not showing folder, no tab completion, etc

I access via ssh (command line) a linux machine and the user is not configured to do anything. Backspace does not work, there is no tab completion, the current folder does not appear in the terminal ...
0
votes
1answer
341 views

Transparency problem with the terminal!

Transparency sliding bar is at full (Option Available in profile preferences). Even then terminal has solid color. It was working well a day before. How to roll back?
2
votes
3answers
814 views

How do you call NetBeans installed by a .sh file from the Command Line?

I installed NetBeans 7.2.1 from http://netbeans.org/downloads/start.html?platform=linux&lang=en&option=all via the .sh file but I deleted the launcher from the main menu (alacarte) because I ...
1
vote
1answer
515 views

Configuring Proxy on 12.04 without gedit installed

New to Linux and the command line, so go easy on me please. I've installed 12.04 and at point of install didn't add the proxy in. I now realise that was a mistake and rather than reload the OS I'd ...
1
vote
1answer
347 views

No user/host info in terminal prompt

I open terminal and see only this: $ as to where I expect it to look like user@host:~$ screenshot here Do you have any idea, what I need to do to get the regular shell prompt back? I am using ...
0
votes
1answer
1k views

SSH Commandline - Ubuntu x64 dedicated server raid-0 array creation LOG [ After reboot : Disk /dev/md127 doesn't contain a valid partition table ]

I followed this tutorial but failed as it seems, i tried for a couple times, here i throw the towel: ht-tp://www.rustyrazorblade.com/2012/07/setting-up-raid0-in-ubuntu-12-04-in-aws-high-io/ ...
4
votes
1answer
5k views

How do I fix a “Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files.” error?

Always when I install something, I get the following error multiple times: Unknown configuration key 'foreign-architecture' found in your 'dpkg' configuration files. This warning will become a ...
0
votes
0answers
792 views

Ubuntu 12.10 Dual Monitor setup - ATI Radeon 4000series. Virtual size of 800x600 is actually trying for 2 [duplicate]

I have Ubuntu 12.10, ATI drivers installed and working(not an easy task). I am trying to dual monitor out. I have a 26" LCD TV for monitor one running 1920x1080. I have mirror off, and have tried ...
1
vote
2answers
367 views

How can I only show week day and date in my gnome shell clock?

I had to reinstall Ubuntu 12.04 on my desktop pc after something went awry while trying to update to 12.10. Before reinstalling, my clock had the following format: Wed 13:21: And now, this is what ...
3
votes
1answer
628 views

How can I remove one of the two MATE panels without using the GUI?

On a default installation MATE sets up two panels (top and bottom), I'd like to have the top panel removed using mateconftool-2 or another tool using the command line (Terminal). I can't find how to ...
39
votes
5answers
9k views

When using sudo with redirection, I get 'permission denied'

When using sudo to allow edits to files, I regularly get 'permission denied'. For example, my mouse is jittery and sluggish, so I want to disable polling: sudo echo "options drm_kms_helper ...
2
votes
1answer
62 views

What is the file extension for things in the /bin folder?

I was looking at stuff like /bin/bash, and I wanted to make my own file like that that's full of aliases, but I need to know the file extension. Please tell me.
3
votes
1answer
314 views

How to Set a Value of Kconfig Option

I want to change the value of a specific CONFIG_... parameter (in here: CONFIG_ATH5K_DEBUG) inside Kconfig option. I use make menuconfig command, press / and type CONFIG_... to find its location. ...
2
votes
1answer
100 views

incorrect work gnome terminal

I use at work Ubuntu Desktop 12.04. 80% of the time I spend in the terminal. After switching from the putty on gnome terminal, I was unpleasantly surprised to work with some devices (eg Extereme ...
8
votes
2answers
2k views

meaning of “'” (apostrophe) in terminal commands

For some weird reason, I tried "'" as word separator in identifiers, as in: $ export foo'bar=1 > > ^C $ The result is as shown above, id est the prompt changes to ">" and the system ...
1
vote
2answers
1k views

Why could not I export variables permanently?

In order to export variables permanently, we can write the export command in the following files: ~/.profile ~/.bash_profile /etc/profile In my case, ~/.bash_profile does not exist, and therefore ...
1
vote
0answers
809 views

where i can find nas share drive nautilus mounted in terminal

Exactly like the title, I managed to open smb nas share from nautilus and bookmark it or map it for future access. Now i'd like to access it using terminal. I tried to find it under /mnt or /media ...
1
vote
1answer
910 views

Unable To Install Wine [duplicate]

Possible Duplicate: Installing Wine on 64 Bit I am trying to install Wine 1.5, but I keep getting errors. I am trying to install via terminal. I have Ubuntu 12.10 x64. Here are the steps I ...
6
votes
3answers
14k views

How to make a file (e.g. a .sh script) executable, so it can be ran from terminal

I have a script.sh file and type of this file is shellscript file. I want to make this file as application/x-executable file. How can I make it?
1
vote
1answer
3k views

run vlc without showing window

I'm using vlc to capture an image from my webcam by running the following command: cvlc v4l2:///dev/webcam --no-audio --run-time 5 --scene-path $PWD \ --scene-replace --scene-format png ...
4
votes
2answers
1k views

Best book/source to learn the unix commands

So I was intern at this company wherein they'd use just putty. Now I've never worked with unix commands, apart from the basic , compile code , run C code. But now I would love to know all the things ...
26
votes
1answer
3k views

How do I diff the output of two commands?

I had imagined the simplest way to compare the contents of two similar directories would be something like diff `ls old` `ls new` But I see why this doesn't work; diff is being handed a big long ...
1
vote
1answer
90 views

Are Windows partitions gone?

I had Windows 7 on my laptop (factory setting), because of some performance issues, I decided to use recovery options to restore it to its factory condition but I don't know what has happened or what ...
0
votes
1answer
474 views

Why dpkg says 'illegal package name in specifier' when I try to remove a package?

Whenever I type into the terminal the command: sudo dpkg -r '/home/brentonhorne/Downloads/virtualbox.deb' I receive the error: dpkg: error: --remove needs a valid package name but ...
6
votes
2answers
365 views

How to use sudo with pipelines? [duplicate]

Possible Duplicate: sudo & redirect output Let's say I want to add some line into /etc/profile. I try: $ sudo echo "something" >> /etc/profile bash: /etc/profile: Access ...
1
vote
2answers
251 views

How do I find similar commands in terminal? [duplicate]

I know about the "clear" command but I accidentally typed "cls" instead. I then received a message that said. No command 'cls' found, but there are 18 similar ones so what is the significance of ...
1
vote
0answers
38 views

CLI keyboard shortcuts/ commands not working for non-Root users

When I switch user from Root to someone else, I'm unable to use keyboard shortcuts, like tab for completing file and directory names, or the up arrow for previously used commands. How can I enable ...
1
vote
2answers
1k views

Are there any good command line tools for compressing/decompressing snappy? [closed]

I have some snappy files that I'd like to be able to compress/decompress on the command line. I didn't see any obvious tools, is there's something standard that people use for snappy?
0
votes
1answer
217 views

Restart memcached and a java server using script

As of now, I am using the following commands to start, kill, restart my application on ubuntu. ps -ef | grep memcached ps -ef | grep java kill -9 "pid of memcached and java" sudo ...
3
votes
1answer
176 views

Install many fonts at once [duplicate]

I have about a hundred fonts that I need to install. Manually right clicking every font file and clicking install, then selecting "personal" vs "system" in a dialog that appears, and then closing it ...
0
votes
1answer
440 views

Get back to gnome/Enlightenment from the command line

So say I accidentally hit CTRL+ALT+SHIFT+BACKSPACE and drop to the commandline from my nice clean engligntenment interface. How do I then get back? I've tried startX, Xwindows, gnome but none of ...
2
votes
3answers
2k views

How do I run a script at start up?

I know that this is probably pretty easy to do, but I'm not a Linux person (I'm trying to learn more). I have a script in a folder: /path/to/my/script.sh I need this script to run every time the ...
3
votes
2answers
259 views

Retrieving email backup and mozilla bookmarks from command line

I can't get past the logon screen after upgrading to 12.04 so I want to get a email backup and mozilla bookmarks before reinstalling. Can someone help me on this. I'm getting permission denied when ...
3
votes
2answers
456 views

How to monitor website stats from the terminal?

is there any way to monitoring the stats from my own website .. like example.com .. just via our terminal without installing plugins .. so we can see real time visitor and bots came and go at website ...
1
vote
1answer
71 views

How to default terminal startup?

I know that you can show the process of starting up by pressing alt + space during startup how do you have that as default on your computer? Also i would like to see it on shutdown if possible.
4
votes
2answers
3k views

Terminal limits scrolling

I have a running log, it outputs a lot to the terminal. Unfortunately, when I try to scroll up and view older output, it appears there is a limit. And I am unable to scroll past a certain point. On ...
2
votes
1answer
651 views

Save last “copy” from clipboard to file

I am able to copy a massive string of text but unable to paste it anywhere without the program crashing. So, I wonder: How can I fetch it from the clipboard via CLI and save it to a file instead? ...
0
votes
0answers
1k views

Errors in Terminal trying to install Wireless Drivers

I'm trying to install the Linux drivers for a D-Link DWA-121 USB wireless adapter, found here: http://www.dlink.com/ca/en/support/product/dwa-121-wireless-n-150-pico-usb-adapter. I'm following the ...
3
votes
1answer
167 views

Daemon for moving files between partitions?

I have a system with Ubuntu installed in 20GB and windows in 100 GB, two partitions - each of 100GB using NTFS. While using DC++ (multiple downloading of big file) I used to get message that system is ...
3
votes
2answers
6k views

Terminal warning when opening a file in gedit

I am getting the following error when running this command line: sudo /etc/ddclient.conf I installed ddclient by : sudo apt-get install ddclient It does open the editor with the file in question, but ...