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

learn more… | top users | synonyms (5)

1
vote
2answers
146 views

How do I batch copy files sequentially from one folder to another?

I have a music player that ridiculously enough, refuses to play files according to the alphabetical and numerical order, but based upon the order in which they are copied to the audio player. As ...
0
votes
0answers
28 views

Backup and restore question

I want to backup everything on my system, however there are some issues. There are broken system binaries, so disk imaging is not a good solution Copying everything but the /bin, /sbin, /usr/bin, ...
0
votes
1answer
25 views

Display User and folders for disk Usage

I am trying to list out from the servers, and I was wondering if it is possible to be done through any terminal coding (in which I am pretty weak in it now) Example, in the main directory there are ...
0
votes
1answer
47 views

Converting XSL files to CVS files in command line

I have a set of XLS files which I want to convert to .CSV retaining the original base name. I found that this code worked best: unoconv -f csv *.xls also there are other ways in this link ...
1
vote
1answer
51 views

How to remove flagged identical lines in text files

I want to remove selected identical lines jumbled in text file B. The identical lines are flagged with % mark in begining of line in file A. How to achive this through commandline. eg: file A ...
-1
votes
0answers
23 views

how to bring the uclinux configuration in menubar?

I am trying to configure the uClinux using host Linux environment. During configuration process i want to get that in dialog box, so I tried "make menuconfig" it is displaying the following error: ...
0
votes
0answers
36 views

Terminal not returning anything when I try to install a .bin file?

I'm an extreme Linux newbie. I dualboot 12.04 Ubuntu on my ARM Samsung Chromebook, and I like it a lot so far. I'm trying to install a .bin file through the terminal, and despite following the guides ...
1
vote
1answer
47 views

Changing the background of terminal in ZSH when connected to server

I use terminator as a terminal, zsh shell and oh my zsh, on both my laptop and my server, for what it's worth, I created an alias named vps to connect to my vps using ssh. Currently terminator ...
0
votes
1answer
22 views

How do i export a database in ubuntu to specified location using terminal

I get a blank screen since i have installed the ATI graphic drivers. I tried a lot of things restore my laptop but all in vain. Only formatting seems to be the other option. So i want to export my ...
5
votes
5answers
282 views

Needed simple script/loop/command for input command, execute and output within textfiles

Suppose I have list of commands in text file as below (cat cmdlist.txt):- cut lshw top awk sensors Now I want to get simple information on that command by whatis cut, whatis lshw etc. respectively ...
21
votes
2answers
763 views

Write command in one terminal, see result on other one

I want to run a command foo on one terminal and pass the result to another terminal. Is it possible to do this ?
1
vote
1answer
31 views

Reducing colour depth to 16 bit without losing panels and launcher

Earlier today, I had help solving a problem in this thread where creating an xorg.conf file, with colour depth reduced to 16 bit in my 32 bit Ubuntu 14.04 had caused my panels and launcher to go MIA, ...
0
votes
0answers
28 views

How to launch sh file without terminal? [duplicate]

Using Ubuntu 14.10 the sh file will only open in a text editor but not opening the game Xonotic and AssaultCube
0
votes
2answers
49 views

How to extract this package archive

I am trying to extract a certain file in the downloads folder and instructions given to me are as follows: Type the following in terminal and it will be done tar -xvJf ...
-1
votes
1answer
27 views

Typing multiple line commands in the Terminal

I know that I can copy paste this command in my terminal, but how do I type this? make ex1 cc ex1.c -o ex1 Typing it all on one line produces the following: make: Nothing to be done for ex1. ...
2
votes
2answers
70 views

Files Shown in Terminal not Show on Desktop

I have an issue where I am creating .cap files with aircrack-ng and am saving them to the desktop, but I can't see them. When I use the ls command in the terminal they show up, but just not on the ...
1
vote
1answer
130 views

How can I repair unity from terminal while on a WiFi that requires me to login through a web browser?

I was trying to reinstall unity-lens-applications but couldn't remember the name. I typed unity- and pressed tab to see the options. Instead of using the down key I just held enter to scroll through ...
1
vote
1answer
65 views

sed “Permission denied” and “No such file or directory” errors while building Clockwordmod

Whenever I execute the command build/tools/device/mkvendor.sh samsung_aegis2vzw /your/path/to/the/boot.img I get this as the output build/tools/device/mkvendor.sh: line 83: /sedcommand: ...
0
votes
0answers
14 views

how to ask which virtualbox version in terminal [duplicate]

I would like to detect the Virtualbox version in terminal. The output I want to use in an other program. I tried : virtualbox --help does not have a --version option. which virtualbox returns : ...
1
vote
1answer
39 views

Execute a statement /bin/bash seems not to work in Virtualbox client

I do not know if AskUbuntu is the correct place to ask or Stack Overflow. To execute a statement in Windows use : C:\\Windows\\System32\\cmd.exe What is the equivalent in Ubuntu? I thought it was : ...
2
votes
2answers
49 views

.desktop file running sh script “There was an error launching the application.”

I have a .desktop file: [Desktop Entry] Type=Application Terminal=true Name=RunMe Exec=run.sh When I double click the .desktop file, I get There was an error launching the application. my run.sh ...
14
votes
2answers
2k views

Installing breach browser

EDIT: Just look at the accepted answer. I wasn't how it worked at the time of writing so I just guessed below. I am new to Linux so this might be a noob question. I am trying to install a new web ...
1
vote
1answer
26 views

Colored text on terminal is fuzzy

I recently re-installed xubuntu 14.04. I used the font "Proggy Clean (Slashed Zero)" at as size of 12. Normal text seems to be fine, but when there is colored text, it gets a bit fuzzy (i.e. there ...
0
votes
0answers
19 views

the command sudo apt-get update doesn't work [duplicate]

I am trying to install wine, but something always goes wrong and it tells me to run that command to resolve some problems. I try to run it and I get this "The method driver /usr/lib/apt/methods/https ...
0
votes
1answer
39 views

What “$$” outputs in command-line? [duplicate]

When $$ typed in terminal, it results in number as follows: $ echo $$ 2992 So, I want to know what it outputs and what 2992 indicates?
4
votes
2answers
444 views

What does !$ means in Bash scripting?

When reading the content of a script, I found something like: echo "An Example" > !$ So I wonder what does !$ mean in bash .
1
vote
2answers
37 views

How to display line numbers with pygmentize

I often use the command pygmentize filename.py to show color source files with code formatting. This works like a charm. I now also want to show line numbers like cat -n filename.py does. I read ...
1
vote
3answers
130 views

How can we remove text from start to some particular selected word using sed command in linux

I have a simple query related to selection and replacing text in linux. For explaning question I am using sed command. I have following text. hello world, I am just simple text for display. Now ...
0
votes
1answer
40 views

one column from output column on awk

Suppose which I have this table: one two three four two three four five three four five six four five six seven five six seven eight so I wrote awk -v word=two '$0 ~ "[^[:alpha:]]" word ...
1
vote
2answers
43 views

Toolchain binaries cannot be found

Trying to build recent version of u-boot bootloader for my mini2440 ARM board I managed to download a toolchain package from codesourcery and extract it to following path: /usr/local/arm-2008q3/ I ...
1
vote
1answer
24 views

Pass variables to script which called script

I have a bash script which must call another bash script which varies per-user in order to get some configuration information, like so: somescript: #!/bin/bash ${HOME}/.ssconfig echo "Hello, ...
-2
votes
0answers
14 views

Run applications and commands on Ubutnu start [duplicate]

My question is as follows: When my pc starts and Ubuntu boots,i want to run a certain number of applications and commands in terminal as soon as ubuntu is finished loading and i want to do that ...
0
votes
0answers
27 views

Why I obtain this compile error when I try to install a software?

I am not yet a Linux guy and I am going crazy trying to install a software compiling it on Ubuntu 14.04. This are the only provided instruction to install it: Debian First, make sure that ...
0
votes
1answer
60 views

Automatically run a command on start up? [duplicate]

I was kindly helped on this forum a few months ago to fix my Wifi. Only problem is I have to run the command in the terminal at the start of every session.Each time I need to run- sudo modprobe -v ...
-1
votes
1answer
9 views

Acer Revo 3700 display issue

Acer Revo 3700 When connected to a pc moniter i have no issues. i took the unit down to connect to my sony flat via hdmi. when i powered on the machine it booted up, the purple screen, ubuntu logo ...
1
vote
1answer
36 views

Why does my program not execute a perl file

I have a perl file name make_html.pl which works on a module named API::PDF2 (link) I downloaded it installed it and I think I set the path wrong. my @INC has the values Built under linux Compiled ...
0
votes
1answer
19 views

Ajust ScreenBlank timeout on Firefox kiosk

I have a Ubuntu 14.04 set up as a kiosk that starts Firefox in /etc/init/x.conf like this: exec su -c "startx /etc/X11/Xsession /home/kiosk/kiosk.sh --" kiosk (see details here: How to make ubuntu ...
4
votes
2answers
51 views

Change current working directory only by typing the name of the new one

Something similar to this Q&A, I know that cd will change current working directory in terminal to a new directory like this: cd /path/to/new_directory But I wonder how can I change current ...
1
vote
1answer
33 views

How to delete all files of a specefic name from /?

I want to delete all files named typhoon.svg from / partition. How to do that via command line?
0
votes
0answers
24 views

Keeping a NAS connection active

I can see the network server, I'm using Nas4Free as my NAS. I can mount/unmount a/the network drive, copying files, moving files create new files etc. Then I would not access the drive for a number of ...
0
votes
0answers
20 views

Shutdown the system after a specific time from command line? [duplicate]

Sometimes after I finished my work at computer I need to leave it open for a specific time to do some other jobs, then after a specific time it should close itself. I have looked at the shutdown ...
2
votes
2answers
56 views

Bash Function Oblivion [duplicate]

I'm fairly new to Linux, as many of you may have noticed. What I speak particularly is adding personal, user-generated functions and alias in my .bashrc file. I'm not exactly sure how bash works but ...
1
vote
2answers
48 views

Error message in terminal on startup

As soon as I startup the terminal (Ubuntu 12.04 LTS), I get the error message: bash: export: `/lib/perl5/site_perl/5.14.2/': not a valid identifier I am not really familiar with Linux yet. How do I ...
1
vote
1answer
41 views

Xubuntu Terminal Cursor

I am running Xubuntu 14.04 and the default Terminal Emulator (xfterm I think). The terminal itself is fine but I want to change the cursor to a blinking underline rather than a solid block. How do I ...
1
vote
3answers
419 views

How can I fetch random words from an electronic dictionary database or text file?

Is there a way to get random words from the dictionary databases like from the dict-wn or freedict's packages? I'm looking for a way to do that by either using a bash script or try a command tool if ...
3
votes
2answers
53 views

add alias to root

I need to execute a command for my system to search for new sd cards and to be able to execute it I need to me logged on as root. Simply using sudo with the command does not work. This is not a ...
3
votes
2answers
77 views

Sort by image resolution (dimensions)

Which program have a function to sort images by thier pixel size / resolution / dimensions. Very strange but even so powerfull DigiKam doesn't have so simple function. Any suggestions?
1
vote
0answers
19 views

Cannot install Tux the Penguin: A Quest for Herring

I get this error when running configure: loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether ...
10
votes
3answers
2k views

How do I get randomness in command-line?

How to randomly execute one command within specified list of command? Helpful for randomly choosing startup sound, wallpaper or executing commands. In General, if I have commands for execution as ...
0
votes
2answers
42 views

difference between “-” and “--” in linux command

I often see a single dash - or double dash -- followed by linux commands or other installed linux programs. What are the differences between single dash and double dashes? Is it just about ...