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

learn more… | top users | synonyms (5)

4
votes
0answers
38 views

Open terminal in current directory with tmux

I have a simple .bashrc file at the moment that allows me to always open the same terminal (reopen, actually) running tmux. The important part is shown below. The essence of this is that when you ...
4
votes
0answers
45 views

Launchpad: CLI “Copying packages”

I'm using Launchpad to upload a .dsc, a debian.tar.gz and a .orig.tar.xz. The orig archive contains both i386 and amd64 files, and I use debian/rules to build different architecture packages. But it ...
3
votes
0answers
24 views

Connect to a VPN with a password from the commandline

I can trigger the start of connection to my VPN by saying nmcli con up id WORKVPN But I have an RSA SecurID that is part of the authentication, which means I can't store a password. Without a ...
3
votes
0answers
339 views

Access local ftp

I was using ubuntu 10.10. I had a strange situation where I was setting up a small network all with fixed IPs. I had a NAS drive that I had enabled ftp on. when I used the connect to server menu ...
2
votes
0answers
15 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
12 views

How to reset errornous font in promt and output of gnome-terminal

I'm experiencing replacement of all occurances of certain characters in the prompt and output of gnome-terminal (3.6.2 in Ubuntu 14.04), e.g. (latin d is replaced with some kind of uppercase D in ...
2
votes
0answers
82 views

ls on home directory very slow

A while ago, I accidentally created hundreds of thousands of files in my home directory which I subsequently deleted. Since then however, running ls in my home directory has been extremely slow ...
2
votes
0answers
21 views

How can I choose the audio output device using the terminal?

I have a digital headphone set and an analog pair of speakers. Is there a way for me to switch between them in the terminal in Ubuntu? I ask that because I would like to create a keyboard shortcut for ...
2
votes
0answers
43 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
240 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
195 views

Maximum terminal resolution in ubuntu server virtual box guest

I have a VM machine running ubuntu 14.04 (guest) on a Win7 host. I currently have the resolution of the server set to 1024*768 by adding this GRUB_CMDLINE_LINUX_DEFAULT="splash xvga=1024x768x24" ...
2
votes
0answers
24 views

tar delete progress not shown?

I was trying to use tar command , --delete option and met some problems. There are two things I don't understand: when using --verbose option with combination of --delete option, nothing shows as ...
2
votes
0answers
68 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
87 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
38 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
188 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
35 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
373 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
134 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
312 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
140 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
92 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
226 views

Is it possible to rotate a video using avidemux command line?

I have a number of video files (MOV) which I only need to rotate 90° clockwise. As it may be needed in the future as well, I first tried using ffmpeg and then mencoder command line in a Nautilus ...
2
votes
0answers
145 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
218 views

With gpg --verify, how do I distinguish valid signatures and valid signatures from trusted keys programmatically?

I want to write a script that runs gpg --verify to check a signature. The gpg command returns 1 for invalid signatures and 0 for valid ones. But it gives different output for keys that are in my ...
2
votes
0answers
746 views

Generating a single LaTeX file by merging different LaTeX files

I have a main LaTeX file which inputs many other LaTeX files i.e. for example \documentclass{article} \begin{document} \input{input1.tex} \input{./Input_folder_1/input2.tex} \input{input3.tex} ...
2
votes
0answers
141 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
435 views

How to mount an external hard drive as root?

I recently changed my external hard drive so that it can be read/edited by all, not just myself. In doing so I think I made it so only the root user can mount it. When I tried to mount it today I got ...
2
votes
0answers
739 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
250 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
539 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
134 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
375 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

App not opening from terminal after installation

I'm trying to install Leksah IDE. I followed the instructions on the leksah website and it said it installed correctly, but now it won't open. After installing, I entered: jase@Jase-PC:~$ leksah ...
1
vote
0answers
23 views

Problem with `sudo airmon-ng start wlan0`

I have Ubuntu 14.04 on Macbook Pro. I've tried to run: sudo airmon-ng start wlan0 then the result was: Found 5 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops ...
1
vote
0answers
28 views

Command to send SMS from terminal Using Kannel + SMPP

I have Installed the kannel on my server, configured the kannel file as per the requirement. Started the Bearerbox and SMSBox, both boxes are running fine. Now I want to check if the SMS is being ...
1
vote
0answers
19 views

Cannot install Tux the Penguin: A Quest for Herring

I get this error when running configure: loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether ...
1
vote
0answers
60 views

Cannot login on my ubuntu 14.04

I left my laptop on for a night while I was downloading some songs but when I woke up it was shutdown and when I tried to restart it I came to the login window normally. Now when I try to login as a ...
1
vote
0answers
17 views

Weird problem: can not connect network until a terminal is opened in Live system

Live system based on ubuntu server 12.04.2 with manual installed X and openbox. startx is in a shell script which is called in /etc/rc.local with su -l root -c /scriptsFolder/script.sh A program is ...
1
vote
0answers
44 views

Configure privacy settings via the command line

I am trying to compile a script to run upon booting a network attached computer (which has no hard drive and therefore is a new computer upon every reboot) to configure all settings. Because it will ...
1
vote
0answers
26 views

Why is this error occurring when extracting sfx files?

I'm trying to extract an .sfx file. but when i use the chmod u+x command, I simply recieve this output. Please help me. I'm a noob with ubuntu, and linu ...
1
vote
0answers
38 views

Thunar, open in terminal does not work in sftp or ftp

Thunar has "Open terminal here" option just like nautilus when you install "nautilus-open-terminal" package. My problem is it does not work when I connect to sftp. I need this very often. How do I ...
1
vote
0answers
53 views

Transparency of terminal

How to make terminal transparent in UBUNTU 14.04. Actually I want to make my ubuntu terminal transparent but the solution given for the same question is not applicable because the given thing that to ...
1
vote
0answers
18 views

scrolling inside the screen command

I am trying to use screen command in Ubuntu. While the basic functionality works fine, I am having trouble while scrolling when I use split window functionality. Here is the scr file I created. ...
1
vote
0answers
19 views

Is there a command to get the location of a file which I have clicked and am dragging?

I want to be able to drag a file to the edge of the screen, and a command that gets the location of the file I'm holding. I know how to get it to run the command when at the edge, I just don't know ...
1
vote
0answers
93 views

receiving “command not found” error messages after fresh reinstall of Lubuntu 14.04

Lubuntu 14.04 was working really great. . .until I messed up and had to do a complete fresh reinstall. Now I receive error messages when I input commands into the Terminal, even after immediately ...
1
vote
0answers
53 views

Reaching a login limit over SSH - How can I open more than 11 sessions?

I have a SSH connection to my Ubuntu VPS. I use it to create a proxy tunnel and it works well. I use Nethogs and "w" command to monitor the traffic. Nothing bad happens until I reach @pts/11. When ...
1
vote
0answers
140 views

how to Connect BlueTooth device running Serial Port Profile (SPP from command line

I have the device with Blue-Tooth on the board. The firmware in the device runs Serial Port Profile (SPP) stack on it. It works well when I connect to this device from my laptop by means of ...
1
vote
0answers
44 views

On Trusty, what is CL program to create desktop configuration file?

On Precise, I used to create a desktop configuration file with my own GUI wrapper which called the gnome-desktop-item-edit command line program (part of the gnome-panel package) which had the ...
1
vote
0answers
28 views

set up windows on a workspace

I'd like to set up a command that can restore all of my windows after a reboot. I typically have a set of windows per workspace (multiple monitors) for a particular task. After I reboot (which is ...