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

learn more… | top users | synonyms (5)

5
votes
0answers
80 views

Pressing enter produces ^M instead of a newline

For example, if I am tail -fing a file or reading user input, <Enter> will produce ^M in the terminal instead of ending the read or adding a newline to stdout. ^J works fine. I'm sshing into ...
3
votes
0answers
274 views

Terminator - Not able to view images in w3m

I was playing around with w3m (command-line browser), and found that it was not able to display images when run from Terminator or gnome-terminal. But, when run from xterm, it is able to display ...
3
votes
0answers
319 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
23 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
25 views

Open Remote Terminal Location from Nemo in Ubuntu 13.10

In Nautilus it was possible to build up a ssh connection to a remote server via passphrase. Then you could bookmark the address and go there really fast. This still works in Nemo with Ubuntu 13.10. ...
2
votes
0answers
44 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
25 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
139 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
27 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
113 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
119 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
77 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
195 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
129 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
373 views

Terminal command with sudo takes a long time

I noticed that the terminal recently becomes too slow when I execute a command that needs my password. It takes some seconds to display [sudo] password for ...
2
votes
0answers
180 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
486 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
132 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
376 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
711 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
238 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
121 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
343 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
20 views

PAM authentication using ssh key instead of password

When I try to use chsh to change my default shell, I get prompted for my user password. The problem is I log in using my SSH key and do not have a user password - by design. Yes, I can set a ...
1
vote
0answers
12 views

imwheel bug, scrolling doesn't work in terminal

I'm using 'imwheel' on Ubuntu to increase scrolling speed of my mouse wheel. Here is the configuration file: ".*" None, Up, Up, 3 None, Down, Down, 3 While it works fine in ...
1
vote
0answers
57 views

What is a good alternative to the sux command?

With the coming 14.04 release sux (wrapper around su which will transfer your X credentials) is no longer included in Ubuntu. (I think it is being removed because it is being pulled from Debian, ...
1
vote
0answers
41 views

Can I open a new terminal with a new binary executing in it?

I tried to write a script that opens a new xterminal with some binary file(not command) running in it.The whole script looks like this: #!/bin/bash XTERM="/usr/bin/xterm -bg WHITE -e ...
1
vote
0answers
16 views

rename app stops running from toolbar

After installing some apps, I wanted them to open via the terminal. Unfortunately Ubuntu uses names for these new apps that are hard to remember. I renamed my file by: mv ¨old file directory/old ...
1
vote
0answers
70 views

Problem with characters encoding in bash in 12.04 new install?

I just installed Ubuntu 12.04.4 64 bits, all seemed to be ok, when I started to work on console I noticed: that I couldn't get some accented characters typed in to the console, for example, if I ...
1
vote
0answers
22 views

Pastebinit not working correctly

I'm trying to use pastebinit and I can't figure out how to paste something to my account : cat helloWorld.cpp | pastebinit -u TheWalrod -p ******* -b http://pastebin.com -t test This pastes to ...
1
vote
0answers
131 views

Fontconfig error

I downloaded the Linux version of Portal from Synapse Wireless and it came in a .dep package. So I thought it should be easy to install and run. well, it was easy to install but when i try to launch ...
1
vote
0answers
133 views

Create launcher shortcut for RDesktop

I am trying to create a 'shortcut' that I can pin to my launcher in Ubuntu 12.04.3 LTS that will lauch an RDesktop session. It works fine from the command line thus: rdesktop -u UserName -d Domain ...
1
vote
0answers
31 views

Make CronTab not asking for id_rsa keyword when running in terminal

I like to do some git pull inside a script and see see output of it. So I made up this cronjob to test: DISPLAY=:0 * * * * * mike /usr/bin/gnome-terminal -x zsh -c "/var/www/up.sh; zsh" ...
1
vote
0answers
13 views

Data from parallel port

I'm trying to receive data from a paralell port. Is this possible with GNU screen or another program? Thanks in advance
1
vote
0answers
77 views

How to improve tesseract performance?

By all accounts, tesseract is superb. However, my results are dismal. I need to convert (digital, as opposed to from a book) text that I only have as a png. For instance: 2 3 academics 1 1711 2 ...
1
vote
0answers
50 views

“Command not found” when running a program

I downloaded the Citrix receiver for Linux 13.0 (I'm running Ubuntu 13.10 64bits) from http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-130.html. I unpacked it using alien, but ...
1
vote
0answers
203 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 ...
1
vote
0answers
64 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 ...
1
vote
0answers
73 views

How to install network drivers via terminal?

I have a PC with: 32GB RAM 1T harddisk 8 core cpu ubuntu server 12.04 I installed virtualbox and created four VMs. I think my mistake was I didn't leave any space for the host so I got "The ...
1
vote
0answers
75 views

AMD Underscan on CLI

SO I installed Ubuntu 13.04 minimal from a server installation. CLI worked fine, and I added Xorg and XBMC so I could have a CLI server, but the option to start X and login using XBMC-Live. I have an ...
1
vote
0answers
87 views

Remove startup password when default login is command line

When I boot up my computer, it goes straight to the command line. I modified /etc/default/grub file from GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to quiet splash text. Can someone please explain ...
1
vote
0answers
67 views

Unable to Ping From Ubuntu Server 12.04 Terminal

I used mode_switch and was able to connect my 3G USB dongle with Internet, i am also able to download that data, but unfortunately i am not able to Ping any Website Any Suggestion ?? No pinging of ...
1
vote
0answers
109 views

32bit program on 64bit Ubuntu fails when using linux 32 before setup.sh

When I try to install a 32 bit program on ubuntu 13.10 64bit it falis. My command is as follow: linux32 ./setup.sh Output is: The setup program seems to have failed on x86/unknown Fatal ...
1
vote
0answers
48 views

fish shell: “shopt -s dotglob” analog

I'm trying to migrate from bash to fish. What is the fish's analog to shopt? I'm trying to imitate this line from my .bashrc: shopt -s dotglob # for mv * see hidden files
1
vote
0answers
45 views

Gnome3 runs faster when running game

I'm having a bizarre, and kind of funny, "problem"(if you can call it such). Ordinarily, Gnome shell is quite choppy on my system. Sure, it's smooth "enough" and fast "enough" but it most certainly ...
1
vote
0answers
154 views

Ampl: installation problems

I'm trying to install Ampl but I encountered some problems. I'm following these instructions: www.netlib.org/ampl/student/linux/README I downloaded ampl.gz and cplex.tar (from ...
1
vote
0answers
34 views

Running PSPSDK error

When i go to use PSPSDK which is correctly installed into my system, I get the Following error. I have tried reinstalling the libgmp3-dev but that didnt work, and I have tried creating a link using ...
1
vote
0answers
152 views

show C output in gedit's embedded terminal

I use gedit to write simple C code (learning basic C now). There is a plugin to embed terminal into gedit, like: I want to have a shortcut key, say F5 to compile the current .c file (gcc -o ...) ...
1
vote
0answers
29 views

Gnome Terminal loads slowly

My problem story is this: after restarting many times PC, because of Memory problem and replacing with new memory when Ubuntu stop booting with this error:"initramfs" to fix this problem I used Ubuntu ...
1
vote
0answers
188 views

Fresh installation of 12.04.3 or 13.04 always boots to terminal/graphical boot fail (AMD)

I'll just say that I am not experienced with Linux, and I've attempted to install Ubuntu on my Windows 8 UEFI laptop at least ten times this past month. I've tried the LTS 12.04 version which greeted ...