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

learn more… | top users | synonyms (5)

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
144 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
39 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
70 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 ubuntu 12.10 to 14.10 and I'm having all sorts of GUI issues with Unity, Gnome & other interfaces as soon as I log in. I don't have access to most basic ...
0
votes
0answers
13 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
42 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
37 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
35 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
485 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
88 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
30 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
56 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
46 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
75 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
88 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 : ...
3
votes
0answers
40 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
34 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
27 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
11 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
54 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
23 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 ...
3
votes
4answers
250 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
366 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
40 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
678 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
78 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
89 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
34 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
26 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
20 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
28 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 ...
0
votes
2answers
34 views

Set custom added PATH vars to work in each Terminal session [duplicate]

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 ...
1
vote
3answers
95 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
84 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
33 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 ...
4
votes
1answer
96 views

gedit top menu invisible when started from terminal and using x11-Forwarding

Given: I'm using export $(dbus-launch) in my /etc/bash.bashrc file as I'm normally running under a non-admin user and need to su - admin to do anything dangerous. Normal behaviour: Go to dash, open ...
0
votes
1answer
252 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 ...
14
votes
5answers
926 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 ...
1
vote
3answers
174 views

VLC instalation problem (Installing through Terminal)

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. ...
1
vote
0answers
102 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
33 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
vote
3answers
59 views

List hidden files but exclude directories.

Is there a way to list files, but not directories, prefixed with a . (hidden files)?