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

learn more… | top users | synonyms (5)

0
votes
2answers
39 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 ...
0
votes
0answers
7 views

arm-none-eabi-gcc not found error

I've installed (ubuntu 10.04) arm-none-eabi-gcc (with libc-avr, avr-gcc and so on), using command apt-get install, but when I try to compile something I get the following error: --- Making ...
2
votes
1answer
68 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
11 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
9 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
19 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
20 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
39 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
19 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 ...
0
votes
1answer
46 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
18 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
27 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
25 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
9 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
6 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
0answers
13 views

How open c++ qt prog in new process [on hold]

Got simple console c++ app, it takes 4 parameters. How can I open 2/4/8 times with different data, each for new terminal? Need option to change nice value, so system() can't be. Or how to output PID ...
0
votes
2answers
45 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
15 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
26 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
11 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
15 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
231 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
307 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
0answers
16 views

More productive way of navigating files and folders in huge source code?

How do you navigate files and folders in productive way? I need to jump back and forth all over the huge source code. I want it to be little more productive than now. Here is the alias I am using. # ...
0
votes
1answer
22 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
2answers
547 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 ...
3
votes
2answers
65 views

Redirecting output to a variable?

I'm interesting in directing the output from two commands to a variable. I don't want the output to be displayed on the screen, but instead assigned to a variable within my script so that I can use ...
0
votes
1answer
27 views

Can I install pantheon terminal in ubuntu 14.04?

Is it possible to install Pantheon terminal from elementary os on my ubuntu 14.04? If yes, how can I?
0
votes
0answers
33 views

Packages are not installing [duplicate]

I am not able to install any packages using terminal. I used: sudo apt-get install <package-name> and sudo aptitude install <package-name> Both give me the same type of error. For ...
2
votes
1answer
25 views

'Closing' (hiding) terminal without clearing it

So I'm using always on top and on active workspace with transparent background (you see where it's going), and I'd like to be able to just close terminal, and next time I open it to resume work. e.G. ...
0
votes
0answers
17 views

videos that are captured by commands in terminal, run very fast when played

i use this command to record my screen avconv -f pulse -i default -f x11grab -r 15 -s $(xdpyinfo | grep dimensions | awk -F ' ' ' { print $2 } ' ) -i :0.0+0,0 -acodec libmp3lame -vcodec libx264 ...
0
votes
1answer
22 views

Terminal bug? Mixed up characters

I am using Ubuntu 14.04 and I am having a character problem with my terminal. This is my terminal when I write a short command and this is my terminal when I write a command with more than the ...
-1
votes
0answers
23 views

cant update error message [duplicate]

Every time i type sudo apt-get update it gives this error: W: Failed to fetch http://ppa.launchpad.net/docky-core/stable/ubuntu/dists/utopic/main/binary-amd64/Packages 404 Not Found W: Failed to ...
0
votes
2answers
25 views

Set custom added PATH vars to work in each Terminal session

I ran these 2 commands simply in the terminal: export PATH="$PATH:/home/milkncookiez/Developer/android-studio/bin" export PATH="$PATH:/home/milkncookiez/Developer/PhpStorm/bin" in the 2 bin folders ...
0
votes
1answer
46 views

shuffle filenames inside a folder and place changes in a text file [on hold]

I need to shuffle all the files placed inside a folder and keep track of all changes that have been made in a text file. The generated output will be same set of files with new names like ...
1
vote
3answers
74 views

copy n number of files from one folder to another folder

I have a folder of n number of files. I need to move n/2(or)n/3 files from that folder to any other folder. How to set the value of n so that it will move exact those number of files?
0
votes
1answer
42 views

Configuring youtube-dl

I want to configure youtube-dl, that it downloads only audio files in mp3. and in its help it shows the following line: You can configure youtube-dl by placing default arguments (such as ...
1
vote
1answer
27 views

Bash: what is the meaning of ${parameter##word}

I'm working on bash code and I found a function CheckOtherFiles that I guess is used to check if a file ($1) is more recent from file $WS_ROOT/$NomeVista/COMP/COMP_COMPILE. CheckOtherFiles is called ...
0
votes
1answer
167 views

No such file or directory, ubuntu 14.04.1

it's my first time i'm using ubuntu and i've got some problem that frustrating me. i'm running ubuntu 14.04.1 LTS. my problem is when i try to access desktop or any folder at my home directory, it ...
11
votes
3answers
790 views

Is there any default function/utility to prompt the user for yes/no in a Bash script?

Sometimes I need to ask the user for yes/no to confirm something. Usually I use something like this: # Yes/no dialog. The first argument is the message that the user will see. # If the user enters ...
0
votes
1answer
42 views

VLC instalation problem

I am completely new to Ubuntu, wanted to install VLC it wasn't working, updated system, than upgraded it, but still it isn't working. I used both the Ubuntu Software center and the Terminal for that. ...
0
votes
1answer
22 views

how to install virtual machine on ubuntu 13.10 (base machine)? [closed]

I need the steps for installing virtual machine on ubuntu 13.10(base machine)? can you please resolve my problem.
1
vote
0answers
42 views

Mounting Android and copying files over MTP truncates files by 32 bytes

Nexus 5 with stock Android 4.4.4 Ubuntu Desktop 14.04 LTS If I plug my phone into my computer, it's automatically detected and mounted. Using nautilus I can navigate to my DCIM/Camera folder and ...
0
votes
1answer
27 views

HELP I changed permissions nothing works and I got locket out [duplicate]

I ran this command sudo chown -hR root /. and now flash is disabled, chrome does not work, nothing works, I cannot even access folder directories outside of the terminal. I then logged out and tried ...
-1
votes
3answers
43 views

make ls list all FILES prefixed with ., but not directories

I am trying to develop a more advanced ls. On my git directories, it is common to have files like .gitignore, .bowerrc, .buildpacks, etc. However, I also get directory listings with ls -ap, such as ...
1
vote
1answer
50 views

Change from qwerty to azerty in command line

I start my command line in Ubuntu but if I type anything my keyboard is in qwerty. I want to change it to azerty. Is there a command that I can use to change it? If I go to the GUI of ubuntu, my ...
0
votes
0answers
13 views

set wallch interval with the command line

How do you set wallch interval between image transition with the command line? currently I am using the following startup command: bash -c 'sleep 2 && /usr/bin/wallch --none --start' ...
1
vote
2answers
38 views

What can I safely remove from Ubuntu and still have a decent graphic interface?

I have come to like Linux, Unix, and the GUI's but sometimes I remove too many things and lose the ability to boot back into the same interface I was using before I rebooted. most of the time I have ...
1
vote
2answers
48 views

Ubuntu 14.04 Login Loop from running startx in root

I made a really big mistake and no other articles seem to be fixing this. I was trying to fix my new Ubuntu laptop that I bought because it has the username defualt (spelled wrong) and I didn't like ...
0
votes
2answers
32 views

Resetting Fstab on 14.04

Heres the thing, my windows operating system 8 crashed due to a virus(so i assume)..It got the blue screen of death. I tried everything to recover it and nothing worked. So i decided to install ubuntu ...