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

learn more… | top users | synonyms (5)

2
votes
1answer
27 views

Run command don't run command line programs

In Unity there is some menu called "Execute a command", which could be run by shortcut ALT + F2. It is working fine only when I try to use it to run UI programs like e.g. gedit. It is completely not ...
0
votes
0answers
24 views

Applying password with command in Terminal

Is there an option to apply a password with the command in the terminal? Somethhing like: sudo some-command -pass=mypass I'm just curious, I know that this is not safe.
0
votes
0answers
14 views

Unable to install any software through terminal in ubuntu 13.04 [on hold]

When I install any software in ubuntu is tells me " Unable to locate package". If I install in from software and updates it shows: "Failed to download repository information" and "check your inter ...
0
votes
1answer
12 views

Can't install HoNClient-3.4.3.sh

I'm desktop user. My OS running 32-bit Ubuntu 14.04LTS. The problem I've run into is this: When I try to run the client in the terminal, using the command: sudo sh HoNClient-3.4.3.sh it gives me ...
0
votes
0answers
15 views

/usr/lib/pm-utils/power.d script not working [on hold]

I'm using linux mint petra and trying to get pop-up notifications when power adaptor removed. I placed my script at /usr/lib/pm-utils/power.d and made it executable, but the script seems not called ...
2
votes
2answers
199 views

How to text-to-speech output using command-line?

How to get speech output from entered text by using command-line? Also facility to change speech rate, pitch, volume etc using simple command.
1
vote
1answer
37 views

How do I provide arguments to a command run from gksudo?

I want to add a shortcut for gnome-system-monitor that runs with root access and has very high priority. My command for the shortcut is: gksudo -k -u root nice --20 gnome-system-monitor But this ...
0
votes
1answer
37 views

What is wrong with my ~./profile?

I'm pretty new to Linux. I have been trying to install ant, java, and the android sdk. In the process have been messing with my ~/.profile and also with my /etc/.profile (dangerous, I know). Well I ...
0
votes
0answers
27 views

Lost graphical login after automating script command

I'm running Ubuntu 12.04 LTS and I want to log all input/output from users. So I've simply tried adding script -a -f /LOG_files/Log_file.txt to users ~.profile. The logging works just fine, but ...
0
votes
1answer
18 views

Document How to do a one time push with the batch file allowing through files or paths that have the word demo in them [on hold]

Topic. This is all the information I have currently. The guy who used to do this, whatever it was, was fired and I have to learn it based on that one sentence. Is there a good place to even start that ...
4
votes
0answers
31 views

Open terminal in current directory with tmux

I have a simple .bashrc file at the moment that allows me to always open the same terminal (reopen, actually) running tmux. The important part is shown below. The essence of this is that when you ...
1
vote
0answers
10 views

How to reset errornous font in promt and output of gnome-terminal

I'm experiencing replacement of all occurances of certain characters in the prompt and output of gnome-terminal (3.6.2 in Ubuntu 14.04), e.g. (latin d is replaced with some kind of uppercase D in ...
1
vote
1answer
33 views

last -t [date] not filtering results by date

If I run: last -t 20150101010101 I still get logins displayed (even though the date is in the future) If I run last -t 20140723123000 I still get logins displayed from months back. I would ...
1
vote
2answers
37 views

Shell scripting, [duplicate]

I made a simple update script. Now My question was is it possible to run it automatically by loggin in on the Ubuntu Desktop and automatically provide my password (sudo) for this so I don't have to do ...
0
votes
1answer
49 views

Wine: How to run .bat file and how to set the path in bat files [on hold]

I have .bat File i used to run in windows it uses java file so i have set everything and tried to run using wine cmd. It gives me some error of file not found if possible can any one say the reason? ...
-1
votes
1answer
36 views

Shell scripting add slashes in file name with space

I am a newbee and want to write a shell script in which I will look up in a certain directory for zip file and unzip it to certain directory. File name can have spaces like this "Harry's 20 july.zip" ...
1
vote
1answer
42 views

Run root script or command as root in startup application in Ubuntu 14.04

I have a wireless adapter that used to work in ubuntu 13.10 (dwa 171) after installing drivers for it. Now it won't work the same way anymore since I upgraded to ubuntu 14.04. I've found the only way ...
4
votes
2answers
63 views

Running Dropbox at startup

Please excuse a simple question from a new Linux user. Running Ubuntu 12.04 on a Dell Pentium(R) Dual-Core CPU E5800 @ 3.20GHz × 2. I installed Dropbox OK with the command: cd ~ && wget ...
0
votes
2answers
26 views

find mac address of all connected systems [duplicate]

How can I find out how many system are connected to the local network and how can I get all IP and mac address of these systems. Is their any command/package to show the IP details? Can I use this ...
3
votes
1answer
28 views

GNU watch without erasing previous outputs

gnu watch is a very useful tool for inspecting a program output: It executes the program and shows the output full-screen every 2 seconds. Sometimes, I don't want the previous output to be erased, ...
0
votes
0answers
11 views

how to use axel download manager with proxy?

How to use axel download manager with proxy?? example host: 100.100.100.100 , port:8080, username: admin, password: admin2
2
votes
1answer
28 views

Why does “man x-terminal-emulator” return the output of “man gnome-terminal”?

I know what x-terminal-emulator is and does, but I don't understand why there isn't exist a special manual page for it instead to be redirected to the manual page of gnome-terminal. I would like to ...
0
votes
1answer
24 views

14.04 Unable to install correct package

I'm attempting to configure an oculus rift for this I need to execture ./OculusConfigUtil_i386 This gives me the following error: ./OculusConfigUtil_i386: error while loading shared libraries: ...
0
votes
1answer
15 views

don't have permission or doesn't exist

I'm trying to configure an Oculus rift and I have a configuration script that needs to be executed: GLADOS@deathbox:~/Desktop/OculusSDK/Tools/OculusConfigUtil$ ./OculusConfigUtil_i386 bash: ...
0
votes
1answer
16 views

Check user input is alpha numeric

Hi Im not any sort of programmer but found myself creating an install script which installs mySQL which works fine. I would like to improve the script by asking the user to enter text that will be ...
1
vote
1answer
26 views

Write a Script to install an application under wine

I have a non-techy friend who's giving Ubuntu a shot and I'm basically undertaking the challenge of trying to make it as painless as possible. He would like to install iTunes on his machine but I'd ...
0
votes
0answers
15 views

Script to automate launch of various terminals and various commands [duplicate]

I am trying to use a script to automate various proccesses when I launch the script. I use this to restart postgresql and metasploit services then launch armitage echo -e "\033[32mRestarting ...
0
votes
0answers
17 views

How to complete a svn commit process inside the terminal?

I am a begineer at using svn and linux. I want to remove the test files from the repository URL. These files were added by the import command. Now when I remove these files from the local svn dir ...
0
votes
0answers
10 views

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem [duplicate]

was copy/paste from "things to do after installing lubuntu 14.94 in the terminal a microsoft EULA presented -- could not find a way to "ok" or even move on from there. since then the above noted ...
3
votes
3answers
397 views

What does host% mean in command line?

I see this a lot in terminal commands and didn't understand what does it mean. also the terminal doesn't recognize it.
2
votes
1answer
41 views

How to run backintime as a user

To allow users to run backintime. I am usually running backintime-kde on ubuntu in the following way: sudo su ssh-agent bash backintime-kde4 --config /root/.config/backintime/config --profile-id 1 ...
1
vote
0answers
22 views

App not opening from terminal after installation

I'm trying to install Leksah IDE. I followed the instructions on the leksah website and it said it installed correctly, but now it won't open. After installing, I entered: jase@Jase-PC:~$ leksah ...
2
votes
2answers
99 views

How to properly quote piped command for “watch”?

I want to keep an eye on a file as it is created. So I used this command ls -hal ./file |awk '{print $5}' which gives the size of the file I am looking for. I use awk because I don't need other ...
0
votes
0answers
14 views

out sound from the terminal

In a lot of Hollywood movies when the ace hacker has just created a script to bring down the bad guys network the terminal makes a sound as the script outputs, a sort of digital typing that the ...
0
votes
0answers
18 views

Terminal Opens to Home Directory

This may be solved by a simple navigation command, but all of a sudden my terminal opens to [username:/home/username] $ instead of the normal username@computername:$ is this a configuration error or ...
0
votes
2answers
25 views

Running a .sh from a .desktop [Making an icon for Minecraft.]

Rather recently, I've decided to add minecraft to my dock. I play it enough to want it on my dock. I created a .desktop file, and I gave it an icon, name, and such. I figured that point the exec at ...
0
votes
0answers
20 views

How to create partition on SSD for booting Ubuntu and Windows 7

I just completed a computer build, and I installed Ubuntu 14.04 on the 250GB Samsung SSD that I will be using to boot both Ubuntu and Windows 7. I would like to put some other programs on the SSD, and ...
0
votes
2answers
37 views

Running a .sh to execute multiple commands

I was curious how I would go about running multiple commands via shell script. For example, just to try it out, I'd like to be able to connect a .desktop to a .sh that will run all the update codes ...
1
vote
2answers
34 views

How to run perl script in background

I am new user to ubuntu... Putting & and in the end is putting the application on background, but not really, it still gives me the output of the perl script in my command line even though it is ...
1
vote
0answers
23 views

Problem with `sudo airmon-ng start wlan0`

I have Ubuntu 14.04 on Macbook Pro. I've tried to run: sudo airmon-ng start wlan0 then the result was: Found 5 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops ...
2
votes
1answer
64 views

How to unzip .tgz file from /media directory using terminal?

I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows ...
1
vote
1answer
52 views

How to install a downloaded third party software (Nero Linux 3) via command line?

I am a recent convert to Ubuntu (14.04) and still quite a novice. Looking for a DVD writing software, and dissatisfied with both Brasero and K3b, I downloaded Nero Linux 4. This works pretty well ...
0
votes
0answers
17 views

how to install ksymoops on Ubuntu 14.04

I want to analyze kernel crash(Oops) using ksymoops. I am trying to install ksymoops on Ubuntu 14.04(LTS) 64 bit using command sudo apt-get install ksymoops but unable to install. Below mentioned ...
3
votes
1answer
32 views

How to disable popup “Close this terminal?” when closing terminal?

Each time when I want to close terminal there is a popup with question "Close this terminal?" because some process is running in terminal. I don't care about this process. How to prevent terminal from ...
1
vote
2answers
32 views

Terminal shortcut to go to beginning of command? [duplicate]

For example, forgetting to put sudo and having to go back to the beginning of the command.
2
votes
1answer
169 views

What is difference between commands (like:cat,ls,cp) and gvfs commands?

I recently found following gvfs commands : gvfs-cat (1) - Concatenate files gvfs-copy (1) - Copy files gvfs-info (1) - Show information about files gvfs-ls (1) - List ...
2
votes
3answers
234 views

Setting a randomly generated password to a variable?

I'm using the following line to create a randomly generated password in a bash script, but it doesn't look like the string is actually being set to the variable. #Generate random password ...
3
votes
0answers
23 views

Connect to a VPN with a password from the commandline

I can trigger the start of connection to my VPN by saying nmcli con up id WORKVPN But I have an RSA SecurID that is part of the authentication, which means I can't store a password. Without a ...
1
vote
1answer
28 views

detect Ubuntu runs in Virtualbox client [duplicate]

Ubuntu behave sometimes different in Virtualbox client then standalone. I want, in terminal, to detect if Ubuntu is running in Virtualbox client. Even if Virtualbox Guest additions are not installed. ...
0
votes
0answers
23 views

access to all of the written on the terminal [duplicate]

I know there is .bash_history file on the home directory that stores all of the commands whom user has interred them. But I am looking for all thing which we see on the terminal. .bash_history file ...