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

learn more… | top users | synonyms (6)

2
votes
1answer
124 views

Adding my launcher to the Unity Launcher automatically. How?

Based on official documentation: In order to add your launcher to the Unity Launcher on the left, you select and drag it onto the Launcher panel. Alternatively, you can place your .desktop ...
-1
votes
3answers
194 views

Rename of Multiple files by command or software [duplicate]

I have many files for that i want to rename them. Current Name: 5b011351286e8a042b23ffff\5b011351286e8a042b23ffff_130225_145634.xml Required Name: 5b011351286e8a042b23ffff_130225_145634.xml I just ...
1
vote
3answers
218 views

Cannot find location of permanent aliases.

A couple of months ago, I made a few permanent aliases for my bash shell on Ubuntu 14.04. They are actively making my life easier, and I would like to add a couple more to the list, but I cannot find ...
1
vote
3answers
224 views

Locate files matching mimetype in a directory recursively via command line

I wish to get a list of all files in a project folder [recursively] that are image files. Unfortunately Google was unable to help me here. If possible, the use of current system's mimetypes is ...
4
votes
1answer
16k views

How to send an email using command line?

Here's what I have: cat UserReport.txt | mail -s "TestSubject" "nospam@gmail.com" It's a small file, much smaller than a picture so it should send almost instantly. Though I receive nothing. I ...
1
vote
0answers
55 views

problem with remote printing using rsh

This is really a unix/linux problem than an ubuntuproblem, so perhaps this is the wrong forum, but I'll post it anyway. when I type the commandline command rsh -l <myName> <IPADDRESS> ...
0
votes
1answer
728 views

How to have git and virtualenv aware colors in terminal?

I am watching "Building Web APIs with Flask" video on Oreilly from Miguel Grinberg. His terminal is colorful and shows different colors for virtualenv name and git branch name. I want to have the same ...
0
votes
1answer
269 views

How to run bootinfoscript from the GParted liveCD?

How to run bootinfoscript from the GParted live CD? Windows 7 on internal hard drive, and Linux on an external USB SSD drive (Linux not loaded).
1
vote
1answer
418 views

Byobu changing tabs

When I'm sharing the same byobu session with multiple users, sometimes when I change the tab, the other user is automatically changed to my new tab, and sometimes he has to do it manually. How can I ...
1
vote
1answer
1k views

Error detected while processing /home/kiran/.vimrc:

I m getting an error message when I am opening vi editor. the error message is here. kiran@kiran-HP:~/Desktop$ vi hello.c Error detected while processing /home/kiran/.vimrc: line 1: E481: No range ...
0
votes
1answer
343 views

Resizing second drive partition

I have struggled with my problem for days, and have tried to find different kind of solutions, but now I decided to ask. My primary problem is too small sda1 partition which is 243M and 100% full. ...
0
votes
1answer
47 views

How to make terminal one desktop and unity another

I am running Ubuntu 14.10 on my compaq presario laptop with a dual monitor setup. I would like to have unity on my larger screen and a full screen terminal on the laptop screen. Is this possible?
23
votes
7answers
74k views

How to list all symbolic links in a directory

I have a symbolic link in my /var/www/ directory that links to WordPress. When I run the command ls -la from the /var/www/ directory the link to WordPress doesn't show up. Is there a way to list all ...
0
votes
1answer
132 views

what is meant by bash: export: `/home/jntuacep/venky/ns-allinone-2.35/lib': not a valid identifier

my .bashrc file contains: # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running ...
1
vote
1answer
6k views

Can't install GNOME shell extensions? [duplicate]

New to Ubuntu. When I tried to get the GNOME user theme extension from the website, it would not load the button to install. So I tried the command in the terminal sudo apt-get install ...
1
vote
1answer
134 views

Shell Script Problem

I decided to make a shell script for basic nmap scanning so I did it like this : #!/bin/bash sudo apt-get install nmap printf "enter the name of site to do basic scan on >>>" read NAME ...
9
votes
5answers
2k views

How can I repeat the content of a file n times?

I'm trying to benchmark to compare two different ways of processing a file. I have a small amount of input data but in order to get good comparisons, I need to repeat the tests a number of times. ...
0
votes
2answers
1k views

Bash error on opening the terminal

Whenever I open terminal in Ubuntu I get the following bash and I don't know how to solve it. I need a solution as soon as possible: bash: ...
0
votes
3answers
340 views

An Ubuntu command bricked my sytem?

I freshly installed Ubuntu on my computer a few days ago to run an exclusive program. I finished with it, and I was about to format the drive to reinstall Windows. However, my little brother wanted to ...
0
votes
1answer
68 views

Cannot Execute program binary go-enc2ly

I've been Attempting to execute a "go-enc2ly", which is command line way of converting .enc encore files into lilypond format. I've installed the go complier suite, ran the commands: mkdir /tmp/go ...
0
votes
1answer
99 views

Make the CTRL and Super/CMD keys behave like on OS X

I am a longtime OS X user who is using Ubuntu at work. While I like Ubuntu very much, something that I really miss is the behavior of the CTRL & CMD (i.e. Super) keys on OS X: CMD/Super is used ...
1
vote
1answer
421 views

Bash script for multiple tabs program running

I have the following bash script code to open multiple session of a python script with different input argument in different terminal tabs. #!/bin/bash cd /home/me/experiment tab=" ...
-1
votes
1answer
5k views

How To Zip An Archive Without Including Parent Directory

Help Please I want to zip many folders and their directory tree is like so V- something.txt folder folder g.jpg h.jar Now Whenever i try to zip it it ends creating a zip archive with the v ...
2
votes
2answers
285 views

How do I combine hundreds of folders using command line

I have 535 folders (recup_dir.1, recup_dir.2, ..., recup_dir.535) and I want to merge (combine?) the contents of those folders into a single folder (lets say a folder named recup_dir). Some files ...
0
votes
1answer
109 views

How to modify program search path?

I am new to Linux and Ubuntu and I have recently encountered a problem. Previously whenever I typed the name of a program that was not installed in the terminal, I would get a list of suggested ...
0
votes
2answers
23k views

How can I change directories in the terminal? [duplicate]

I have been googling how to use the terminal in Ubuntu 14.04. Many years ago, I could find my way around DOS, albeit I'm a bit rusty. It seems that it's basically similar but when I try to change ...
0
votes
1answer
62 views

combine multible commands in one run one of them is find

I want in one line a command to use find to get a file name from a txt file , search for it , and play it then after closing the video I need to run a certain script I managed the first part but ...
1
vote
1answer
264 views

Ubuntu 14.04 terminal glitch

I was installing Maya 2015 on Ubuntu 14.04, and as soon as I got to the command "for i in *.rpm; do sudo alien -cv $i;", as suggested here, the next line appears pretty much blank, except for one ...
0
votes
1answer
276 views

Terminal profile doesn't list all available fonts

my GNOME Terminal profile let me choose only mono fonts and Courier. I'm trying to use Source Code Pro font on my ubuntu terminal. I've installed it successfully, in ~/.fonts, and it shows on every ...
5
votes
4answers
404 views

Quick simple mathematics calculations [duplicate]

I know the program launchy from windows (and it is also available in Ubuntu) in which I can simple enter 100/9.14 and it tells me the result without opening a calculator. But I don't want to install ...
3
votes
3answers
811 views

How do I force “top” command to show processes greater than PID XXX

I want top command to show processes that are greater than PID xxx is there a switch that can do that? also can I sort the output based on the PID number instead of the CPU usage?
0
votes
1answer
60 views

What does man command do in broader sense?

While reading about Linux, I got the following about man (manual) pages: The man pages are the most often-used source of Linux documentation. They provide in-depth documentation about many ...
1
vote
2answers
2k views

Why do we use ctrl + c / ctrl + x / ctrl + z in terminal? [duplicate]

Why do we have to use all this shortcut to quit the programs in terminal ? For example : ctrl+c in order to quit top ctrl+z in order to quit man ctrl+x in order to quit nano ctrl+c isn't suppose ...
0
votes
2answers
253 views

gnome-terminal profile without bash history

I'm trying to create a profile in gnome-terminal that doesn't store bash history. The easiest way to do that is to run export HISTIGNORE="*", but there is one problem, gome-terminal is executing ...
4
votes
1answer
165 views

Can I see in a log file all GUI based tasks in its alternative command-line format?

For example, I normally open mousepad (xfce equivalent of gedit) from the applications menu. However, I know that you can also do this in a terminal by typing mousepad. Following this example, what ...
2
votes
1answer
112 views

Emacs Keybindings for all Text Inputs

I type with ten fingers. I try to avoid all keys on the keyboard which are not easily accessible: Pos1 End1 Esc ... Up to now my fingers like the emacs key bindings, since they work in the editor ...
2
votes
1answer
464 views

How to detect touchscreen devices from a script?

I'm looking for a reliable way to detect if a laptop has a touchscreen device from a script. I know I can parse the output of: $ xinput --list ⎡ Virtual core pointer id=2 ...
2
votes
0answers
133 views

Running CLI/terminal programs as entirely separate program (i.e not as an instance of Urxvt with -e toggle?)

I'm currently running Openbox as WM, with Urxvt as terminal emulator, and zsh as shell. I use Mutt for emailing, Ranger for files, Cortex for redditing, Newsbeuter for RSSing. All of these programs ...
2
votes
2answers
187 views

What happens when a program is installed?

I am posting this question with the intention of getting a comprehensive answer that explains the installation process. Some particular questions I have about the process: What's the difference ...
0
votes
0answers
14 views

which terminal command for open google-chrome [duplicate]

How do I open the google chrome browser from the terminal without getting error? google-chrome gets me error. No is not the same question but I probable should have written them in the same post. I ...
0
votes
1answer
208 views

when terminal error, how do I write in terminal

I get an error when trying to open Google chrome in the terminal. It says something in the terminal and I cant write anything in it because of the error message. The terminal doesn't return to it's ...
11
votes
9answers
16k views

Remove the first part of a string using sed

How do I get from this: randomcollege-nt\user90 to this: user90 using sed?
-1
votes
1answer
462 views

Run pkill without sudo permission

I want to run pkill like below. sudo pkill -u 11002 I cannot give sudo password multiple times, so I want to run pkill without sudo user. For this i copied pkill to home as named bkill, and then i ...
1
vote
1answer
93 views

Question about something appearing in my Terminal

After I moved from Windows to Ubuntu I liked to try out every new app I found so I decided to install Betty (a Siri like alternative for Ubuntu). I used the PPA given by Webupd8 site and the last ...
3
votes
1answer
133 views

How to configure SSH username and pass on Ubuntu server 14.04.1

I am trying to remotely administer my server using SSH. I believe SSH comes installed default, I just need to know how to configure username and password.
2
votes
1answer
3k views

texmaker “could not start the command”

I messed up a bit with TekLive and TexMaker in my Ubuntu 14.04. I unistalled and re-installed both a couple of times. Now, if I go to terminal and do pdflatex -synctex=1 -interaction=nonstopmode ...
3
votes
2answers
291 views

append a word to the end of a line in txt file

I have a file that should have "OK" at the end of a certain line the line that should be modified is the first line not ending with "OK" I can grep the file to get the line to be modified using ...
8
votes
5answers
641 views

Only get the H+W geometry of my screen without the later +x+y

I am reading this article. There is a statement there that goes: ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -r 25 -i :0.0 -sameq -f mpeg -ar ...
0
votes
1answer
193 views

Unable to execute .out file

I have recently installed Ubuntu 14.04 and I am not able to execute .out files in my folder. I am adding the output of various commands that I have tried. The file name is a_lena.out $ls -l ...
2
votes
1answer
1k views

Unity - 14.04 - Set Launcher Icon Size - via command line

I've got a few computers, all coming to the end of their life. The first couple have gone and I find myself again having to re-install ubuntu on it's resurrected remains and then laboriously ...