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

learn more… | top users | synonyms (4)

0
votes
0answers
4 views

HTTP POST and GET using cURL in linux

I had server application in asp.net in windows in that i had a web service for that . how can i call web service in ubuntu using shell script by using cURL command
0
votes
1answer
9 views

Time set through terminal resets after reboot

I set the the time using, e.g. sudo date --set="24 MAY 2013 18:00:00" sudo hwclock --systohc --utc This worked, but upon reboot the time was back to the old value. What am I doing wrong? I thought ...
0
votes
0answers
18 views

Cannot start GDM

I am using Ubuntu 11.10. I was not able to remove a directory as root so I used the Ubuntu 11.10 install disk and chose the "Repair broken system" option. Far from repairing the system, it made it ...
3
votes
3answers
53 views

How to use wildcards for string conditionals using bash?

I want to see if a string is inside a portion of another string. e.g.: 'ab' in 'abc' -> true 'ab' in 'bcd' -> false How can I do this in a conditional of a bash script?
1
vote
1answer
23 views

Executing command line with other user

I'm struggling with a problem, i'm using Ubuntu 10.04 LTS, i have a command line "wvdial brt" wich i need to execute with every boot from my computer, i have 2 users in my computer and i have to ...
0
votes
1answer
23 views

Opening a track with Banshee

How can I open a track with Banshee using command line? Obviously banshee file.mp3 don't work. Is there another command? See what I'm trying to accomplish is to make puddletag to play tracks in ...
0
votes
0answers
8 views

rcsed command? how do i get it?

There is apperantly a command called rcsed wich check out files from RCS and opens them in editor and then checks the file in again when closing it? I have installed RCS but cant find anything about ...
0
votes
1answer
24 views

How to start GUI from command line in ubuntu13.04 server? [duplicate]

I've installed the following version of ubuntu om my machine. ubuntu-13.04-server-amd64.iso But when I switch on the computer now, I get command line; Ubuntu 13.04 ubuntu tty1 where it prompts ...
0
votes
1answer
22 views

Bash alias not found stuck on my terminal

I was trying to make my Ubuntu connect to nexus tab and used the following command lines: echo "alias android-connect=\"mtpfs -o allow_other /media/GalaxyNexus\"" >> ~/.bashrc echo "alias ...
0
votes
1answer
14 views

Shell not handling escape character spaces

Recently it seems that shell has changed how it handles spaces in parameters. It used to handle them properly (Or at least as I intended it to), but now it recognises it as a bunch of different ...
0
votes
0answers
26 views

DNS doesn't seem to work in terminal on Ubuntu 12.04?

Fairly new to Ubuntu so please tell me if I'm doing something silly. Anyway. I've been having issues with URLs not being correctly resolved in the terminal. The problem I'm currently having is trying ...
0
votes
3answers
42 views

How to backup and restore Firefox bookmarks from command line?

Is there an easy way to backup Firefox bookmarks to a file with command line. Running a find command, I managed to find this file: ...
0
votes
1answer
26 views

Can't seem to get script/cron job to work?

ive written a ffmpeg script to mass convert mkv into mp4. when i run the script as my user, and enter my password for sudo privileges it works very well from the command line. the script is: #! ...
0
votes
0answers
28 views

How to point grub to usable EFI vmlinuz files.?

On trying to install Ubuntu 12.10 Desktop amd64 to a desktop pc using a ga a75 ud4h motherboard (which is using an AMD 3870k APU with a new 1TB HDD) following the advice in the motherboard manual and ...
0
votes
0answers
21 views

how can i install gnu make 3.81 in ubuntu 10,04?

I downloaded gnu make 3,81 from http://gnu.org but i need to install it in my system 10,04 i used those commend make and make install but they are not working.
0
votes
1answer
19 views

Coloured view in vim editor not working in ubuntu 12.04

My Vim editor version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:19:52) When I open a file(shell script, etc) with it, all the text are on same color. It's not user friendly. How can ...
0
votes
0answers
15 views

Xubuntu Terminal ignores login shell

I tried to switch to zsh but Terminal app still loads bash when started. Fiddling with "run as login shell" didn't help. Here's excerpt from /etc/passwd $ grep synapse /etc/passwd ...
1
vote
2answers
21 views

How to pass text file contents as argument to console application?

What is the command line to run a console application with input argument fed from text file? text_file: This is a simple text file with characters and other symbols including tabs and new lines ...
1
vote
1answer
25 views

Why can't I suppress this enumeration error?

I just installed Ubuntu Server 13.04, haven't done any updates nor installed any software, and I'm getting this error: hub 2-0:1.0: unable to enumerate USB device on port 6 And this keeps popping up ...
0
votes
5answers
37 views

Copy files from a directory to a sub-directory (excluding the sub-directory itself)

I have created a folder(directory) named 'Parent' which contains several files(namely 'file1', 'file2'...'file100') and a sub-directory named 'Child1'which itself may contain files and folders . ...
1
vote
2answers
28 views

Why won't environment variables added to .profile show up in screen

I'm running Ubuntu 12.04 I added export LD_LIBRARY_PATH=/home/dspies/workspace/hdf5-1.8.11-linux-shared/lib to .profile but when I log in and open terminal and put echo $LD_LIBRARY_PATH there's ...
1
vote
2answers
44 views

What is sed and what is it used for?

I've been seeing a lot of sed lately, and I find it to be a rather confusing command. The manpages weren't particularly helpful, but I do know that it can be used for parsing the output of other ...
0
votes
2answers
20 views

Problem with update from terminal [duplicate]

I am trying to get some update from my terminal but I get a bug: ubuntu@ubuntu-Inspiron-N5010:~$ sudo apt-get update [sudo] password for ubuntu: E: Could not get lock /var/lib/apt/lists/lock - open ...
1
vote
2answers
44 views

Can't download Gnome 3 for Ubuntu 12.10

How can I install Gnome 3 on Ubuntu 12.10? I tried to apt-get install gnome-panel, but it errors out because of unmet dependencies, even if I pass -f: kanha@kanha-Aspire-5580:~$ sudo apt-get -f ...
0
votes
2answers
37 views

What's the command to install the build-essential package?

What's the command on 32-bit Ubuntu 12.04 for installing the build-essential package and linux headers generic package?
0
votes
1answer
33 views

How can I run a software package I installed called 'openscam'?

I installed a software called 'openscam' but I cannot find its launcher. It's installer is a .deb file, after I clicked in it, Ubuntu Software Center installed the software, and finished it, but I ...
0
votes
0answers
9 views

How to solve “Error:Missing Dependency” when installing java on uxterm? [closed]

when I login to root and type this yum "localinstall jdk-7u21-linux-x64.rpm" a many messages pop up on my uxterm saying "Error:Missing Depency".What should I do? Please help . Thank You
1
vote
3answers
52 views

App like DOS navigator for Ubuntu? [duplicate]

Dos Navigator was a very popular file manager for DOS / old Win. Something like Like Norton Commander, but waaay better in terms of feature support, and especially usability/UI. I was wondering if ...
2
votes
1answer
62 views

Automatically cd into directories?

In the terminal You use cd ../../........ to get to wherever you want, But I am lazy, I am wondering if it is possible to automatically cd into the directories if the command is simply the directory. ...
0
votes
2answers
33 views

How do I change the location in the terminal with a custom string?

If I have a really long path to a folder, and I just want the string 'longlocation' to replace it in the terminal, I know I can edit the .bashrc file and add this command: alias changelc='export ...
1
vote
1answer
23 views

Command fails to execute in upstart session job

This command: mongod --fork --dbpath ../data --smallfiles --logpath ../data/mongo.log runs perfectly from terminal, while in directory /mongo/bin/ But, when I use same command and directory for ...
0
votes
1answer
19 views

Ubuntu two users logged with same name

I have a server and a ssh session, but it seems like I've pressed something and it was a shortcut so currently, when I do w it shows my other session (which I don't know how I opened). I closed my ssh ...
0
votes
1answer
17 views

Create folders in remote server after ssh login using commands

I need to create folders on the remote server, i try to ssh to the server and then create folders. The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
0
votes
0answers
14 views

Open Text Summarizer in Java

I am using Open Text Summarizer on Ubuntu, and it works fine from my terminal... To use it I have to run the following command in terminal: ots -r 5 /home/arslan/tempEclipse.txt Now I want to ...
0
votes
1answer
30 views

How to add commands to terminal

how do I teach a new command to the terminal? I'm a long time Windows user and how I usually do this in Windows is to edit the environment path and add the file path to the command that I want to use. ...
0
votes
0answers
22 views

nmon and netstat

I'm currently using netstat -patc or even netstat -vpatc. However, watch is also useful to monitor which programs are using which bandwidth. I like the output of nmon as well, but wasn't able to get ...
1
vote
1answer
38 views

How to run a command with one click, preferably from unity's launcher

I'd like to run this command without having to open up terminal every time. sudo openvpn --config /home/ubuntu/Documents/vpnbook/vpnbook-euro2-udp25000.ovpn --auth-user-pass ...
1
vote
1answer
29 views

connect to internet through 3g dongle in ubuntu server

As the title says, can i connect to internet through 3g dongle in ubuntu server fresh installation Any terminal / manual way? My purpose is to get connection using dongle in ubuntu server minimal ...
0
votes
1answer
27 views

make terminal show up when called in a shell script

I am writing a shell script that will execute some application for a specific mime type, and it does it correctly, but when I have echo in my shell script, I dont see any terminal with the echoes ...
1
vote
2answers
90 views

'root' user does not exist?

When I run the su command, the terminal returns: user 'su' does not exist.How do I add the root user? Can anyone answer this? I tried sudo adduser su, but after this, I get the same problem.
1
vote
1answer
22 views

bzcat to delete compressed file

By default, bzcat (or, equivalently, bzip2 -dc or bunzip2 -c) will keep the source (compressed file) and not delete it. Is there a flag or other means (besides thereafter manually rming the file) to ...
1
vote
0answers
93 views

Crontab not running a script

I have set my crontab to run 2 script. the first script is not running. I set up on the crontab -e not sudo crontab -e The error i have is this ...
0
votes
2answers
100 views

Copy file to External Hard Disk

My UBUNTU (desktop part) do not boot completely because of low disk; When I log-in to terminal by username and password, try to copy some file from /home/UserName/Desktop to my external hard disk by ...
1
vote
1answer
55 views

Unity progress bar for gnome-terminal?

One of my favorite features of unity is the progress bar the launcher overlays on the icons for various programs like the file manager, or firefox. Gnome-terminal does not have a progress bar. What do ...
1
vote
1answer
23 views

Using QQ: How can I make Byobu the default terminal [duplicate]

I really like the Byobu terminal better than the default Gnome terminal that is installed with Ubuntu. How can I make Byobu the default terminal - for example, when I hit control/alt-t I'd like to ...
0
votes
2answers
41 views

How to copy folders thru terminal [duplicate]

I want to copy all my hard disk on /dev/sda1 to my external hard disk on /dev/sdb1 but thru terminal because when i'm using Nautilus the computer freezes donno why i read this article but it explains ...
0
votes
0answers
23 views

I cannot acces terminal in chrome os to reinstall Ubuntu?

I installed Ubuntu & upgrade after to 13.04 , but after restart went again in chrome os. After that I discovered that both was o the same partition. What I did : 1. I restart again, and try in ...
1
vote
0answers
65 views

How to install Ubuntu 12.04 from terminal/tty1?

I'm not very familiar with Ubuntu, hope to not bother you too much. I had Ubuntu 12.04 LTS on my HP Pavillion dv7-2005eg, after not being able to fix the Intel/AMD hybrid graphics disaster in 12.10. ...
-1
votes
0answers
34 views

Is there any way to repair Terminal? [closed]

My terminal in Ubuntu 11.04 LTS does not recognize any locations(even copy and pasted) and cannot open any file(even copy and pasted commands). Can anyone help me find a way to repair this?
1
vote
2answers
15 views

Guake no longer showing desktop when opening

It used to show the desktop as a background when I open it, but for some reason it's just overlying (so the top most window is now the background). Is there a setting somewhere to prevent this? ...

1 2 3 4 5 65