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

learn more… | top users | synonyms (5)

-1
votes
0answers
55 views

ChrUbuntu hangs after login, can't login via command line

I'm using ChrUbuntu on my Acer C720, Ubuntu 14.04. Everything worked fine untill I rebooted the Chromebook after installing some apps. Now, when I login, the Unity launcher and the top panel are ...
0
votes
2answers
40 views

Connecting to the internet and installing MATE via terminal

So, I installed Ubuntu 14.04 today, and everytime I log in in the GUI (Unity), my PC crashes. This also happened when I tried Ubuntu 13.10 last year, so I figured, it must be my graphics card. I have ...
4
votes
2answers
116 views

Shell gives no prompt if auto completion is enabled (blinking cursor instead)

I tryed to enable shell autocompletion uncommenting the following lines in my .bashrc: # enable programmable completion features (you don't need to enable # this, if it's already enabled in ...
1
vote
0answers
66 views

SSH connection failing since I changed server port number

Yesterday I changed the default ports on the server from 22 to 1993 then restarted but now I can't connect at all. I used ssh -i keyname.pem ubuntu@remotehost to connect then sudo vi ...
1
vote
2answers
105 views

bash: ./configure: No such file or directory while installing FFMPEG

I am trying to install FFMPEG in Ubuntu 14.04. I got help to install FFMPEG installation In meanwhile I got an error `bash: ./configure: No such file or directory` I am getting this error when I ...
0
votes
0answers
18 views

A qdbus command error

Why do I get an error with this command in KDE: qdbus org.kde.klipper /klipper getClipboardContents qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qdbus': No such file or directory ?
0
votes
0answers
19 views

How To Unzip Call_of_Duty_MW2.zip File

I have Call_of_Duty_MW2.zip and I want to install it with PlayOnLinux, but i could not find a way to unzip it. First, I tried extracting Call_of_Duty_MW2.zip, but it always gave me the same error: "An ...
1
vote
1answer
20 views

Can I change actions upon inactivity and timeout for that from command line?

How do I set the policy about what action should be taken if the computer is inactive for some time. This can be easily done from GUI, via Power Manager. I am trying to do this from command line. I ...
0
votes
0answers
68 views

I can't do updates, the manager won't show

Here's a screencap, it's been stuck like that since I last updated 8 days ago. What should I do, reinstall the update manager, or something in the terminal? I'd like at least to make it work again. ...
-1
votes
1answer
13 views

Switching to Terminal-only fails

I attempt to switch to terminal-only using sudo service stop lightdm and this turns off the GUI, but I can't type in any commands, although there is a cursor that shows up. I'm not sure what's ...
1
vote
1answer
39 views

What is dummy filesystem?

I tried df --help command to generate the man-page for help on df command and I am stucked with a unknown term Dummy filesystem This line in df manpage is where I get to know the term first time -a, ...
3
votes
1answer
26 views

Concatenate single common PDF to directory of PDF files

I use PDFtk, and the PDF Chain gui. Despite reading the man page and investing time in a variety of web searches, I can't find the answer to this one - I have a directory of PDF files, and I want to ...
1
vote
1answer
45 views

Can I use a Bash variable in a sed command?

I'm trying to execute a sed command with "-n" option. for i in 1 2 3 4 5 ; do maas maas nodes list | grep hostname | cut -d\" -f4 | sed -n '$ip'; done I want it to run sed -n '1p' then sed -n '2p' ...
0
votes
2answers
44 views

When I open a terminal session it shows ~$, how can I solve it?

When the terminal is open (Ctrl+Alt+T) it shows username@name: ~$. Is there any problem with my permissions? It was /$ before, but I don't know why it changed.
2
votes
0answers
63 views

how to easily make an Alias command permanent

I search everywhere and almost everyone was suggesting to open the ~/.bashrc or ~/.bash_aliases , then put the alias command there, I created a function name palias as permanent alias function and put ...
0
votes
0answers
25 views

How to skip entering password for sudo i.e. prepare script with permissions? [duplicate]

For work and other situations as well I'm running all sorts of sudo commands. Thank god (and devs), they can be run from Unity Laucher :) . But as a lazy timesaver I want these commands permanently ...
0
votes
1answer
31 views

Why are terminal shortcuts different than the ones used elsewhere for the same task?

I ask this out of sheer curiosity. For pasting - why wasn't Ctrl+v made as a shortcut - which is standard - instead of Ctrl+Shift+v - which is not standard? Same goes with so many other shortcuts ...
0
votes
0answers
19 views

xmacro without running x server?

I need to record typing in terminal, and it works just great in x session inside of xterm with xmacro, but I need to do such macro recording without running x server, and I can't really find the ...
0
votes
1answer
39 views

How to open the terminal with specific command already run? Best at Unity Launcher! [duplicate]

I know how to add a command to the Unity Launcher, but don't know how to have automatically opened terminal for the command. Especially needed when sudo command needs password or command result ...
1
vote
2answers
40 views

Cannot run an executable file in terminal [closed]

I have been running my script ./runenb a couple of times. I decided to log the output into a file so I used: ./runenb >output.txt and it works. Then I tried again and this time I did ./runenb > ...
0
votes
2answers
38 views

How to execute an .sh file? [duplicate]

I thought a sudo will work, but it says command not found: sudo: ./eTax_ticinoPG13_inst_Linux.sh: command not found nuc@nuc:~/Downloads$ ./eTax_ticinoPG13_inst_Linux.sh bash: ...
60
votes
8answers
8k views

What is the difference between Terminal, Console, Shell, and Command Line?

What is the difference between Terminal, Console, Shell, and Command Line?
0
votes
1answer
78 views

Ubuntu goes black after kali tools installation reboot

Whenever I try to install Kali Tools on Ubuntu 14.04 LTS. I have to reboot and it comes on but it shows a black screen (no backlight). I can open a terminal but I don't know how to use it. These are ...
3
votes
2answers
226 views

Why I obtain this error when I try to perform this simple bash script?

I am following this tutorial to correctly execute Aptana Studio on my Ubuntu 14.04: Command menu in aptana studio 3 is not working in ubuntu 14.04 So I have installed the Oracle JRE and finnally I ...
0
votes
1answer
25 views

is it possible that i deleted my files while trying to delete a symbolic link?

I made a symbolic link that points to a 500gb ntfs drive, when i executed the second command it halted for 3 seconds so i terminated it, i have a lot of files on the drive im not sure if it deleted ...
1
vote
2answers
27 views

Startup script for brightness

Not so long ago I replaced XP for Lubuntu 14.04 on a old PC, and it works great. To make it perfect, I want to autoexecute "xrandr --output VGA-1 --gamma 3:3:3 --brightness 1" on startup or boot. ...
2
votes
1answer
39 views

Make a grid of images, then rotate and crop it

So I have a few thousand thumbnails that I want to stitch together in a slightly tilted grid. I figure that's not going to be the most obvious thing in the world to understand so here's an artists ...
2
votes
1answer
302 views

What's the issue with one specific valid account in accessing skype?

I'm using Ubuntu 12.04 LTS. I'm using Skype 4.3 for Linux. Whenever I log into skype with one valid specific account credentials the Skype window disappears after I log-in. To verify the issue, I ...
0
votes
3answers
123 views

How to give all the users(except guest) permissions to particular directory via terminal?

I want every user to have full permissions over a single directory(and all the contents). Is this possible, and how? Thanks.
2
votes
1answer
42 views

Bash script using `sudo` runs correctly from cli but not when clicked to run

I am trying to get a simple bash script to run when I click on it. It runs perfectly from the cli but starting motion with sudo fails to start. I have that script setup with sudoers already for ...
0
votes
1answer
39 views

start Ubuntu 14.04 with terminal

I have a system with a dual-boot of Windows 8.1 32-bit and Ubuntu 14.04 64-bit. Ubuntu usually works but after I became root with the command "sudo su" and rebooted my PC it had a Black screen after ...
0
votes
1answer
29 views

cryptswap1 Probably Eating RAM; Stuck in GParted; How to Fix?

To flow into the problems I had been dealing with, my copy of Lubuntu 13 became so unstable that I decided to do a fresh install of the alternative install of Lubuntu 14. Had quite a bit of trouble ...
0
votes
2answers
25 views

creating a command to load a shell script from command line

Right now when I want to run a specific program, I perform the following task: cd ~/Downloads ~/Downloads$ cd RubyMine-6.3.3 ~/Downloads/RubyMine-6.3.3$ cd bin ./rubymine.sh Instead of doing all ...
3
votes
1answer
50 views

How to set apt-get option for a specific source?

Is there a way to set apt-get option only for a specific source? for example: I'd like avoid signature check for the packages pulled from a local source. As far as I understood, If create a custom ...
1
vote
3answers
77 views

How to open word document file in terminal?

As I'm trying to open a word document from the terminal, i used wvWare and some other commands for the same, but i couldn't get it. Could any one please help me out!
0
votes
1answer
284 views

How to stop getting error messages in terminal

When I open the chrome browser through terminal, I keep getting some error messages in the terminal. [3067:3067:0801/081834:ERROR:CONSOLE(121)] "Uncaught Strict get failed, invalid object.", source: ...
2
votes
1answer
50 views

Incremental history searching

I found this very useful tip in UsingTheTerminal to use the arrow keys to search through the command history: "\e[A": history-search-backward "\e[B": history-search-forward "\e[C": forward-char ...
1
vote
1answer
59 views

Is it possible for users not to be in passwd? [closed]

So I have a shell on a remote server. [alexandros.dimos@fep-62-1 ~]$ whoami alexandros.dimos [alexandros.dimos@fep-62-1 ~]$ cat /etc/passwd this too long the point is my user is not ...
1
vote
0answers
16 views

How to find out which software is opened by which command? [duplicate]

I am new to Ubuntu. I want to use the terminal to open different softwares. Instead of asking everytime which softwares is opened by which command I want to know what is the process to find out which ...
1
vote
1answer
50 views

Setting proxy in Ubuntu terminal - proxy having special characters

I am trying to set proxy for a ubuntu server 12.04. Our proxy user name contains in the format: CompanyName\UserName and Password like: $test I tried to set proxy like this: export ...
2
votes
1answer
35 views

Why does the “watch” command starts two “watch” and a “sh” process?

When I tried to run watch ps command I got the following result: Every 2.0s: ps Thu Jul 31 14:06:45 2014 PID TTY TIME CMD 4329 pts/1 00:00:00 ...
0
votes
1answer
88 views

Ubuntu 14.04 (cinnamon desktop) freezing, typically when using terminal

This is really strange, but frequently, Ubuntu freezes when I'm trying to enter (even basic) commands in the terminal. It does randomly happen when opening programs like Chrome as well. It freezes for ...
1
vote
1answer
79 views

rc.local won't execute the script

This is my rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # ...
0
votes
1answer
33 views

Maven only invokable from terminal while root

I'm following the directions laid out here: http://java.dzone.com/articles/installing-maven-304-ubuntu Everything is in the right place and the sym link is working correctly. However whenever I try ...
0
votes
1answer
27 views

From gnome-screenshot command line, how do you predefine the are?

So gnome-screenshot has the following options: tim@Hairy14:~$ gnome-screenshot --help Usage: gnome-screenshot [OPTION…] Take a picture of the screen Help Options: -h, --help ...
0
votes
2answers
56 views

How to restore a Déjà Dup Backup file at command prompt with duplicity

I have used Déjà Dup Backup Tool to backup to external hard disk (/media/TOSHIBA EXT/) Now I want to test the backup. So I deleted one test file (/home/rch/hecatombe.txt). I can restore that file ...
0
votes
0answers
23 views

Why scsi_id not found in my Ubuntu?

Why scsi_id not found in my Ubuntu? $ scsi_id scsi_id: command not found No You can install it by typing: sudo apt-get install package prompt is provided. using Ubuntu 14.04.
1
vote
3answers
49 views

Network-admin for server?

I am running a 12.04 distro. I am looking for something that can run in command line on my server that would give me access to change the network settings. Similar programs would be network-admin or ...
7
votes
3answers
231 views

Error message 'source: not found' when running a script

I am creating a little automated setup script that will modify /etc/profile and $HOME/.profile if some paths are not exported. Then, I'd like to reload these automatically. I have read that source ...
1
vote
2answers
42 views

printf, redirection, crontab

I'm having trouble redirecting C printf statements to a file with a program running as root. I have a program with several informational printf statements and other libraries which print errors via ...