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

learn more… | top users | synonyms (6)

5
votes
1answer
59 views

A sleep script for Ubuntu server

Let's start from the beginning: I have a Pi which wakes up my server when a request comes in on tcpdump, and it works like a treat! My problem is that I want my server to sleep when there is no ...
4
votes
1answer
29 views

D missing from terminal keybinds - have to add it on every login

I have been running Ubuntu Gnome 15.04 on my Thinkpad T420 for a couple months now, and so far it has been great. However, A couple days ago my "d"(lowercase only) key stopped working in any terminal ...
4
votes
1answer
695 views

apt-get update fails in Ubuntu 14.04 due to GPG Error

I am currently on Ubuntu 14.04 (new to Ubuntu, migrated recently). 'apt-get install' works fine, and my connection is working fine as well. But when I run apt-get update, this is what happens 100% ...
3
votes
1answer
65 views

Installing latest version of wxwidgets

I am attempting to install the latest version of wxwidgets via the terminal. I followed these directions. However, when I navigated to the folder /usr/include, a folder was created called ...
3
votes
1answer
79 views

zsh: command not found after npm install in ubuntu

I have installed up to date version of node using: curl -s -O https://deb.nodesource.com/node_5.x/pool/main/n/nodejs/nodejs_5.7.1-1nodesource1~trusty1_amd64.deb sudo apt-get install rlwrap sudo dpkg ...
3
votes
1answer
136 views

How to autorun a ruby script in Ubuntu?

How hard can it possibly be to run a ruby script on startup?! Fairly tough apparently: I'm using rvm and running ruby 2.3.0. which ruby returns /home/ubuntu/.rvm/rubies/ruby-2.3.0/bin/ruby The ...
3
votes
1answer
31 views

Having trouble opening images in Ubuntu command line

When I'm trying to open an image in Ubuntu command line using the command eog filename.jpg, I get an error reading Cannot open display: Could someone please advise what else I need to run before ...
3
votes
1answer
37 views

How can I browse view missing manpages from the command line?

http://manpages.ubuntu.com is a great resource for viewing manpages not installed in the system. However, it uses some weird programming to redirect short URLs like http://manpages.ubuntu.com/ls.1 to ...
3
votes
1answer
1k views

proper syntax for grep: search a string, copy two rows above and transpose

Am new (2 days old) to Linux and grep and am stuck here. Scenario. I have data lasting more than 10yrs which I have been doing manually until I came across grep. The folders are of form \yyyy\mm\dd ie ...
3
votes
1answer
96 views

Why aren't any of my pings being returned?

I'm playing around with the ping command in terminal but for some reason none of the pings I send are received apparently, if I ping www.google.co.uk it is always 100% packet loss, even though I can ...
3
votes
1answer
92 views

Can't highlight in terminal with mouse

I'm on a fresh install of 15.10 and for some reason, I can't highlight text in the terminal to copy. It's really weird and I've never run into this before. The only thing a little different about my ...
3
votes
1answer
107 views

Bash Script for Dumping the Android Partition is not consistent

I really need your suggestion about my current problem. I am trying to dump the whole partitions on the Android with netcat. I have created 4 bash scripts for automation process. So, I only need to ...
3
votes
1answer
319 views

Extracting subfolders into a specific folder

I have a bunch of sub-folders with respective rar and 7z files. How do I extract all of these and tell the pipe to output to a specific folder?
3
votes
1answer
89 views

.desktop launches app with custom icon. why not shell?

I have a .desktop file that launches an app, and it uses the .desktop icon: [Desktop Entry] Name=My Ro Type=Application Comment=Web Application Exec=/path/to/myapp -test Icon=/opt/giteye/icon.xpm ...
3
votes
1answer
155 views

Export PATH and EMSCRIPTEN

I am confused about PATH setup. I was installing emscripten and following their tutorial. As the last step you export variables running source ./emsdk_env.sh This exports couple of things: ...
3
votes
1answer
2k views

How can I determine which fonts are installed from the command line, and what is the easiest way to install more?

There are many questions and answers regarding fonts on Ubuntu, but not so many dealing with Ubuntu for Embedded Linux, such as Beaglebone Black. I have not been able to locate any .ttf files in ...
3
votes
1answer
124 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 ...
3
votes
1answer
2k views

How to create a new logind session while running xinit from the console?

My current system boots to console and I do not want to use a display manager. After updating to Ubuntu 13.10, I realised that the ConsoleKit is no longer used for managing user logins and ...
3
votes
1answer
2k 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} ...
3
votes
1answer
574 views

How to Set a Value of Kconfig Option

I want to change the value of a specific CONFIG_... parameter (in here: CONFIG_ATH5K_DEBUG) inside Kconfig option. I use make menuconfig command, press / and type CONFIG_... to find its location. ...
3
votes
1answer
1k views

How do I reload system settings from command line on Kubuntu?

To better understand what I need: In systemsettings (KDE), in icon theme module, after I change the icon theme, I click apply. I need to know which command line I run to do the same when I click apply ...
3
votes
1answer
1k views

Embed terminal on desktop in Gnome 3.4

I'm wondering if it is possible to embed the terminal on the desktop under GNOME 3. 4. I would like it to be fully transparent, without any borders or shadows, basically to display just the text, even ...
3
votes
1answer
458 views

Terminal TTY Ctrl-Alt-F# not working, only prints junk characters

I'm not sure what I pressed to mess this up. I was on tty1, but it doesn't look like I'm on tty1 anymore. When I press any key on the terminal it just prints weird letters. Pressing Ctrl-Alt-F1 ...
3
votes
1answer
711 views

Lines disappearing intermittently from both Terminal and Emacs

I'm having trouble even finding the right search terms to diagnose this problem. It's also hard to reproduce on my own machine. When I enter a command in the terminal, occassionally I will see no ...
2
votes
1answer
22 views

USB stick read only when should be read/write

Sorry, another novice to Linux systems, but became tired of Windows. I am running Ubuntu 15.10 on a PC. Any time I plug in a USB key it defaults to read only and I am unable to copy anything to it. ...
2
votes
1answer
54 views

How to switch between input-source modes through Terminal?

I have looked at the answers to the question How do I change keyboards from the command line?, however I have found that even though they indicate how to switch input-sources through Terminal, they do ...
2
votes
1answer
45 views

Auto chmod and launch?

Is there a way to have all files chmoded and then launched automatically? Say when I have my pc off, I insert a usb stick with a game on it, a lot of random files need to be chmoded and then I would ...
2
votes
1answer
95 views

Running a GUI application on windows from an ubuntu server

I don't understand a lot about ssh so some help would be great. I want to be able to use the scipy stack and in particular the spyder ide on a windows or osx machine while connected via ssh to my ...
2
votes
1answer
36 views

problems with man pages

after trying to install man pages in italian language I get this error: man ls man: can't resolve /usr/share/man/man1/ls.1.gz: No such file or directory No manual entry for ls See 'man 7 ...
2
votes
1answer
49 views

Installation of software fail

now show this bash: /home/jonathan/.bashrc: línea 168: error sintáctico cerca del elemento inesperado `export' bash: /home/jonathan/.bashrc: línea 168: `esac export PATH=$HOME/xdman:$PATH' This is ...
0
votes
0answers
199 views

How do I download an email attachment in ubuntu terminal

So I'm new to linux still learning though. I've managed to set up a server to host a website and teamspeak server. The website (forums) automatically sends out emails if needed however I can't seem to ...
0
votes
0answers
59 views

Alt-Tab into certain applications results in ~3.5s keyboard input lag, but not touchpad lag

I'm on ubuntu 14.04. sWhen I alt-tab into certain applications, including gnome-terminal, Sublime Text 3, and LibreOffice Writer, there is an initial keyboard input delay of ~3.5 seconds. After that ...
0
votes
0answers
17 views

Getting message about not installed Sphinx

I try to use Sphinx, when I run: sudo indexer --all , getting the folowing: Sphinx 2.2.7-id64-release (r4883) Copyright (c) 2001-2015, Andrew Aksyonoff Copyright (c) 2008-2015, Sphinx Technologies ...
0
votes
0answers
256 views

Unable to connect to mysql server via terminal

My MySQL server is up and running. But when I try to connect to a DB by typing the command: mysql test I get the following: root@holy-pc:/opt/lampp/htdocs# mysql test mysql: ambiguous ...
0
votes
0answers
97 views

Samba Share In Guest Session

Easily when loging in Guest session you can just connect to s Samba Share using the GUI tool “Connect to Server”. Now back to this Location of "Connect to Server" mount in a guest session ...
0
votes
0answers
63 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 ...
0
votes
0answers
139 views

find only works with sudo?

I've been searching for a while now and I can't find an awnswer to this. Let's assume I created this dir /Desktop/things and I want to find it using find. If I do find . -name things -type d ( and ...
0
votes
0answers
234 views

Zentyal mailserver blocked new user cration more than one. So how to active unlimited?

Sorry, an unexpected error has occurred root command openchange_newuser --create --enable --mail techmgr@bharattesthouse.com 'techmgr' failed. Error output: params.c:pm_process() - Processing ...
0
votes
0answers
219 views

How to enable compiz d-bus plugin on command-line in 15.04?

I would like to enable the compiz d-bus plugin on the command line. Graphically, using ccsm it is easy: just open it and click on the checkbox. How can I do the equivalent on the command line? There ...
0
votes
0answers
173 views

Printer Share via Terminal

I've configured a printer share in Ubuntu and used Samba to share it with Windows, following this page. Every thing is working fine, but I have a couple of questions. Can I configure the Ubuntu ...
0
votes
0answers
148 views

Xinput command in autorun script doesn't execute

I use two monitors 15 inch and 19 inch. With the 15 inch I also use a touchscreen. I have to map touch events to 15 inch monitor with this command: xinput map-to-output 11 VGA1 11 stands for id ...
0
votes
0answers
1k views

Errors in Terminal trying to install Wireless Drivers

I'm trying to install the Linux drivers for a D-Link DWA-121 USB wireless adapter, found here: http://www.dlink.com/ca/en/support/product/dwa-121-wireless-n-150-pico-usb-adapter. I'm following the ...
0
votes
0answers
2k views

Ubuntu 12.04 Menu Bar overlap

I have dual monitors for my development machine. I usually have my terminal open fullscreen in my secondary screen as my IDE(vim) and when I click on my primary screen I get this super ugly menu ...
-1
votes
0answers
12 views

installing and booting MatterControl in ubuntu 14.04

I have apparently installed MatterControl on my msi computer running ubuntu 14.04. It states that it is run from the terminal but i cannot get it to work, I have the same problem with Pronterprint. ...
-1
votes
0answers
14 views

Aircrack-ng is installed, but aireplay is not?

I just installed aircrack, checked to make sure it was installed (which it is) then I ran the program I am using which uses aircrack along with aireplay. It is saying the aireplay is not installed. ...
-1
votes
0answers
15 views

ssh connection timeout event though I'm connected in the separate terminal

Problem does not occur during first few minutes after restart of the client machine. I'm accessing via ssh using key my remote server. I cannot connect to this machine from other terminals. When I ...
-1
votes
0answers
26 views

Virtualbox VM install console

I have just installed Virtualbox in my system. I have created machine and I have assigned bootable debian .iso to it. But how do I start the VM and how do I install the debian system into it from the ...
-1
votes
0answers
3k views

/usr/bin/ld: cannot find -l

I wannt to install a program on my Ubuntu (Ubuntu 12.04) but when I type "make" in Terminal, it has errors: /usr/bin/ld: cannot find -lgeant321 /usr/bin/ld: cannot find -lkernlib /usr/bin/ld: cannot ...
-2
votes
0answers
48 views

Warnings while running graphical apps as root

I would like to know which is the recommend way of running GUI applications as root, mainly because what I'm trying isn't running smoothly. I get some annoying warnings that makes me think whether I'm ...
-3
votes
0answers
39 views

no wlan0 and no interface on airmon-ng

I am new to linux and terminal. I don't know linux terminal basic behavior. I have backtrack 5 r3 installed on vmware workstation 12 player. I want to install compat wireless driver because there is ...