The command-line interface (CLI) is a way of interacting with the system and software by typing text commands into a terminal.

learn more… | top users | synonyms (4)

1
vote
3answers
969 views

Connecting to Internet Through Another Computers Connection

I have an old laptop running Ubuntu 10.10 (server edition) that I want to connect to the Internet, but it's Wireless card isn't working properly, so on the recommendation by a friend, I tried to ...
2
votes
1answer
678 views

How to enable my terminal's ctrl + shift + c?

My terminal cant use Ctrl + Shift + c or Ctrl + Shift + v since I setup something. What can I do to get those shortcuts working again? Thanks.
2
votes
1answer
856 views

Add terminal to panel

Is there any way to pin the terminal to the panel? I'm monitoring a server via top and would like to have some of the information (at least the first row e.g. the load average) always on my active ...
0
votes
2answers
495 views

How can I clear the console window after grep fills the screen?

Is there a way to clear up what is displayed on the shell console (in ubuntu linux) in just a single key or two? When I get flood of lines from grep and that exceeds the height of the window, I want ...
2
votes
2answers
2k views

How can I disable/modify the SSH login banner for a given user?

How can I disable/modify the SSH login banner for a given user?
9
votes
2answers
13k views

How to remove Postgres from my installation?

I have ubuntu 9.10(karmic), and when I attempted to install a new program, the postgres was installed as a dependency of that program, no problem at all if the installation occurs with success, but ...
4
votes
2answers
1k views

How do I turn off font pixel antialiasing only in Terminal?

For programming, I like to turn off font antialiasing (i.e. select the Monochrome option) because it makes the terminal text look a lot sharper at smaller font sizes. But then everything in the web ...
0
votes
1answer
180 views

Determining the geometry parameters of a running terminal [duplicate]

Possible Duplicate: Get Window size in shell I have a terminal running on the desktop and I would like to determine it's size and coordinates. I'd like to get the parameters in the format ...
4
votes
2answers
924 views

cat command - will it overwrite?

In order to pass the contents of one file to another we can, for example: cat ~/temp_minhakey.pub >> ~/.ssh/authorized_keys Let's say, we need to append more content to authorized_keys, but ...
3
votes
2answers
4k views

Forceably set permissions when running rsync

Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job. ...
2
votes
2answers
310 views

Problems installing packages from downloaded files using terminal

I am facing Problems installing packages from downloaded files using terminal. for ex - I downloaded goobox-2.2.0.tar.gz , i extracted using archive manager. Then i opened terminal in folder and typed ...
4
votes
2answers
279 views

Is there a way to check when the OS was installed?

I was wondering if there is a way to check the date the OS was first installed. Or maybe when it was first booted. I can't remember when i did d installation n i was just wondering if there was a way ...
3
votes
3answers
1k views

Activating broadcom wireless drivers in CLI

The wireless card as identified by lspci: Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02) I'm new to Ubuntu and ...
2
votes
1answer
511 views

How to exclude a subtree from the find command

So I'm trying to find all the mercurial repositories in my home directory $ find ~ -name ".hg" -or -name ".git" This works fine, but it finds a lot in the ~/.local/share/Trash subdirectory How do ...
5
votes
2answers
2k views

Find package name using terminal

Hello I want to remove software (for example transmission) using Terminal. How can i find the package name for the software ?
1
vote
1answer
234 views

Using recursion with a command loop. What's the syntax?

I use the following loop to do .flac --> .mp3 transcoding: for file in *.flac; do $(flac -cd "$file" | lame --preset fast extreme - "${file%.flac}.mp3"); done The directory, of course, must contain ...
4
votes
4answers
10k views

Stuck on GRUB Command Line

I am running Natty Alpha 3. I used Update Manager to install something (not sure what it was), then I restarted, but instead of listing all the kernels, it gave me a command line. I don't know what ...
5
votes
1answer
205 views

How can I use apt-get to list all packages written in C?

Is there any way I can use apt-get to give me a list of all packages written in C, or having C modules in them?
1
vote
1answer
154 views

How to detect another sudo process?

Whenever a command is "unable to lock the administration directory", is there any way to easily detect what process is running that is using sudo?
8
votes
3answers
8k views

How to write terminal contents into a file

Here's my situation: I open terminal and run program which displays live feed in terminal (text) what changes every second. Only "Enter" key can be used while this program is running (it exits that ...
10
votes
5answers
5k views

How to create a .torrent using the command line?

I'm using mktorrent, but I'm having problems with it since it doesn't hash the files in the directory for some weird reason... I'm looking for a replacement specifically for command line
5
votes
2answers
377 views

Using the SHIFT key in Terminal

I am very new to Linux, please excuse me if this is a very simple question and point me to the things I need to read. But I've been unable to find an answer so far. In Terminal, when I am trying to ...
1
vote
1answer
2k views

How can I restore my computer to factory default using the command line? [closed]

How can I use the command line to restore my computer to factory settings?
1
vote
1answer
175 views

Mouse, Mx Revolution Search to Paste Highlighted Text

Looked into a few guides and all of them seem dated. All I really want is to be able to map the 'search button' -> XF86Search to middle mouse click. Or at least replace the 'paste highlighted text' ...
2
votes
1answer
2k views

Opening a terminal on startup

Is there any way for me to force a brand new terminal to open upon starting up Ubuntu? I'd like to just get going in a new terminal every time I restart without having to click and open it. I've ...
2
votes
2answers
333 views

How to mount a ntfs disk in the text mode(from command line)?

In the gui, mode to mount a disk , I just click the name of the drive in the menu "place", and the disk gets mounted. However, can I mount that drive easily in the text mode (from terminal or command ...
5
votes
3answers
899 views

How do I Copy one file to many subfolders?

It sounds like a simple question but if it was I wouldn't be asking it. I can obviously do this by opening all the folders in nautilus and pasting each one individually but the computer is the robot ...
1
vote
3answers
181 views

How to install librsvg2?

How do you install libsrvg2 with the apt-get install command? I've tried the following: root@ubuserver:~# apt-get install librsvg2-bin Reading package lists... Done Building dependency tree ...
2
votes
1answer
290 views

Will 11.04 support Gnome SHELL? [duplicate]

Possible Duplicate: Will I be able to switch to Gnome-Shell in 11.04? I was just wondering if the GNOME SHELL (Not Gnome 3 and GTK3) will be in the ubuntu repos in 11.04. I know it is in ...
3
votes
3answers
367 views

How can I distribute a file across multiple systems in a network?

I have more than 60 ubuntu systems in my network. I want to copy files from one system to other ubuntu systems. All IP addresses are listed in a text file. So what command can I use to complete the ...
1
vote
2answers
467 views

Can shell (command line) display GUI generated commands?

Can the shell (command line) display GUI generated commands? Example: Go to: Applications => Programming => Netbeans When Netbeans starts I want to see in shell $ netbeans / gksu netbeans ...
1
vote
2answers
442 views

Add Progress Bar

I would like to include a zenity progress bar for this part of my script: zenity --question --title "GUI" --text "Sync Music to iPad?" if [[ $? == 0 ]] ; then scp -r "$FOLDER" ...
4
votes
2answers
290 views

Combine Two Commands In a Script

I want to put two commands together I need the script to login: ssh root@192.168.0.188 Then I need to the script to run (while logged in to root@192.168.0.188 via ssh ): find ...
5
votes
6answers
2k views

how to shift applications from workspace 1 to 2 using command

Is there any way I can switch the application running in one workspace to another on command line? I use Ubuntu 10.04 UPDATE1 As per suggestions below wmctrl -l 0x02200003 -1 bond Bottom ...
18
votes
2answers
12k views

How can I restart compiz from tty? (& Related, how can I set up a fallback WM?)

So I'm testing Natty, and Compiz keeps crashing on me. I expect this sort of thing from alpha software, of course, but it doesn't always give me the option to restart compiz, and for some reason ...
11
votes
3answers
1k views

Multiple shells in one window

The default behavior of my shell window is to create tabs. I can switch between those tabs but only one tab can be visible at a time. Is it possible to open multiple shells in the same window? E.g. ...
16
votes
5answers
1k views

How to open a file manager of the current directory in the terminal?

When I work in terminal, sometimes I want to open the current directory in a GUI file manager. And then to click the items in the window to run the application. How can I do this?
8
votes
3answers
2k views

Bash command history not working

The command history between sessions is not getting saved. I'm using guake and the history for the session is working fine. I noticed that .bash_history had some commands I executed in sudo -s mode ...
3
votes
2answers
456 views

How do I know if apt-get is going to do a partial upgrade?

I often update my system with apt-get update && apt-get dist-upgrade. This caused me a few problems with natty and nvidia drivers. Someone on IRC told me that's because I did a partial ...
4
votes
2answers
5k views

How do you set the title of the active gnome-terminal from the command line?

Is there a way to set the gnome-terminal title from within the terminal itself without having to right click on the tab. Something like: active-terminal --title "Foo" There was a related question ...
1
vote
1answer
86 views

Can I get application changelogs using the terminal?

In order to look at changelogs for recently updated applications, I use Synaptic. Is there a way for me to get specific application changelogs using the terminal?
2
votes
1answer
388 views

Is there a way to grep the gnome-terminals history?

Is the terminals output (i.e. not commands) history hiding somewhere that lets me do something like.. grep "foo foo \d{5}" ~/.terminal I'm aware I can simply pipe stuff to grep, or save it to a ...
2
votes
3answers
233 views

Teminal non-responsive on load, can't enter anything until CTRL+C

I have an issue with terminal in Ubuntu 10.04. When I launch it, it hangs, like this: I cannot do anything until I press Ctrl + C: I cannot remember when this started. What can be wrong? Looks ...
6
votes
1answer
6k views

How do I start “Ubuntu classic desktop” (no effects) from the command line

I am able to run sessions over an ssh connection but I rather use the "Ubuntu classic desktop (no effects)" version on Ubuntu 11.04 instead of the new Unity since I don't have 3d support on the laptop ...
1
vote
3answers
4k views

Replace string in bash script

I tried the following command in my script: find=grep "$jasper" jasperreports.properties | awk -F"reports/" '{print $2}' Example output: maps I want to change this output to something else, e.g. ...
14
votes
2answers
2k views

What does “%U” mean when calling a command?

When editing the Applications menu, I see for some applications, their commands have “%U” such as "gedit %U" and "gnome-mplayer %U", but others don't such as "gcalctool". I was wondering What“%U” ...
1
vote
0answers
419 views

Copy directory to external HDD [closed]

i'm trying to copy a directory to external HDD- i mounted the device and then typed : cd root tar -cf - * | (cd /mnt ; tar -xpf -) i got this error message: "cowardly refusing to create an empty ...
5
votes
1answer
839 views

Command to determine whether a fullscreen application is running?

I have a small shell script that plays a little jingle and displays a notification whenever I get a new email. The problem is that this shell script can get invoked anytime - including when I'm ...
1
vote
2answers
88 views

Changing from one file to another

I'm told to go to /home/jbander/Downloads, so how do I do that, I assume you do it in terminal but what do you do next, I can get to home but that is it. How do I go from one directory or file or ...
1
vote
1answer
1k views

Can I modify power-management settings on a laptop running Ubuntu Server?

It's my first time running ubuntu server and I'm trying to figure out a way to prevent the machine from going into suspend mode (I'm guessing) when the Lid is closed on the Laptop. Is it possible to ...

1 54 55 56 57 58 65