Tagged Questions

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

learn more… | top users | synonyms (5)

3
votes
0answers
17 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
14 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
7 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
11 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
39 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
13 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
24 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
9 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
13 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
224 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 ...
4
votes
2answers
277 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
14 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
21 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 ...
6
votes
2answers
438 views

What $PATH means?

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
63 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
25 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
31 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
23 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
15 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
21 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
23 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
72 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
38 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
24 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
162 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 ...
8
votes
2answers
658 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
35 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
18 views

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

I need the steps for installing virtual machine on ubuntu 13.10(base machine)? can you please resolve my problem.
1
vote
0answers
36 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
48 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
41 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
29 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 ...
0
votes
0answers
10 views

I can't get to the bootloader on my LG G2 [duplicate]

Every time that I type in the command '$ adb reboot bootloader' in my terminal while my G2 is connected to my computer instead of reboot in to the bootloader it just turns off and reboots as normal. ...
2
votes
2answers
205 views

Run a standard command in bash script

I am writing a bash script to automate several actions: #!/bin/bash echo "Hello, World" NAME="${1}" PATH="${2}" echo $NAME echo $PATH eval "ls" I am going to call ls, ffmpeg and a lot of ...
-1
votes
0answers
24 views

Changing fonts and colors in Minimal Ubuntu

I am running a Minimal Ubuntu 14.10 installation in VMware Player 6.0.4. This is a CLI-only environment and the terminal emulator it uses is TTY. I have a Helvetica TrueType font file that I extracted ...
-1
votes
1answer
22 views

install 'Line" in ubuntu 14.04 64 bit using wine

im using ubuntu 14.04 with the 64-bit version. i have a problem when i tried to install "LINE" using wine. in the article i have read, it says that i have to download a package file, so i download ...
2
votes
0answers
33 views

Ubuntu 14 command line printing impossible but fine through gui

If I try to command line print any file using lp or lpr, I get a "no pages found" error in CUPS. Tried also as SUDO, no go. But if I print from any application (text editor etc) it prints no problem. ...
1
vote
3answers
141 views

How to get the path to a file in your system [duplicate]

I am trying to cd /home/ervin/Downloads/psneuter in order to push psneuter to an android phone in order to root it. I believe the path to the file and folder is correct, yet I get a message no such ...
0
votes
0answers
33 views

Unable to run python firstprog file from Desktop in python cmd [closed]

I have followed a lecture on installing python and so far I have been unable to resolve this recurring issue. When I mirror the instructional video I get one of two errors. The first error This ...
-1
votes
2answers
31 views

multiple file rename based on date

I have looked on the web on multiple sites but I can't seem to find a solution and the man page is not clear (I'm a beginner with the CLI). This is my problem: I have about 200 files in a directory, ...
0
votes
2answers
30 views

Insert text into file

I'm trying to insert some text into a file on a specific line which I have managed to do with sed the below being inserted into line 34 of the txt file. sed -i "34i some text" name_of_file.txt The ...
3
votes
1answer
337 views

How do I delete all pop/rap music?

I have all the music stored in ~/Music and I want to delete all pop music (or it could be a different genre). I was thinking to look the song metadata to check and see if a song is pop, and then ...
1
vote
0answers
31 views

how to encode a shell script so others can run it but they can not read it

I want to encode a script, so others can run that script to get relevant result but when they run command cat it should throw output in encoded format.