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

learn more… | top users | synonyms (5)

2
votes
1answer
33 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
55 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
23 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
23 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
31 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
21 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
11 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
418 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
76 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
28 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
109 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
18 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
21 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
35 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
36 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
50 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
48 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
46 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
92 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
102 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
31 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
43 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
36 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
192 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 ...
3
votes
3answers
245 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
28 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
32 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
24 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 ...
0
votes
3answers
37 views

How to check if some program is already installed and its version? [duplicate]

I'm exploring working with the ubuntu terminal. For particular reason I need to check if I have installed Python interpreter, like cPython. How to do it? In general, how to check if some program is ...
0
votes
0answers
15 views

Quick re-logging with command-line

Is there a command-line or script that re-logs your current user? Logging out is: gnome-session-quit --no-prompt Then I just need to type my password to relog. Is there a way to do it as root ...
2
votes
1answer
53 views

Is there any reason to use 'kill' instead of 'killall'/'pkill'?

Starting my adventure with Linux a couple of years back, most tutorials and older, more experienced colleagues suggested using the command 'kill', sort of like a replacement for the Process Manager ...
0
votes
1answer
118 views

install virtualbox guest addition terminal

I would like to install Virtualbox guest addition using the terminal. Because that is most easy to reproduce and to document. On the server I have Ubuntu 12.04.2. LTS I have Virtualbox 4.3.16 I have ...
0
votes
2answers
46 views

Cannot login through the command line

I have only been using Ubuntu for about three weeks so do not be surprised if you lose me trying to explain something, I will try my best to be as detailed when needed though. Anyways, Unity right ...
0
votes
0answers
9 views

Create startup script for openproject [duplicate]

I consider myself a linux noob, but I was able to install openproject on a Ubuntu 12.04 server in VirtualBox. Currently I have to manually start the web-server every time I power-up the virtual ...
0
votes
4answers
50 views

SSH remote command execute stays without disconnect when finished execute?

I am trying to build a script/command that will restart our Asterisk/Elastix service on our PBX. The script is basically using simple command with auto log-in public key that run from Ubuntu ...
1
vote
0answers
52 views

Command to send SMS from terminal Using Kannel + SMPP

I have Installed the kannel on my server, configured the kannel file as per the requirement. Started the Bearerbox and SMSBox, both boxes are running fine. Now I want to check if the SMS is being ...
0
votes
1answer
51 views

Unigine Heaven run directly from terminal?

I think a lot of you would have benchmarked your Linux system using Unigine Heaven Benchmark 4.0. I know to run the it you can simply go to the Unigine Heaven folder and run the shell script file ...
0
votes
1answer
18 views

Using the option --help

I've been tinkering around the terminal on ubuntu and noticed that by using aspell --help I got the very detailed documentation about the command aspell. Whereas when I use look --help All I get ...
0
votes
2answers
64 views

How to learn shell programming in linux ? [duplicate]

I use ubuntu and have no idea about dos/powershell programming and I know only c language. please suggest a good book on shell programming , and also any advice regarding prerequisites for shell ...
3
votes
2answers
140 views

find commands with man pages

we use man foo to search about command foo. To know what is it and what its task and to find all switches. But the point is when you want to Do foo and you do not know what is the command for that. ...
8
votes
2answers
1k views

What does the first '.' do in . ~/.bashrc? [duplicate]

I saw a post about fix your alias in .bashrc. And he says after you put your alias in .bashrc , you need to use: . ~/.bashrc I do not quite understand what the first dot(' . ') does here. What's ...
0
votes
0answers
21 views

Can't start sublime with gksu [duplicate]

After typing gksu subl or gksudo subl, it asked for my password. But after that, nothing happened. Do note that, with sudo. It works. Why is that and how to fix this?
0
votes
0answers
23 views

Can Login as Guest but not me - Also no Wifi Drivers

Installed ubuntu 14.04 LTS as a side project, on an old computer that had its operating system erased. I can log in as guest and everything works fine, but when I log in as me, the screen is blank. ...
0
votes
1answer
48 views

Ubuntu 14.04 grinding to a halt - found this command and it seems to help, what is it?

As title says, laptop was grinding to a halt after a period of time. I have the system monitor running and it seems to show memory use getting higher and higher. I had a look around and found this ...
1
vote
0answers
11 views

how to send different outout to multiple terminal on the same machine [duplicate]

I want to be able to run my Python scripts in one terminal but to print the useful output to another terminal on the same machine. Having the ability to refresh the terminal with the useful output ...
2
votes
1answer
38 views

Is it possible to diy a command under Ubuntu? [duplicate]

For example, can I set? gb = cd /media/Dan/evolution so that everytime I execute gb in bash , I can cd to that particular directory? I find something online, 'alias' command. But It seems can't do ...
3
votes
1answer
309 views

Trouble Installing Breach Browser

I have downloaded breach on my Linux virtualization in Parallels, but I can't seem to get it to run. I have done: sudo apt-get install chromium-browser cd <the breach download directory> ...
1
vote
1answer
68 views

How to get information about BIOS from terminal? [duplicate]

I want to get BIOS information and print information about all structures. How to get via command-line?
2
votes
3answers
90 views

Completely Messed up sudoers file and su Operations

I am in a really bad condition right now.I am jotting down the steps I did to get myself into this situation. My objective was to disable sudo on my machine. I am running Amazon Ec2 Ubuntu 12.04 I ...