0
votes
2answers
25 views

Question about lynx text browser

When I go to visit this url https://github.com/search?q=jquery+stars%3A>10+forks%3A<10&type=Repositories using this command for lynx: lynx -accept_all_cookies ...
2
votes
0answers
19 views

Remove (or automate) username and password from command-line installation [duplicate]

I have a command line installation of Linux: How do I stop it from asking me for a user name and password so it automatically logs in without a username and password? If you can't remove the ...
1
vote
1answer
52 views

Zenity from command line Linux installation

I have a command line installation of Linux, i.e. when I was installing it, I chose to install a command line version. I want to make use of zenity from the command line to popup dialog boxes etc. ...
0
votes
0answers
24 views

Can't start Byobu?

I can type this command byobu on the terminal and Byobu will start but when I click on the Gui icon it starts and closes fast. What I did before that is enable autolaunch and then disable it I thought ...
2
votes
1answer
44 views

How to do bonding in ubuntu 12.04 in vmware workstation?

I followed process for bonding which is given on this site: https://help.ubuntu.com/community/UbuntuBonding but output is $ cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 ...
0
votes
0answers
36 views

I've wiped my hard drive, can't install ubuntu 12.04 (graphical error?)

I'm trying to install ubuntu 12.04 onto my laptop. I have it on a USB, from the ubuntu site. I deleted the previous partition table using GParted on a separate usb. It is completely unallocated. ...
2
votes
1answer
41 views

How do I pass command line parameters to executables run from Xwindows?

Running Ubuntu 12.04.3 LTS In terminal mode executable would be run as: ../xpdp1 -i ../inp/maxwello.inp Is there a way I can click on the xpdp1 executable in Xwindows and somehow pass the -i ...
1
vote
2answers
119 views

How can I check disk space used in a partition using the terminal in Ubuntu 12.04 LTS?

I am using Ubuntu 12.04 LTS and I was wondering if there is a command that can tell the space used in a partition using the terminal. Like I want to use the su command to change to a user called admin ...
0
votes
0answers
40 views

Ubuntu 12.04 starting on terminal

Well, today i started my ubuntu 12.04 laptop but it doesn't load!!!! It ends up in a black screen(terminal) with my user name asking for my user and password i press startx and it says the program ...
3
votes
1answer
78 views

PATH variable is reseting itself

Every time I close my terminal and reopen it, simples command(e.g. ls) doesn't work. It shows the following error, irfan@irfan-Y500-Elementery:~$ ls Command 'ls' is available in '/bin/ls' The ...
0
votes
0answers
85 views

AWS Elastic Beanstalk Command Line Tool setup

I have the AWS Elastic Beanstalk Command Line Tool running on my Ubuntu 12.04 LTS Virtual Machine but I can only get it to work if i set the location of EB to the exact website folder I am going to ...
1
vote
1answer
53 views

How to check if a restart of open-iscsi was ok

I am working on a bash script to connect a iscsi initiator to a target. After I have edited the iscsid.conf in the initiator I have to restart the open-iscsi with the command: service open-iscsi ...
0
votes
0answers
27 views

My desktop is gone, replaced by low graphics problem

I've been having a lot of problems with the Ubuntu 12.04 lately. First, I should preface the fact that I am not computer savvy, and that I bought this computer used, and therefor was not the ...
0
votes
1answer
83 views

Executing C++ program on Geany

I recently installed Kubuntu 12.04 LTS and I'm fairly new to Geany. I've used it on other computers but never installed it myself until now. Now, I have C++ code that I've run on other machines (also ...
0
votes
0answers
28 views

Terminator - Bash character encoding - problem visualizing content of some files

I'm using Terminator to manage several bash shells. If I print the content of some files, some characters are bad displayed. Even if the character encoding is setted to UTF-8. Below there is the ...
1
vote
1answer
27 views

Simple: check if volume group is found with a if

I am working on a script to check if volume group vg0 exist. The problem is that it return Found even when I delete the volume group. So very unsure what is wrong. #!/bin/bash if vgdisplay | grep ...
0
votes
1answer
54 views

Bash script fault creating mdadm array

I am working on a script to create md1 array, first to check if the array exist if not it will create it. I get command as command mdadm not found and a few others. The script wont run. ...
0
votes
0answers
81 views

MAC OSX 10.9.1 can not detect a specific directory created in Ubuntu 12.04

I created a directory on an external hard drive, named "All_Movies" using my laptop which has ubuntu 12.04 installed. This directory is pretty large(almost 560 GB) because of a lot of files. Now, ...
0
votes
1answer
48 views

How to check if last command succeeded and make that command auto accept prompts?

I am working a script to create a raid5 array. The question is how to put the command in a if (to see if the command succeeded), and when the script ask to continue creating array it will auto say ...
0
votes
2answers
45 views

How to get the cpu utlization percentage for each user in ubuntu by a command

I've typed this command to get the memory usage for each user : ps aux | awk 'NR>2{arr[$1]+=$6}END{for(i in arr) print i,arr[i]}' I want to know if there is a command or a way to get the cpu ...
0
votes
1answer
50 views

How to store the array length in a variable in bash scripting language

I stored some information about the system in an arrays .. and I tried to store the length of an array in a variable then print the value of the variable on the terminal , but there is no output! ...
0
votes
2answers
95 views

How to split string in bash and store the tokens in array

I wrote this script to store some information about my machine such as the users and the running processes . I tried to store the retrieved data into an array. To test array I printed the length of ...
2
votes
1answer
27 views

How to list all the PIDs and names of all the runing processes

I know that there is this command : ps aux to get all info about the running processes .. but I need only the names and ids for these processes , is there any command can list the processes ids or ...
1
vote
1answer
33 views

How to count the total number of the opened files by the users and processes on my machine

I used this command to display a list of all opened files of the current user on my machine : lsof -Fn -u teeba| sort | uniq | grep /home The result was : I want to know the total number of the ...
4
votes
2answers
154 views

How to use free -m to get memory usage for all users

I typed the free command to get the memory usage as follows : free -m output: I want to use this command to get the same info but for all users for example : I used this command .. because ...
0
votes
0answers
16 views

Terminal wont allow me to do sudo commands [duplicate]

When I attempt to run: sudo apt-get install (place any program package name here) I receive the following: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: ...
0
votes
1answer
119 views

how to get cpu usage percentage on ubuntu

I've typed this command to get the history of cpu usage : dstat -ta --top-cpu and got data as the following : my question is what type of data from the previous result should i take to compute ...
0
votes
0answers
39 views

No internet connectivity in command line ubuntu

i am beginner and I have installed command line ubuntu 12.04 and upgraded it to 12.4.3.Then I installed KVM as I want to install 2 VM's and connect them to physical network.The problem is when I ...
2
votes
1answer
48 views

how download mails folder from command line?

I want to download mails (batch download) i have in the "sample" folder from my yahoo mail to local folder. any command-line client for downloading mails from mail? thanks
1
vote
1answer
67 views

Open a terminal a run a program on it automatically when the session starts

I have a script to open a terminal and run a command on it: #!/bin/bash export DISPLAY=:0.0 /usr/bin/gnome-terminal -e '/home/me/bin/application --option a --option b --debug' However, the ...
0
votes
1answer
37 views

How to Schedule a Shell Script

i wanted to schedule shell scripts in my ubuntu 12.04. i know "at". but i wanted some thing that would schedule my shell script exactly at 12:00 AM or exactly on the first day of a month repeatedly!
0
votes
1answer
45 views

Do some action when some command is executed!

I want to write a script which can capture every command entered by the user in terminal and then do some things depending upon the command entered: For example: If user enters $> firefox I ...
1
vote
1answer
683 views

Upgrading ubuntu 12.04 32 bit to 64 bit [duplicate]

I have recently installed ubuntu 12.04 LTS i686.I want upgrade it to 64 bit.How can I do it via terminal?
0
votes
2answers
160 views

Ubuntu 12.04.3 LTS installation mode “Install a command-line system” missing?

I just wanted to install a command-line system from my Ubuntu 12.04.3 LTS ISO and the option for that is missing. Am I missing something in the process or what could be the fault? Trying to use it ...
1
vote
1answer
36 views

Strange terminal navigation when logged in as new user

I am not even sure how to ask this properly.. I am using EC2 Ubuntu 12.04 I added a new user sudo useradd -g admin admin sudo adduser admin sudo Changed shudders so I can use new user without ...
0
votes
1answer
107 views

DISPLAY command on the command line

What does the command export DISPLAY=:0on terminal do ?? Is it possible to change the number from 0 to some other value..
2
votes
1answer
390 views

CTRL+ALT+T not working

I'm using Ubuntu 12.04, and till day before yesterday, the shortcut was working perfectly. But when today I pressed it, it didn't open terminal. The terminal app still works. I am on GNOME3 3.4.2, and ...
0
votes
1answer
2k views

Drive auto mounting as read only (errors=remount-ro)

My system is auto-mounting as read only and I have no idea why. Output of fstab: cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique ...
0
votes
1answer
121 views

Some image files won't be displayed by Apache, returns 500 error (file ownership/permissions)

I just copied all my files from one Ubuntu server to another, and everything works fine, except that Apache returns a "ERROR 500 - Internal Server Error!" on image files that on the old server was ...
1
vote
0answers
67 views

Unable to Ping From Ubuntu Server 12.04 Terminal

I used mode_switch and was able to connect my 3G USB dongle with Internet, i am also able to download that data, but unfortunately i am not able to Ping any Website Any Suggestion ?? No pinging of ...
1
vote
1answer
50 views

How do I switch desktop session users from a shell script?

I've got 2 users, foo and bar. Currently if I'm logged in as foo, I can select bar from the menu in the top-right of Unity, and since bar has no password set, I switch straight to bar. However, I ...
0
votes
2answers
457 views

Dropbox Syncronization Problem

I am using 12.04 and tried Dropbox but faced the following problem.: irtaza@irtaza-OptiPlex-990:~$ sudo apt-get install nautilus-dropbox Reading package lists... Done Building dependency tree ...
1
vote
1answer
49 views

No sound,Ubuntu server12.04

I have installed ubuntu server 12.04 on my computer. Today when I was trying to listening music,I found there was no sound. The player I used is mplayer. May be I didn't install sound driver but I ...
0
votes
2answers
307 views

force format an encrypted/read only memory card

I had 1 GB memory card which I was using with my blackberry mobile. I suppose it was encrypted and read only. When is insert the memory card it shows the following file in it 9棥z.C6 pretty weird ...
1
vote
1answer
194 views

how to show GUI of ns2?

I have installed NS2 (network simulator 2.34) on my ubuntu 12.4. But when I execute the ns ns-simple.tcl in the terminal only the following messages have been shown without any GUI or schematic of my ...
0
votes
0answers
31 views

How to fix Ubuntu booting to a command line after an update?

I have been running Ubuntu 12.04 off of a HP pavilion dv2000 for a while now, probably about a year or so. I've not had many issues other than not being able to properly install a graphics driver on ...
1
vote
0answers
13 views

How set External Webcam as a default webcam? [duplicate]

I have HP 18 AIO Desktop, which has inbuilt web cam. How can I set an external Webcam (Logitech C170) as a default cam from command ? Is there any way, Please help me. Cheese webcam booth or other ...
0
votes
0answers
40 views

Why does the command prompt not work

I just bought the advertised Asus laptop with Ubuntu 12.04, and I also just downloaded the 12.04 listed on the download page; both work for the most part, but the command prompt does not work at all ...
0
votes
1answer
28 views

Allow bell for only one terminal

I am using mcabber via ssh, and using mcabber bell for sound of incoming message. In windows I used kitty it allows you to set audio file for terminal bell. In linux I still want to hear mcabber ...
1
vote
1answer
288 views

Change Ubuntu 12.04 (with Gnome) number of workspaces via command line

I'm trying to change the number of workspaces on my Ubuntu 12.04 with Gnome from a terminal. It's easily done by right clicking on the workspaces preview in the panel, but I would like to be able to ...