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

learn more… | top users | synonyms (5)

1
vote
1answer
26 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
0answers
22 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 ...
-1
votes
0answers
7 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
15 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

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 ...
3
votes
0answers
18 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
8 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
29 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
43 views

Wine: How to run .bat file and how to set the path in bat files

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
33 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
34 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
54 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
10 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
22 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
25 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
396 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
34 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
21 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
61 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
51 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
16 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
22 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 ...
0
votes
3answers
34 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
13 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
49 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
44 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
36 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
8 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 ...