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

learn more… | top users | synonyms (6)

3
votes
0answers
108 views

How can I lock my Ubuntu phone using the terminal?

I have the terminal installed on my Meizu MX4 Ubuntu phone, is there a command I can use to lock the phone from the terminal? By "lock" I mean the same thing that the lock button on top of the phone ...
3
votes
0answers
668 views

SSH update to 14.04: The disk drive for / is not ready yet or not present

I am not able to restart my Ubuntu server after upgrade from 13 to 14.04. What can I do to make things work again? I tried to upgrade my server over ssh to ubuntu 14.04. When the installation ...
2
votes
0answers
20 views

Load theme files in Gnome Terminal on Ubuntu 15.04

It seems that loading the Gnome Terminal theme files is not working anymore in Ubuntu 15.04: gconftool-2 --load terminal-flat-theme.xml This does not change my current theme. The theme file looks ...
2
votes
0answers
13 views

Beep command works but the bell character doesn't

After reading this answer, the beep command successfully makes a sound. http://askubuntu.com/a/168628/445574 But when I print the bell character, it doesn't make any. I've already tried: ...
2
votes
0answers
28 views

Execute prelogin scripts for SSH

I would like to know how I can execute a local server script, for instance send a mail using mailx, when a ssh session is opened, pre-login stage. When a ssh connection comes into the server, I ...
2
votes
0answers
22 views

how to launch apps hidden from the launcher or panel

How do I launch an app in such a way that it does not show up in / is hidden from / skips the panel or unity launcher or xfce panel or kde panel etc? Apps like "stormcloud " weather app are a good ...
2
votes
0answers
89 views

Gnome Shell Viber icon doesn't show up but it's “there” without an icon

In Ubuntu 15.04 using Gnome Shell, the Viber 4.2.2 icon disappears both using native indicator bar and the topicon extension.
2
votes
0answers
102 views

'sudo poweroff' in Terminal turns screen of but does nothing else

I have found that recently when I execute the command: sudo poweroff In the GUI Terminal app that what actually happens is that my screen fully turns off, but my machine does not. It just sits ...
2
votes
0answers
53 views

Changes made under command “su” disappeared after reboot

I installed Ubuntu 14.04 Desktop 32bit in VMWare. I logged in as a normal user lxw, and ran su command. Then I changed some files /root/.bashrc, /etc/rsyncd.conf, etc. When I rebooted this virtual ...
2
votes
0answers
94 views

Why doesn't my terminal display this character?

I like to run emacs in terminal, which is rxvt-unicode-256color. In the terminal my /etc/i3status.conf displays this: However, when I run emacs outside of my terminal the same file is displayed ...
2
votes
0answers
71 views

IpProtocols firefox add-on with gnome-terminal and multiple tabs

I want to use Firefox with IpProtocols 0.2.3 to launch telnet sessions from browser. It is working well for me with xterm terminal emulator, but i wish to use multiple tabs. Now I try to use ...
2
votes
0answers
42 views

Can not run without x-server running. No terminals

I'm having problems with my nvidia configuration so I decided to shut down X, re-generate the xorg.conf file and give that a go. I log out and at the login screen I hold Alt + Ctrl + F1 to go to the ...
2
votes
0answers
82 views

Editing sudo permissions with strange instructions

Hello I am using Ubuntu and trying to install Chromium OS. They recommend using Ubuntu, but when working through their Quick Start guide I ran these commands from the "Prerequisites" step 3: cd /tmp ...
2
votes
0answers
232 views

Ctrl-Alt-t opens root terminal instead of normal terminal

I installed Terminator and made it my default terminal with this solution, but now Ctrl-Alt-t opens Terminator as a root terminal. How do I get it to open Terminator as a normal terminal?
2
votes
0answers
52 views

Termial not accepting options

I'm using Ubuntu 14.10, and for some reason the terminal command will not accept options. (I believe these are called option, please correct me if I am wrong). For example, when installing a new ...
2
votes
0answers
78 views

Vim does not load colorscheme from .vimrc when started from tmux

I got a very simple startup script, that starts a gnome-terminal with a running tmux session. #!/usr/bin/env bash gnome-terminal -e "tmux" --window --full-screen When I run vim inside this ...
2
votes
0answers
120 views

Ubuntu 14 command line printing impossible but fine through gui

If I try to command line print any file using lp or lpr, I get a "no pages found" error in CUPS. Tried also as SUDO, no go. But if I print from any application (text editor etc) it prints no problem. ...
2
votes
0answers
240 views

vim showing weird characters on screen in terminal

So I just installed ubuntu on my Netbook and switched to the openbox window manager. When I open up VIM in a terminal and hit j when I am at the top of the file or hit k from the bottom of the file, ...
2
votes
0answers
106 views

Running CLI/terminal programs as entirely separate program (i.e not as an instance of Urxvt with -e toggle?)

I'm currently running Openbox as WM, with Urxvt as terminal emulator, and zsh as shell. I use Mutt for emailing, Ranger for files, Cortex for redditing, Newsbeuter for RSSing. All of these programs ...
2
votes
0answers
180 views

Zip is corrupted, unpacks on Mac but not on Ubuntu

I have a zip file that is indeed corrupted. It contains one file that is fine, and a second that is 0bytes and corrupted. But when I unpack it on my Mac (double click in finder), it does unpack and ...
2
votes
0answers
77 views

Non-X/Non-GUI terminal emulator for Ubuntu Server

I have a computer running Ubuntu Server (non-X/non-GUI), I need a terminal emulator which has VT100/VT320 capabilities like Gnome-Term and xTerm do on my other (GUI) Ubuntu box. tMux and GNU Screen ...
2
votes
0answers
182 views

Ubuntu server 14.04 quotations marks display wrong

When ever the character ' is displayed in my terminal it displays as â. I have never had this with the previous versions of Ubuntu. For example: rm: cannot remove â/etc/init.d/novncâ: No such file ...
2
votes
0answers
249 views

Rip a DVD title with IFO and BUP files from the command line

Like the title says, I would like to rip a DVD title with IFO and BUP files from the command line. I have tried several programs with varying results. Using dvdbackup: dvdbackup -i imagefile.img ...
2
votes
0answers
52 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
2
votes
0answers
312 views

after ssh session : -bash: /bin/ls: no such file or directory

I've logged into my Ubuntu server from work via putty under Windows. Right away I noticed something weird. I could not use the ls command. Got: -bash: /bin/ls: no such file or directory I didn't pay ...
2
votes
0answers
99 views

remap Caps_Lock to Esc and Control without X11

I want to remap my Caps_Lock key to be Esc when pressed by itself, or Ctrl when pressed with another key. Here's the twist: I want to do it without X11. I found this answer which says "write a ...
2
votes
0answers
883 views

Can cd into folder but I can't see it with ls or ls -a?

I've a shared partition between Windows and Ubuntu, achieved through VMWare's shared folders, and when I moved a folder into this shared folder Ubuntu couldn't see it. Ubuntu still can't see it, but ...
2
votes
0answers
193 views

Missing Unity Desktop /w SLiM Login Manager

Not too long ago I installed SLiM (Simple Login Manager) as my Login Manager for Ubuntu 13.04 just to give it a try out to replace the default Ubuntu Login Manager. After getting SLiM successfully ...
2
votes
0answers
296 views

Install java on a wine in a linux terminal server

I have a Windows terminal process (which requires Java). I need to run this in a Linux terminal server (it's an Amazon EC2 instance). I installed Wine, but now I need to install Java. When I try to ...
2
votes
0answers
901 views

Get binary delta-encoded recursive diff of two directories as single patch file in CLI (and online use)

Essentially, I am looking for a GNU/Linux tool, that could recursively iterate through two directories, find file changes/additions/deletions; and for all changed files, output a diff. This can ...
2
votes
0answers
183 views

How do I reinstate my admin user privileges to global read/write

I am running Ubuntu 12.04 LTS. I only have the one user which I created when I installed Ubuntu. Everything has been fine - love it - until I updated a software package recently from the command line ...
2
votes
0answers
123 views

call a modem using ubuntu and a iphone

I'm having a pc with ubuntu, and want to call a machine with a modem on it. The things I have in my work is the following, my pc with ubuntu, my iphone. Is it possible to call ( in this case a ...
2
votes
0answers
353 views

Terminal error: i2c i2c-0 sendbytes error -110

I am currently using a clean installation of Ubuntu Server 12.04 AMD64 and I keep getting errors popping up saying: [ xxx.xxxx ] i2c i2c-0: sendbytes: error -110 where x is the seconds the ...
2
votes
0answers
309 views

How to switch between nautilus window and (gnome-)terminal

I need a fast possibility to switch between a nautilus window and a (gnome-terminal) in the same working directory. At the moment I'm using the following setup: nautilus -> terminal: ...
2
votes
0answers
177 views

Why is Cinnamon blocking function keys? F1-12 aren't getting to the terminal

I map the function keys in vim to modify a ton of stuff, from syntax line numbering to autoindenting to changing the tab width and syntax highlighting. Unity was a major problem here because if I ...
2
votes
0answers
1k views

wget to get files from external host

I'm trying to use wget to download all mp3 files linked to from a list of input URLs, but residing on an external host. The input URLs are contained in the file input.txt Each URL listed in input.txt ...
2
votes
0answers
288 views

How can I tweak this split-tar-gz-archive script?

I came across this shell script that can be used to split an entire directory across multiple compressed files. I am interested in making a minor tweak to this script. Lets say I have n GB of files ...
2
votes
0answers
825 views

Why doesn't duply work when set as a cron job?

I have a problem with a cron job which starts but doesn't complete. Running the command manually works fine. I already read the page about cron issues and solutions here on AskUbuntu, tried the ...
2
votes
0answers
504 views

speech recognition on ubuntu server, what are my options?

I want my ubuntu server to start playing music when I say the command, just like on iphone... "play [album]" "play [song]" etc. I also want it to turn on light on my arduino project. So to achieve ...
1
vote
0answers
24 views

Simple way to delete a file and all its links (simultaneously)

I found a lot of questions on how to delete symlinks only, or delete symlinks based on their contents, but no one has asked how to do what I want to do. Take the following example file-l -> ...
1
vote
0answers
56 views

Why is my shell slow after a while when I use git aware prompt and run git commands?

I am using git-aware-prompt in my .bash_profile on Ubuntu 15.4 like this: export GITAWAREPROMPT=~/.bash/git-aware-prompt source $GITAWAREPROMPT/main.sh When I am in one of my main repository ...
1
vote
0answers
20 views

Testing post-install scripts

I love to experiment with my Ubuntu GNOME 14.04, so there are many mistakes to be made and things to learn. Often I want a clean install, so I made post-install script. Question is: what is the best ...
1
vote
0answers
19 views

How to remove all comments/annotations in multiple pdfs from command line

Are there any open source solution to remove all the comments/annotations from PDF files using command line? I searched around, and it seems that there are solutions with commercial software, e.g. , ...
1
vote
0answers
39 views

Cron not working but manually run in terminal works

I placed a command in a script file called app.sh that simply execute an application. sh app.sh When I run it with terminal directly works fine!! but when put it under cron does not work..I tired ...
1
vote
0answers
36 views

As root, I can use su to make dconf changes for another user. How do I actually make them apply?

The scenario below assumes we booted up the computer and logged in as the user bort at the login menu. This is on 14.04.2. If I open up a terminal, as the user bort I can list a dconf setting, for ...
1
vote
0answers
36 views

connecting an Ethernet which needs a password and a user name?

I have an account through a wired network (Ethernet) internet provider - a person that have an internet LAN and share it with neighbours in exchange with money - every one of us have an account and a ...
1
vote
0answers
47 views

Running an installation routine of a third party programm on Ubuntu 14.04

Please help me with the following problem: I try to install a third party program install.bin that is from mime type application/octet-stream. Typing sudo ./install.bin; echo $? in the terminal - ...
1
vote
0answers
22 views

Is there a fix for Corsair Link

been trying to create new resolution output mode using: sudo xrandr --newmode "1368x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync+vsync This is what I get: xrandr: Failed to ...
1
vote
0answers
24 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
0answers
74 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 ...