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

learn more… | top users | synonyms (5)

0
votes
2answers
97 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
192 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
243 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
420 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
206 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
76 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
63 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
45 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.
6
votes
1answer
303 views

What is the difference between gvfs commands and common commands like cat, ls, cp?

I recently found the following gvfs commands : gvfs-cat (1) - Concatenate files gvfs-copy (1) - Copy files gvfs-info (1) - Show information about files gvfs-ls (1) - ...
3
votes
3answers
280 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
1answer
52 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
38 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
44 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
70 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
637 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
70 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
134 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 ...
2
votes
1answer
200 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
99 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
19 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
80 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
163 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. ...
9
votes
2answers
1k views

What does the first '.' mean 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
22 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
30 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
66 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
43 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
393 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
103 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
140 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 ...
2
votes
3answers
129 views

Combine 2 commands into 1 Custom command? [duplicate]

I want a custom command named something like "ServerStart" or something which is a combination of two commands, one after the other. The first command would be cd .Server The second being java ...
1
vote
2answers
335 views

How do I batch copy files sequentially from one folder to another?

I have a music player that ridiculously enough, refuses to play files according to the alphabetical and numerical order, but based upon the order in which they are copied to the audio player. As ...
0
votes
0answers
32 views

Backup and restore question

I want to backup everything on my system, however there are some issues. There are broken system binaries, so disk imaging is not a good solution Copying everything but the /bin, /sbin, /usr/bin, ...
0
votes
1answer
102 views

Display User and folders for disk Usage

I am trying to list out from the servers, and I was wondering if it is possible to be done through any terminal coding (in which I am pretty weak in it now) Example, in the main directory there are ...
0
votes
1answer
91 views

Converting XSL files to CVS files in command line

I have a set of XLS files which I want to convert to .CSV retaining the original base name. I found that this code worked best: unoconv -f csv *.xls also there are other ways in this link ...
1
vote
1answer
53 views

How to remove flagged identical lines in text files

I want to remove selected identical lines jumbled in text file B. The identical lines are flagged with % mark in begining of line in file A. How to achive this through commandline. eg: file A ...
0
votes
0answers
41 views

Terminal not returning anything when I try to install a .bin file?

I'm an extreme Linux newbie. I dualboot 12.04 Ubuntu on my ARM Samsung Chromebook, and I like it a lot so far. I'm trying to install a .bin file through the terminal, and despite following the guides ...
1
vote
1answer
135 views

Changing the background of terminal in ZSH when connected to server

I use terminator as a terminal, zsh shell and oh my zsh, on both my laptop and my server, for what it's worth, I created an alias named vps to connect to my vps using ssh. Currently terminator ...
0
votes
1answer
29 views

How do i export a database in ubuntu to specified location using terminal

I get a blank screen since i have installed the ATI graphic drivers. I tried a lot of things restore my laptop but all in vain. Only formatting seems to be the other option. So i want to export my ...
5
votes
5answers
351 views

Needed simple script/loop/command for input command, execute and output within textfiles

Suppose I have list of commands in text file as below (cat cmdlist.txt):- cut lshw top awk sensors Now I want to get simple information on that command by whatis cut, whatis lshw etc. respectively ...
25
votes
2answers
854 views

Write command in one terminal, see result on other one

I want to run a command foo on one terminal and pass the result to another terminal. Is it possible to do this ?
1
vote
1answer
91 views

Reducing colour depth to 16 bit without losing panels and launcher

Earlier today, I had help solving a problem in this thread where creating an xorg.conf file, with colour depth reduced to 16 bit in my 32 bit Ubuntu 14.04 had caused my panels and launcher to go MIA, ...
0
votes
0answers
64 views

How to launch sh file without terminal? [duplicate]

Using Ubuntu 14.10 the sh file will only open in a text editor but not opening the game Xonotic and AssaultCube
0
votes
2answers
99 views

How to extract this package archive

I am trying to extract a certain file in the downloads folder and instructions given to me are as follows: Type the following in terminal and it will be done tar -xvJf ...
-1
votes
1answer
38 views

Typing multiple line commands in the Terminal

I know that I can copy paste this command in my terminal, but how do I type this? make ex1 cc ex1.c -o ex1 Typing it all on one line produces the following: make: Nothing to be done for ex1. ...
2
votes
2answers
150 views

Files Shown in Terminal not Show on Desktop

I have an issue where I am creating .cap files with aircrack-ng and am saving them to the desktop, but I can't see them. When I use the ls command in the terminal they show up, but just not on the ...