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

learn more… | top users | synonyms (6)

0
votes
0answers
48 views

What is the best way to learn Ubuntu? [duplicate]

How can I learn Ubuntu easily and fastly?
4
votes
2answers
144 views

send base64 encoded image using curl

I am trying to send a base64 encoded image from the command line using curl and base64 like this: curl -X POST -H "Content-Type: application/json" -d '{"image" : $( base64 ~/Pictures/1.jpg )}' ...
2
votes
1answer
24 views

Sending normal-urgency notifications via notify-send

I'm currently on 15.04 (Vivid Vervet) and I can't seem to get any notifications to show unless they're sent with the urgency set to critical, like so: notify-send -u critical "IRC" "This is a ...
1
vote
2answers
44 views

Caught in loop and need to save files using command line to external harddrive

Last night I decided to update my Ubuntu 14.04. When the update finished I decided to reboot. When I did I got stuck in a login in loop. So, I came here to the board to look for answers. I found this ...
0
votes
0answers
35 views

Sweet Home 3D 4.6, unable to make a launcher

First and for most Thank you KasiyA. Sweet Home 3D 4.6 Ubuntu 15. I have done everthing that KasiyA said to do in this post, but I changed it to 4.6 instead of 4.4, and it lunches in the Terminal, ...
2
votes
1answer
21 views

Automate creation of PulseAudio null sinks

I've recently swapped to Ubuntu and am trying to emulate what I used to do with virtual audio cable on Windows. I found a great tutorial that does exactly what I want it to do, but it of course ...
3
votes
2answers
279 views

How to stop the first command the failing to affect the second command

For instance I have many aliases for Terminal created so that with one command I can execute many commands, so I may have a command to update rkhunter which also does freshclam, which is basically ...
1
vote
1answer
39 views

How to read command example syntax in synopsis sections of MAN pages?

I am trying to get better about using documentation to understand command syntax but I realized I don't fully understand the symbols used which show all the options and parameters that can be passed ...
1
vote
0answers
35 views

Java install failed and now keeps trying in terminal [duplicate]

So i tried to install Oracle Java through official installer, my Wifi router got reset and it caused the installation to fail. after that I installed Java using tarball file and it was a success ...
5
votes
3answers
175 views

Filter out html tag and replace with other html tags using sed

I was replacing <B> and </B> with <STRONG> and </STRONG> in a file. It's somewhat like replacing hmtl tags. I used sed 's/\<B\>/STRONG/g'. It did the job but if in file ...
0
votes
2answers
52 views

Trying to execute a run.pl file

I am trying to run a run.pl file form the OpenDroneMap directory using the command ../OpenDroneMap/run.pl from within the Photos directory however I keep getting a Bash error. Would there be any ...
0
votes
1answer
85 views

Screen Resolution Problem with Ubuntu 14.04.02 and VirtualBox [duplicate]

I am trying to change screen resolution of Ubuntu 14.04.02 running in VirtualBox. I tried to install Guest additions packages but I'm getting this error - Reading package lists... Done Building ...
2
votes
1answer
115 views

How to identify if your hardware is working properly?

I'm thinking of moving from Windows to Linux for the past few days, and I've read some question here but I want to know more about certain things especially in drivers. They said that Linux doesn't ...
4
votes
3answers
274 views

How to keep application running after closing the terminal?

I am new to Ubuntu. I have used Sublime Text. I have realized that after I open Sublime Text from the Terminal, if I close the terminal the application keeps running. The same isn't true for other ...
0
votes
0answers
19 views

how to know if a system use a proxy via command line [duplicate]

Is there any command line which shows if system use proxy or not and if yes with which information
0
votes
1answer
40 views

Can't put process into background using “&”

When I type xlogo & into the shell prompt, it doesn't return me to the terminal. It keeps me on the xlogo window. How do I fix this problem so that typing in "&" will return me to the ...
0
votes
1answer
24 views

Issues Executing a Shell Script

I'm new to Linux. Recently I bought a VPS to host a teamspeak server on. I am running Ubuntu 14.04. All is well but I need to run a script called ts3recover.sh: #! /usr/bin/env bash # init function ...
2
votes
1answer
39 views

With 2 user accounts, what is the path to my HDD in Terminal?

About 8 hours ago, I asked this question and I got a great answer: In terminal, what is the path of my HDDs? /media/user1 was owned by root. /media/user1/FooDrive was owned by user1. The answer to ...
0
votes
0answers
24 views

Question about “sudo dpkg-reconfigure”

Last night I managed to solve my problem regarding Failure to download extra data files (ttf-mscorefonts-installer) by following the instructions on this link. Fortunately Solution 2 fixed my problem. ...
1
vote
2answers
76 views

In terminal, what is the path of my HDDs?

I have 2 * 500-GB HDDs. What is the path for each of the disks? On OSX I can just do: $ cd /Volumes/DiskName/FooDirectory How can I do that on Ubuntu? How can I navigate to files in a HDD using a ...
0
votes
0answers
16 views

Terminal commands for pomodoro-indicator

I found pomodoro-indicator is very useful. However it could be better if I want to find terminal command to control this app. It is because it does not repeat after one round. I have to move my ...
1
vote
0answers
17 views

Open sublime text editor with predefined lines according to extension

Ok so I'm using ubuntu 14.04 and use sublime text editor 2(currently but I'll be soon updating to 3) for programming in various languages.What I want is that sublime editor should open with specific ...
1
vote
1answer
55 views

How to add command line options to perl script? [closed]

currently I have the following script #!/usr/bin/env perl use strict; use warnings; my %seen; my $header = <> . <>; print $header; my $last_sequence_number = 0; open( my $output, ...
0
votes
0answers
40 views

why can't I move a file? Ubuntu Gnome - Vivid

I downloaded a file that I know is good from past experience. I can see it in Downloads yet I can not move it with the mv command. mv pycharm-community-4.5.3.tar.gz /opt/ when I hit enter it ...
0
votes
0answers
13 views

How can I set up Ubuntu to execute a command as root when a user without root privileger logs in? [duplicate]

I currently have Ubuntu (15.04) set up to boot to tty, and want to make it so that sudo service lightdm start is executed whenever a specific user (without root privileges) logs in. Is there a way to ...
0
votes
0answers
27 views

How do I fix the font in my terminal, and everything else after removing appmenu?

So I was looking for a way to disable the global menu bar in Ubuntu 15.04, In the process I found this command. sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt which did not solve my ...
1
vote
0answers
32 views

installing Anaconda, errno 2 no such file or directory

I've taken a look at some of the other AskUbuntus, and none of them have fixed my problem. I've been running iPython for almost six months now in order to get some extra practice with the Codecademy ...
0
votes
0answers
42 views

Problem Installing OpendTect

I followed the instructions below (from a previous post) sudo apt-get install csh cd wget http://opendtect.org/relman/OpendTect_Installer_lux32.sh chmod a+x OpendTect_Installer_lux32.sh ...
10
votes
4answers
1k views

If I follow instruction from blog/web, is that always safe? [closed]

I am new with Linux especially Ubuntu. When I don't know how to do something with this OS I search on web and AskUbuntu and always have the answer. But sometimes it's not a great answer nor complete ...
1
vote
1answer
25 views

Vim in shell allows <alt>[a-z] to circumvent having to press <escape> to get out of INSERT mode. How can I apply this to Gui implimentations of Vim?

Vim in shell allows <alt>[a-z] to circumvent having to press Esc to get out of INSERT mode. For example, Open up a terminal and set its editing mode away from emacs, to vi set -o vi Now ...
-2
votes
0answers
15 views

Installation screen problems

on installing Ubuntu 14.04 two major problems colours are awful, can hardly see icons my screen is small, and can not scroll down to see final icons Questions therefore can colours be changed at ...
5
votes
1answer
26 views

Using dch to increment release number without a suffix?

I'm building my software into a deb package using the standard devscripts, and I would like to use dch to automatically increment the release number for non-source code changes (i.e. packaging changes ...
0
votes
0answers
26 views

Can't get off Lock screen

I'm stuck on the lock screen. When I put in my password it just takes me to a black screen for 10 seconds and puts me back on the lock screen. Terminal commands haven't worked for me since I've gotten ...
1
vote
2answers
299 views

Why I can't use the CATALINA_HOME environment variable?

I am not yet a Linux guy and I have the following problem with environment variable. So I want to add a permanent environment variable and I do in this way: I open the /etc/profile file and I add ...
1
vote
1answer
35 views

Move folder contents to other directory containing same hierarchy

This is source path /Archive/testing/ there are three folders AB1 and AB2 and AB3. This is destination directory /RXB2Bi_Archive/Archive_testing123/ there are three folders AB1 and AB2 and AB3 ...
0
votes
1answer
24 views

CLI view of Software changes [duplicate]

I often install software, remove software, upgrade it etc, and sometimes I need to check on recent changes such as these that I have made. But to do this currently I am having to open the Ubuntu ...
0
votes
0answers
33 views

How to install plugins on Teamspeak3 Ubuntu 15.04

I have searched all over & I couldn't find an answer for my problem. I am trying to install a music playing plugin from https://frie.se/ts3sb/ but I have no idea how to install it. I'm about to ...
0
votes
0answers
24 views

How to open the command terminal in Ubuntu [duplicate]

I know in Linux you have the LX terminal to install an unpack things. Is something like that included in Ubuntu? I an new to Ubuntu and I would like to learn how use it more efficiently.
0
votes
2answers
27 views

xdotool's type command eating characters

I'm trying to get xmonad to type a common sequence of characters whenever I hit a simple key combo. One instance of this problem is simply typing my email address. This is what the configuration file ...
0
votes
1answer
37 views

Troubleshooting Script: Want to see command output to CLI

I have a script for converting Handbrake videos, but I want to make presets. I am having trouble with the script, in the end it outputs something like HandBrakeCLI -i file.avi -o file.mp4 flags ...
0
votes
1answer
51 views

Bash Scripting for opening ssh, python shell and python commands

I'm writing a script that opens ssh, connects to django, gets data from the app using python commands from the python script myscript.py. However the current code doesn't work. #!/bin/bash xterm ...
0
votes
1answer
45 views

notify-send not working, seems many bugs [duplicate]

i'm trying to create notification script but it doesnt work. When i click for example "control+alt+m" it should pop notification which it does, but its like default and i cant change anything. I ...
2
votes
2answers
111 views

Replace with “sed” a character with backslash and use this in a variable

I have this sting: the string's problem and I want to change this to: file 'the string'\''s problem' My code looks like this: newline=`echo "$string" | sed "s/'/'\\\''/g"` echo $newline | sed ...
0
votes
0answers
40 views

Terminal window name repeats

In Terminal, every time I open a file in vim and then quit, the window name adds another " - Terminal" at the end. After a few times the name quickly grows to "Terminal - Terminal - Terminal..." Why ...
1
vote
4answers
77 views

Bash command to determine first login for a particular time period

Is there a way to determine for example that the current day is the first login for this month? I'm trying to use it in my script. I am familiar with last but it does not seem to be the command for ...
1
vote
1answer
31 views

Copying files from directories having spaces in its name

This is what I tried. inputFile=$(zenity --file-selection --title "Test" --text "Please select the file for analysis." | sed -e "s/ /\\\ /g") I did the sed operation to replace white spaces with a ...
2
votes
3answers
218 views

Edit file from tty1 terminal [duplicate]

I want to set the RUN to yes in the /etc/default/saned, as mentioned in this answer. Here is a snippet of the file : # Defaults for the saned initscript, from sane-utils # Set to yes to start saned ...
0
votes
0answers
28 views

Odd terminal behavior

I was attempting to install VB on Ubuntu 14.04 and got the "black screen of death" kernel panic. After rebooting the computer several times. I thought all was still well, until I tried to scroll ...
0
votes
1answer
23 views

Which edit functions are acceptable in grub?

I made a major mistake by putting in this code: vim /etc/lightdm/lightdm.conf and then changing the line greeter-session=unity-greeter to greeter-session=lightdm-gtk-greeter But now I get ...
1
vote
1answer
32 views

Run script at login screen

I wrote a script which is supposed to run at the login screen (It reads the serial stream of an arduino and types my password into the password box .. ). How can I run this script after boot but ...