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

learn more… | top users | synonyms (5)

0
votes
2answers
31 views

Find and execute multiple scripts in parallel

G'day, I have tried to solve this problem all morning but have not had success. I would like to search for certain scripts in a particular folder and execute them all in parallel. The scripts have ...
1
vote
2answers
93 views

How can I get a list of supported Ubuntu releases from the CLI?

What's the simplest way to get codenames of currently supported Ubuntu releases for use in deb packaging? Like utopic trusty precise lucid for today.
0
votes
1answer
20 views

can't impliment firmware from command

Forgive my ignorance of command line utility, as I'm new to Ubuntu Actually I have to install a Tool already developed for WiFi application which give output of received packets. In that process i ...
0
votes
0answers
15 views

How do I make DockX autostart via UCK on Ubuntu GNOME 14.04?

I intend to customize a GNOME Ubuntu 14.04 ISO using UCK to include DockbarX. I want DockX to autostart systemwide. How do I do this from the command line? Note: if I don't thank people or ask ...
0
votes
1answer
44 views

Ubuntu 14.04 Gnome shell display changed. How to restore default

On ubuntu 14.04, default GNOME Terminal, its behavior changed. By example, when I do cd ~/Download/ I expect the following: But I get the following, without the username@computername:path$ Any ...
0
votes
1answer
20 views

How to fix ./configure command does not exist error on ubuntu 14.10?

I was installing tar.bz2 application (OpenFM) on my Ubuntu 14.10 and I followed steps listed on this website: http://www.makeuseof.com/tag/compile-install-tar-gz-tar-bz2-files-ubuntu-linux/ . When I ...
0
votes
0answers
26 views

How to execute command automatically when a specific directory receives a new file [duplicate]

I would like to execute a command when a specific directory receives a new file from an external server. The scenario is the following; a directory receives a new file. execute java command ...
0
votes
1answer
25 views

does every program have to go through the shell to complete the process they willing to make?

i have seen somewhere that "bash is used to communicate with the Linux kernel" is it take effect only to the terminal? or every program (including programs which has GUIs) have to go through the ...
0
votes
0answers
10 views

root access is being denied to maas files

I am trying to change the clock in the maas_local_settings.py file, and am logged in as the root but I am still being denied access to files. I tried opening other files as well but still cannot open ...
24
votes
7answers
2k views

Delete all files apart from pdf files in a directory

I have a directory that contains the following: x.pdf y.zip z.mp3 a.pdf I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no ...
0
votes
1answer
67 views

How to upgrade Xampp to the newest version

This might seem like a silly question but by golly I've tried and tried for a whole week and no results. I don't know if it's something wrong with my queries, or too much "Install Xampp" clutter in my ...
1
vote
0answers
20 views

Vim does not load coloerscheme 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 ...
0
votes
2answers
65 views

Run a browser on the active window

I have to lunch multiple browsers (thousands), but don't want to open a new window every time a browser is launched; instead, I need to open the webpage, process the content and go to the next. When ...
0
votes
0answers
34 views

Cant run android command from terminal

When I try to run "android" in the terminal I get this: android: command not found Here is my .profile # ~/.profile: executed by the command interpreter for login shells. # This file is not read by ...
1
vote
1answer
50 views

Problem with installing and compiling PHP 5.4.0

I have a VPS server on OVH Cloud, Ubuntu 14.04.1 LTS with plesk 12 installed. The server has been set up with the newest version of PHP , but Plesk can manage two different version of PHP in the ...
0
votes
0answers
14 views

How can I set my Ubuntu 12.04 LTS to boot to console without GUI? [duplicate]

In ubuntu14.04, i try the method following: command 1,$sudo vi /etc/default/grub then, change the following line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to the following line: ...
2
votes
1answer
142 views

How do I turn off the display [duplicate]

Is there any key kombination or terminal code that turns the display off? It should work like when you lock the screen: As soon as you move the mouse the display should turn on again (without the need ...
0
votes
1answer
37 views

compile a fortran code in an other server

I am a beginner in Linux. I have a Fortran code that I can run it in my own server,but when the same package is copied to an other server,it is not work. in my server i type this in terminal program: ...
0
votes
1answer
19 views

On unix file play

Lately i was working on command rm for removing useless file from my home directory.There was a file #abd# which could not be removed using simple rm command using either of the option -r or -f.I had ...
0
votes
4answers
63 views

How does one read the contents of a text file located on the desktop using the terminal? [closed]

I recently failed to properly upgrade from 12 to 14 and I'm having all sorts of GUI issues with Unity, Gnome & other interfaces as soon as I log in. I'm hoping to recover my files, backup them up ...
0
votes
0answers
12 views

Are there NLP tools for text analysis?

Are there any tools on Ubuntu that can be used for Natural Language Processing? I am not necessarily looking for R, python or java scripts (thought they could be valuable), but for command line tools. ...
0
votes
1answer
38 views

Run interpreted commands within sudo

The question is how to run generic commands which may contain ; && | < > << >> $ and so on within sudo. Possible solutions could be: To use interpreters within sudo sudo ...
0
votes
1answer
36 views

Ubuntu with only CLI image… No more GUI [duplicate]

I'm looking for ubuntu image which has only cli. I want install it on my windows pc through VM Box. I don't like switching from GUI to CLI or changing grub files. Where I can get pure cli ubuntu os ...
0
votes
2answers
40 views

grep to get compile error

I have created a simple c program and have left off a ';' on purpose to get an error. I want using the grep command to know whether the compilation was successful or not. I use: gcc test.c | grep ...
0
votes
1answer
34 views

Ubuntu touch terminal

From googling around I have noticed that Ubuntu touch does have a terminal program. I have the amd64 image of Ubuntu desktop next(15.04) installed in a multiboot environment.However I just can't find ...
1
vote
1answer
37 views

The colors when doing “ls” at my ubuntu server diappeared just like that

OK I know it's a super stupid question but driving me crazy! I just had new 14.10 VPS setup and while setting up some basic initial stuff in the terminal out of sudden "ls" command stopped showing any ...
-1
votes
2answers
301 views

ffmpeg & ffprobe & libfdk-aac on Ubuntu 14.10 server

How to install properly ffmpeg? (not a duplicate as most of the similar answers don't work properly) Normally i compile ffmpeg manually with the following guide ...
2
votes
1answer
86 views

Behaviour of symlinks

I successfully and not successfully created a symlink: I have two directories ~/foo and ~/bar Now I have a file called baz.txt in this path ~/foo. My aim was to create a symlink in ~/bar so I ...
0
votes
0answers
24 views

Input lag in terminal specific to the last character

The problem: Typing appears smooth and lag free when typing quickly, but taking a closer look, it seems as though a character is only displayed once either (1) the next character is typed or (2) a ...
0
votes
1answer
50 views

How to run XAMPP Shell in Linux

I know this is probably a dumb question for most of you - but I just recently installed ubuntu, installed XAMPP, run it(apache + mysql working) - now I'd like to use shell to run some of the php ...
0
votes
0answers
26 views

Bash question with system processes? Stopping and renicing “Java” processes

I play minecraft on linux, and I would like to make a Bash script that does two things. First, I would like it to close the minecraft launcher's process. Secondly, I would like it to renice the ...
0
votes
0answers
22 views

What is the easiest way to connect to a linux terminal through (Ham) Radio?

I will be traveling in the Atacama Desert, at times away from the main internet, and I would like if possible to execute some simple commands on my linux server while I am there. Although Ham Radio ...
0
votes
0answers
53 views

Problem with words in Terminal

I have problem with Words in terminal like this pix any one can help me please
0
votes
1answer
39 views

How to auto load source file on bash startup?

I recently installed Ruby Version Manager (RVM) to make use of the command called compass. Initially it was working find on installation, but now I get a missing error: The program 'compass' can be ...
2
votes
1answer
72 views

How to close only one window of an application?

I know that if I get the sid through : ps -ax | grep firefox and use : kill -9 "sid" I will close all the windows of the program. How can I close only one window of an application running through ...
-1
votes
1answer
79 views

Compressing a folder (tar) without its containing directory in the foldername

I am trying to compress a folder with tar command. When i trying to compress it , it works fine the problem is with the file name. source path : /data/file/ destination path : ...
-1
votes
0answers
21 views

how to list all subfolders from multiple drives [duplicate]

Can I list all subfolders from multiple external drives in one single txt/doc output? Can the list be ordered alphabetically?
3
votes
0answers
38 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 ...
0
votes
1answer
33 views

command to print out list of folders from multiple drives

Is there a CLI command to print out in alphabetical order (but in one single txt or spreadsheet) the list of folders contained in different hard drives? For example, lets say I have this ...
0
votes
0answers
23 views

Error keeping me from installing multisystem

I need some help on an important thing. You see, I have a Windows XP laptop that lost some system32 files and the only other laptop here is a Kubuntu notebook. I need to install Multisystem, and i've ...
0
votes
0answers
9 views

How to deploy nodes quickly?

I want to know how I can deploy a lot of nodes via PXE-Boot very quickly and then run a command on each node, for example to start the lokirender grunt for rendering. I would really like to use ...
0
votes
2answers
52 views

Command line file sorting, copying

Copied from my terminal . . . dan@Silver:/media/dan/RAID/MUSIC$ grep -r '.mp3' ./ > cp *.mp3 /home/dan/Music/ grep: input file ‘./cp’ is also the output I have a music collection on an NTFS ...
0
votes
0answers
22 views

Run cron job to execute a script when a particular file is updated

I would like to automate a process which requires running a script to generate some files. To do this I thought that adding a cron job to run this script would be great. But I want cron to run the ...
0
votes
1answer
34 views

Wrong password in Terminal

I'm new in Ubuntu's world and I have a quick question (hope it doesn't repeat): I want to download some restricted files for watching movies online but there's a problem, it wants to introduce a ...
0
votes
0answers
12 views

Terminal output wont clear automatically. Ubuntu server 14.04.1

I need some help to get this sorted, it's really annoying and i cant find anything related on the web. As you can see on the pictures, stuff wont close\clear automatically like it should. I need to do ...
0
votes
0answers
46 views

libkmod: Error ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe./blacklist-nouveau.conf line 5 ignoring bad line starting with 'alia'

libkmod: Error ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe./blacklist-nouveau.conf line 5 ignoring bad line starting with 'alia' Phone picture of error ...
3
votes
4answers
249 views

How to select and print IP address from a set of strings?

I have a sentence whic contains an IP address. For example, This sentence contains an ip number 1.2.3.4 and port number 50, i want to print the IP address only. From the above sentence, I want to ...
5
votes
2answers
362 views

Is there a utility to extract/compress files using any type of archiving algorithm?

Usually I use tar for *.tar archives, zip/unzip for *.zip, 7z for *.7z , etc... Is there an über utility that combine all algorithms? Here is pseudo usage of this utility: Extracting: $ unpack ...
0
votes
1answer
38 views

Files deleted as root, But disk space is not available

I entered the following command sudo nautilus /home/ in terminal and copied a 2GB movie to the /home/ directory. So, my home folder contains two folder : User directory (/home/User) Movie directory ...
10
votes
3answers
674 views

What does $PATH mean?

I am trying to install something and among the steps there was this one: "Place it on your $PATH" What does this mean? What is that? I have searched both this site and on Google but everyone just ...