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

learn more… | top users | synonyms (5)

3
votes
0answers
615 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
43 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. # # ...
2
votes
0answers
65 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
34 views

Starting Process in Background without terminal does not work

I want to start the modelsim programm for linux with a *.desktop file. First I start the program with the script in the installation folder: ./vsim and it is starting. There are a messages on ...
2
votes
0answers
45 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
48 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
32 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
73 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
167 views

How to change my home directory?

I have a current /home/user/ directory for ~ but I want to change it to be at /user/home/ /user/home already exists. The option of using usermod is not going to work because I don't have access to ...
2
votes
0answers
154 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
45 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
99 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
78 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
152 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
66 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
156 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
94 views

How can I suspend the way that ubuntu does?

I would like a command I could map to a button or execute within my network. So far I know the command sudo pm-suspend but I could not make pmi action suspend work on either 12.04 nor 14.04 : Error ...
2
votes
0answers
205 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
49 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
287 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
90 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
800 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
171 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
259 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
798 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
171 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
119 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
307 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
299 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
169 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
961 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
282 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
759 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
163 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
482 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
43 views

How to uninstall youtube-dl by using terminal

I was install Youtebe-dl through Ubuntu Software Center, but now my ubuntu software center is not working. So i can not able to Update and Install youtube-dl. I try following procedure for ...
1
vote
0answers
9 views

How to configure ccsm from the command line or a script?

THE GENERAL PROBLEM: I wish to change some settings of ccsm from the command line, or more precisely a script. I imagine there will be some arcane combination of gsettings or gconftool that does what ...
1
vote
0answers
21 views

System freezes during Bash auto-completion with Tab or Ctrl+R

It started about a week ago, don't know why. Now, when I type something like cd somedir and click Tab, my system completely freezes for about 10 seconds. I can move the cursor but can't switch between ...
1
vote
0answers
14 views

Install quickBooks in Ubuntu server (I have the fedora instructions)

Hi I try to install qb in a server ubuntu 14 64 bits, all the system is for fedora. the steps I make: dowload the package qbdbm_25.0.i386.rpm installer, (don't exist 64bits) add 32 bits ...
1
vote
0answers
41 views

Script with xdotool not working properly on a fresh reboot

I want to run streamus (chrome app) to stream youtube from terminal and asked a question relating to that in this same SE. I also got a wonderful answer and a script for my problem. But that script ...
1
vote
0answers
33 views

CPU number differs in 'About this computer' and /cpu/cpuinfo

Question: I'd like to ask what may cause that there are two different informations about the number of processors. See the reports below. System dialog: If open the System settings/Details tab ...
1
vote
0answers
15 views

If I know the ID of a Chrome Web Store Extension, can I install via terminal?

I know the ID of an extension I want to install - mdapmeleikeppmfgadilffngabfpibok but I'd like to install with the command line. Is this possible? I'm wondering if I could use wget to download the ...
1
vote
0answers
23 views

How to pass the line number, where the mismatch occurred in awk, to Shell variables?

I am trying to compare two csv files. I want the line numbers to be stored into shell variables or array. I tried something like this: paste <(awk -F, '{print NR,$1}' file1) <(awk -F, ...
1
vote
0answers
34 views

Having problem with opening softwares from the terminal (including wireshark & gedit)

I am using Ubuntu 14.10 and I am having errors opening softwares from the terminal. For example: build@build:/usr/local/bin$ sudo wireshark gdk_mir_display_open Failed to connect to Mir: Failed to ...
1
vote
0answers
61 views

Problems Installing Metasploit Framework on Ubuntu

I have encountered 3 problems while following this guide to installing Metasploit Framework on Ubuntu and Debian: 1) After installing proper version of ruby, there is a command given for installing ...
1
vote
0answers
38 views

Creating a WWAN profile in NMCLI, or alternate way of connecting to 3G via CLI?

I need to connect to the internet via a TP-Link MA260. After spending hours with usb_modeswitch and other tools, I finally got the device to be recognised as a modem and have the interface wwan0. ...
1
vote
0answers
24 views

Simulate unplug and re-plug via command line for device development

I am working on a couple projects and frequently they lock up where the only fix is to unplug and replug them in. I would like to be able to use the terminal to do this as it happens frequently with ...
1
vote
0answers
12 views

textmode 14.04 booting to uefi

Anyone able to get true textmode working while booting to UEFI? I"m able to get the legacy mode in textmode by changing grub wit the following. sudo gedit /etc/default/grub Comment the line ...
1
vote
0answers
26 views

nc command: conflict between different Ubuntu machines

I am using Ubuntu 14.04. Then I have an Ubuntu 12.04 machine running on virtualbox. On the virtual box machine I listened on port 12345 using the command nc -l 12345 And on the host machine, I ...
1
vote
0answers
25 views

Terminal Closes On Running clear and large output commands

When I run the clear command or ctrl+L or commands with large output like ps aux, my terminal closes. I have set the scrollback to unlimited.