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

learn more… | top users | synonyms (5)

0
votes
0answers
7 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
10 views

Shell script does not run when I double click

I have made a shell script (test.sh) on my Lubuntu (15.04) desktop. Permissions are: Only owner (View content + Change content + Execute). When I double click test.sh, I choose "Execute in Terminal". ...
1
vote
1answer
24 views

help with email commands

enter image description hereI want to send emails from my Ubuntu pc to other pcs on internet. I also have an account on yahoo.gr ,there are some commands like ssmtp or mail or mutt but they don't work ...
1
vote
0answers
20 views

How to enable cut or copy-paste in xterm

I regularly uses xterm for web browsing because of its image rendering property but the one thing which makes xterm difficult comparing to terminal is the copy/cut paste availability in terminal ...
0
votes
1answer
7 views

Converting .264 to .avi at once

I would like to convert all files at once to uncompressed .avi files that are at a pixel dimension of 704x480. (which are .264 from 264s folder). I have tried this code, but doesnt work. for ...
1
vote
1answer
10 views

Unable to find “testdisk” or “testdisk-dbg” packages in 15.04

Hello after a first installation 15.04 working at best, even better than manjaro + now it seems that there were some attacks (as usual) and by this the ppa or sources.lists are a bit affected + how do ...
0
votes
0answers
25 views

avconv and codec parameter problems with Youtube-dl

I've been recently having some problems downloading youtube playlists. I'm quite ignorant with Linux and can't quite figure this out. I'll download a playlist and it will usually work for a couple ...
0
votes
2answers
52 views

Easy configuration of dual monitor? [duplicate]

I recently bought an external monitor which I use in Portrait mode attached to my laptop. With quite some regularity I have to connect/disconnect it monitor (I work at home and often need to move to ...
0
votes
1answer
9 views

Mozilla NSS building

In this instruction :"In order to start the build process, use "cd nss" and execute "make nss_build_all". By default this will produce a build in debug mode and for a 32-bit architecture. You may set ...
0
votes
1answer
18 views

Why I get “Cowardly refusing to create an empty archive” with TAR command?

I'm trying to follow this tutorial to full backup my linux / Ubuntu 12.04 after a fresh restore. my code in fullserver.sh : tar -cvpf /backups/fullbackup.tar --directory=/ --exclude=proc ...
1
vote
1answer
14 views

My software sources are selected as ubuntu old version 12.something while installing adobe reader [duplicate]

My software sources are selected to an old version of ubuntu while installing the adobe reader and im using ubuntu 14.04 LTS.now i am getting a notification in the above system tray that says "The ...
0
votes
2answers
25 views

terminal auto complete doesnot work in adb command

I'm using Ubuntu 14.04 (updated), in terminal, auto complete works well but when I'm using adb command in terminal, auto complete does not work anymore..
1
vote
1answer
27 views

Where is the manpage of the set builtin? [duplicate]

When I type the command man set It gives the postgresql 9.3.6 manpage documentation of the set command. (May be I need to precise that I have postgres installed in my machine). However, I am not ...
1
vote
1answer
25 views

How to create log file from a command (through alias)

The call is simply ud typed in a terminal. ud is defined as the following in my ~/.bash_aliases: alias ud='sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade ...
1
vote
4answers
51 views

Output a list of all file names in a directory with the last 5 characters removed from each

I have a directory that contains files with names, 00004.time, 00010.time, ... There is not pattern except the format, <5 decimal digits>.time I would like to output to a file, just the ...
3
votes
1answer
24 views

Parsing output of lsof or lshw to awk

I've noticed that lshw and lsof both take minute to load its output, and if I pipe their output to be processed by awk, I get the help message from awk and then . . . nothing from the first command. ...
3
votes
2answers
37 views

Ctrl+C command is not terminating infinite (while) loop

I have this little script. When I start it and the terminal has the focus Ctrl+C stops feh and then the while loop starts feh again. I am expecting that, as long as the terminal(!) has the focus, ...
0
votes
2answers
21 views

Is there a command to see all of a user's settings similar to the information displayed in the GUI?

I'm kinda a newbie to ubuntu (only been using it for about 6 months) and I love it! I have been trying to get used to the terminal interface and I use it for a lot of things relating to securing my ...
5
votes
5answers
557 views

What can I do in order to change the “.33” value into “0.33”?

I want to compare the value against 0 and it tells me that it is less than 0. I used solution=`echo $a / $b | bc -l` This issue occurs only when "a" is less than "b".
6
votes
8answers
172 views

Access individual lines of a text file and create separate text file with that name

I have two text files (say text1.txt and text 2.txt) both with same number of lines. Ex. text1.txt contains 4 entries 0127H 0132H 0982H 1772H text2.txt contains 4 entries stev mary beautiful ugly ...
3
votes
3answers
55 views

How to close a new firefox window from terminal(cfct command is not working)

I have multiple instances of Firefox running in Ubuntu 14.04. How can I close the recent opened window/instance from terminal?
5
votes
1answer
65 views

How to make reverse-i-search in terminal easier using comments?

When you press Ctrl+r in terminal this leads to use the reverse-incremental-search mode. The reverse-i-search lets you search for previous commands in your terminal, but this can get confusing when ...
0
votes
1answer
14 views

npm install -g not working

I'm trying to run node.js tutorials from NodeSchool, I've run the following commands: curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install nodejs sudo apt-get install ...
2
votes
2answers
24 views

How do I keep the screen contents after quitting less or more?

After exiting from less or more, the screen contents are returned to what they were before. This happens with pagers like less/more, and some other commands. Sometimes it is necessary to keep the ...
-1
votes
0answers
14 views

using text browser on linux to display proxy information [duplicate]

I have this question on my project , and can't how can be answer it , could you help me? how can store proxy information Permanently for a text mode browser such as links? I want steps , if you can. ...
1
vote
1answer
25 views

Which installation images allow the installation of a command-line system?

I would like to set up a minimal command-line system as a starting point for a custom desktop, as outlined in Installation/LowMemorySystems guide. What exact choice of the installation image do I have ...
-1
votes
0answers
39 views

what are the commands of this .deb package? [duplicate]

I want to know the commands that a specific .deb package offers me. For example lets say I installed a package called x.deb. This package surely contains some commands that i can use. How to list ...
7
votes
4answers
955 views

What does sudo apt-get install curl command do? Why does it require the password?

I tried installing PlayOnLinux by using the steps according to a YouTube video, Install MS Office 2010 on Ubuntu 12.04-14.04, and used the command sudo apt-get install curl Then it requested my ...
2
votes
1answer
26 views

How to copy (or move) a file to a folder that is not existing while i am performing the copy (or move) operation?

Say I want to copy a file batman.py from path1/batman.py to path2/ . While copying I want to create a directory inside path2 and the copy batman.py inside the new directory there. How can I do it ...
0
votes
1answer
24 views

How to disable release upgrade notification at terminal/TTY login (not the GUI pop-up)?

I have Ubuntu 12.04 LTS on one of my old laptop. Each time I login through TTY or SSH it says: Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.4.0-030400-generic i686) * Documentation: ...
1
vote
2answers
100 views

How to run sh file from terminal? [duplicate]

I installed Viber on Ubuntu: /home/nazar/Software/Viber/Viber.sh I can run it from terminal specifying this path. I want to achieve some short command as: viber For lunching application. How to ...
2
votes
1answer
30 views

How do I stop byobu from hijacking highlighting by `ls`?

I've just upgraded Ubuntu 14.04 to Ubuntu 15.04 (well, actually using KDE/Kubuntu, but it appears to be irrelevant) and I noticed colouring in the terminal is a bit messed up when using byobu. The ...
2
votes
0answers
12 views

How to specify which child terminal gets focus on terminator startup

I have a terminator layout which looks like this: +-----+-----+ | | 2 | | 1 +-----+ | | 3 | +-----+-----+ When I start terminator, child terminal 3 receives focus. Is there a config ...
2
votes
1answer
38 views

How to show the list of shortcuts produced by super key using command line

What is the command that shows the same result of holding the super key?! I.e. What is the command that list all shortcuts in system...
0
votes
1answer
32 views

Some jar files refuse to to run upon double-click and Terminal can't access them

MultiMC launches with no problems. I can't get Minecraft to launch by double-clicking it: it will open in Archive Manager. When I run the command java -jar minecraft.jar, Terminal returns the error ...
1
vote
2answers
26 views

How to run Cisco packet tracer via command line

I downloaded the Cisco Packet tracer .bin file from http://www.mediafire.com/?r95gqy7n331ht8t then typed the following command, sudo sh PacketTracer533_i386_installer-deb.bin that command ...
1
vote
1answer
33 views

How can I list mp3 files that have a leading period?

I have mp3 files in a directory. For this example, let's assume they are these 3: Enter Sandman.mp3 ...And Justice For All.mp3 St. Anger.mp3 How can I list (ls is highly preferred) all ...
0
votes
2answers
25 views

aliases not picked up when sudo in mac?

I have the following aliases in /etc/profile. # System-wide .profile for sh(1) if [ -x /usr/libexec/path_helper ]; then eval `/usr/libexec/path_helper -s` fi if [ "${BASH-no}" != "no" ]; ...
0
votes
1answer
19 views

SSH stays open remotely? [duplicate]

When connecting to a server, is there a way to keep the SSH console open once disconnected? Or is there a program that does that, and that lets me connect back into where I left? This situation can ...
3
votes
1answer
409 views

Is This The Right Way To Change Drives Using Terminal?

Well I am a newbie in Linux world. Everyday learning by working. I use dual booting and in one drive Windows 7 is installed and in another drive Ubuntu 14.04 LTS is installed. My first O/S was windows ...
1
vote
0answers
37 views

Useful commands and tricks for beginners? [closed]

I am newbie in ubuntu. I wondered if there is any type of useful tricks which could be used in ubuntu server! Like for windows there is Ctrl+C Ctrl+v Ctrl+a! Thanks in advance! Please show as many as ...
0
votes
5answers
161 views

How can you move a directory from one user to another?

I have directory in my folder called Kristens and I wanted it to move other user called Janis, how could I do it? Thank you in advance! If possible show some examples.
0
votes
2answers
35 views

How can I update a Network Manager connection from the command line?

I have a bunch of Ubuntu machines on my work ethernet LAN and I need to modify the default gateway. I'd rather not traipse round, interrupt people's work, to right click an applet, preferring instead ...
1
vote
2answers
193 views

What does the command ls -al do? [duplicate]

I'm a newbie in Ubuntu. Can someone describe what ls -al does? If possible, show an example.
0
votes
1answer
27 views

Is it possible to edit the .bash_login file for the second time?

I accidentally wrote an error command in the .bash_login file. I need to edit the file to solve this problem but I can't do that anymore. The error is about the .bash_login isn't a writable file ...
5
votes
1answer
231 views

Getting the default text editor used in system

I have been searching and browsing for a long time and have not been able to find an answer to my question. I have used select-editor and I note that I am using /usr/bin/nano. Is this the default ...
0
votes
1answer
33 views

Recommended Languages to Learn Linux [closed]

This is a very common question i might be asking, but I have not come through a clear cut answer yet. I want to be a fully Linux Developer, (BOTH Backend/Coder and GUI). Which programming Languages ...
0
votes
1answer
26 views

Need a script to find files modified in the last three days and exclude all backup folders

I'm trying to set a script to let me know what WordPress files have been modified in the last 3 days, but I get a huge list of every site's backups when I just run: find /var/websites -mtime -1 How ...
0
votes
2answers
92 views

i just upgraded to ubuntu 15.04 but i cant launch the terminal

the question says it all i just cant get into the terminal and I've tried the control alt t thing to it still wont pop up please help !
0
votes
1answer
12 views

Bash sed to read auth into debconf-set-selections for Vagrant VM

I have a Vagrantfile that uses a bash script to set up a VM. I can't get the script to set a password for MySQL using debconf-set-selections with output from an .auth file. Below is an example of the ...