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

learn more… | top users | synonyms (6)

5
votes
0answers
40 views

14.04 Trusty Tahr who command output

I have a question that arose in my mind after upgrading to 14.04 TrustyTahr from 12.04 PrecisePangolin. The question pertains to the 'who' command, and its output. On previous editions of Ubuntu the ...
3
votes
0answers
77 views

How to add flags and/or arguments to a command in the 'sudoers' file

How would I add flags and/or arguments to allow users in the sudoers file to run certain parts of commands, such as only allowing a user to run sudo rm and not sudo rm -rf? I am using 14.04. # # ...
3
votes
0answers
645 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
65 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
99 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
51 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
75 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
56 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
78 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
209 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
50 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
65 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
113 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
227 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
98 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
165 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
74 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
174 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
236 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
300 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
97 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
845 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
185 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
276 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
861 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
178 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
120 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
335 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
306 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
990 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
286 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
805 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
170 views

Simple program like ratmenu/9menu that can use images as menu items

I'd like to be able to select an album by looking through album covers and launch any mp3 player on it or select an image album by scrolling through sample thumbnails and launch any image viewer on ...
2
votes
0answers
493 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
16 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
23 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
17 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
22 views

gnome-terminal / mate-terminal don't save history on ~./bash_history

Two days ago I was using my computer as usual, when I noticed that the commands I used in mate-terminal were not saved in the history. I tried installing gnome-terminal. But it does the same. I was ...
1
vote
0answers
38 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
13 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
31 views

parse webpage upto n levels using wget

I am trying to extract URLS from a webpage up to user defined n levels using wget. I tried this wget -r -l$2 --reject=gif -O out.html www.google.com | sed -n 's/.*href="\([^"]*\).*/\1/p'` " It is ...
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
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 ...
1
vote
0answers
40 views

How to run program/application in full screen mode

I am running my program/application from command line like sudo ./MyApp and some of programs I run like sudo ./MyShFile.sh ( in .sh file I just call/run my programs). But I want that my program ...
1
vote
0answers
88 views

hcitool scan does not find my bluetooth device

I have a small device that has a bluetooth chip. I can see it through the GUI System Settings > Bluetooth, when adding and discovering a new bluetooth device nearby, but every time I try this command ...
1
vote
0answers
27 views

Problem running backup script at shutdown Ubuntu 14.04.2

I want to run a script at shutdown, and a far as I can tell I've followed the proper procedures. The script (close) is supposed to launch another script (gdrive) in a terminal which prompts me to sync ...
1
vote
0answers
24 views

Terminal collapses when it get resized [video included]

https://www.youtube.com/watch?v=pCHCpOV-Kjk After upgrade to 15.04 my terminal acting weird when i resize it, It collapses and never back to normal no matter what, i should close/re-open to get it ...
1
vote
0answers
35 views

Simply and friedly tutorial about grub2 command

looking straight constructed an example that describes how many commands for grub2. Perhaps there is an index for grub2 command along with a description and example? I have been really sick of people ...