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

learn more… | top users | synonyms (5)

0
votes
0answers
26 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
59 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
16 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
50 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
32 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
47 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
38 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
418 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
51 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
76 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 ...
0
votes
2answers
54 views

What does it mean when I type a command and the terminal does nothing? [closed]

I'm new to Linux (I am running Ubuntu). I am learning new commands for the terminal and even following some guides/forums on how to do stuff. Sometimes I will type a command and the terminal makes a ...
0
votes
0answers
25 views

matlab: command not found

I have successfully installed MATLAB 2012a on 12.04 LTS, but I seem unable to execute any of the necessary commands to activate or run the program. When I navigate to my path_to_matlab/bin folder ...
0
votes
1answer
36 views

Adjust Time & Date settings via teminal [duplicate]

How do I adjust the Time & Date manually via terminal (CLI) on Ubuntu 14.04?
3
votes
1answer
105 views

Why some user functions don't get recognised by bash with sudo?

Initial conditions : I have defined a function and export it: myfunction () { echo OK ; } export -f myfunction I have a simple bash file : test.sh #!/bin/bash myfunction Test OK with the current ...
4
votes
1answer
115 views

Are there commands to control the Spotify for Linux preview? (e.g. Pause)?

I am trying to be able to play, pause, chose next track or previous track from command line, but unfortunately no one seems to know how to do this (I have goggled repeatedly). I need it to be a ...
7
votes
1answer
132 views

How to execute a terminal command every time the firefox windows closes

I need to execute this: rm -rf ~/.wine-pipelight/*; rm -rf ~/.wine-pipelight/./.*; cp -a ~/viewright_backup/. ~/.wine-pipelight every time the Firefox window closes. But not necessarily when all ...
0
votes
1answer
25 views

Tar Gzip Every n Files in a Directory

I have a folder with 7,491 files in it. I'd like to tar gzip these in batches of 100, e.g. first 100 files > archive1.tar.gz files 101-200 > archive2.tar.gz files 201-300 > archive3.tar.gz ...
0
votes
2answers
37 views

Terminal command 'login' fails with error message

Coming from Mac OS X, there is a possibility for every ordinary user to open Terminal and type in 'login' to change to a different user account. When I do this with Ubuntu, it provides the following ...
0
votes
2answers
26 views

How to bind the terminal command on firefox start?

How to set a terminall command to run every time I start firefox? I perfer terminal way, not gui. Thanks!
2
votes
1answer
73 views

Installing a firefox extension via terminal?

Is this possible? Ideally, I'm trying to make script which will take files (my extension backup files) and replace or install them into other user's computer, with all settings saved. Is this ...
1
vote
3answers
47 views

Brightness control command on “startup Applications” is not working

On "Startup Applications" utility I added my suitable brightness to be configured each time OS is launched. But it is not working at all. I am having to bear system's very high default brightness. ...
1
vote
1answer
31 views

Install GoPanda2 on Ubuntu

I am trying to install GoPanda2 into Ubuntu. The download file is a tar.gz and can be found here. I extracted the folder to my desktop and then used the terminal to run the install.sh file. When that ...
3
votes
1answer
45 views

How to zebra stripe the console?

I'd like the terminal to alternate the background color on successive lines, making it easier to see where one starts and the next one ends. This would be specially useful when reading logs with tail ...
0
votes
2answers
38 views

update-alternatives --Install

I typed: sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/ jdk1.8.0/bin/java" 1 It's says alternatives --install needs link name path priority
3
votes
2answers
133 views

.bashrc shebang line reports command not found

Tried the following shebang lines: $ head -n2 .bashrc | od -c 0000000 357 273 277 # ! / b i n / b a s h \n $ bash bash: #!/bin/bash: No such file or directory .bashrc starts ...
0
votes
1answer
167 views

Ubuntu 14.0.4 apt-get update fails for any installs and upgrades in trusty [duplicate]

I have tried various recommendations from the web to no success. The apt-get update gives errors . Here are my error messages after sudo apt-get udpate: W: Failed to fetch ...
0
votes
1answer
44 views

Automate two commands in sequence on login (Killing Nemo)

In a June4 reply on an askubuntu post regarding When Cinnamon is installed, Unity desktop “smears” (doesn't refresh) and shows no wallpaper madrang wrote that: There is no need to purge cinnamon. ...
1
vote
0answers
59 views

Cannot login on my ubuntu 14.04

I left my laptop on for a night while I was downloading some songs but when I woke up it was shutdown and when I tried to restart it I came to the login window normally. Now when I try to login as a ...
0
votes
1answer
90 views

Facebook Chat Client on Ubuntu 14.04

I'd like to install & configure a Facebook Chat client on Ubuntu 14.04 14.04 Trusty Tahr to increase my collaboration & work flow with other Students in a Group Chat. If at all possible I ...
-1
votes
2answers
48 views

Methods of installing software in Ubuntu (command-line) [duplicate]

I want to get information on what are different methods to install softwares/applications in Ubuntu (14.04)? Example like : Install by apt-get Install from package-source or build-dependencies ...
-1
votes
0answers
36 views

Update manager won't open, probably because of spotify [duplicate]

Lately, I have noticed that sudo apt-get update && sudo apt-get upgrade has called the error Reading package lists... Error! W: Duplicate sources.list entry ...
1
vote
1answer
503 views

Terminal: sudo: apt-get: command not found

This is my first post here, so let me be welcomed with a serious issue to be answered. Lately some really bad things have been happening with my computer, having to do with lack of icons and all kinds ...
3
votes
2answers
135 views

Sudo error, setuid [duplicate]

I'm using Ubuntu 14.04 and I run some command series on Terminal. But at one time I ran sudo chmod 777 /usr/bin/ -R And giving some permissions on this directory. After that, I'm continue my work, ...
0
votes
1answer
19 views

gnome-terminal - restoring of config for profiles

Where are the profiles for gnome-terminal stored on the filesystem? I recently restored my home folder from backup on a new ubuntu installation, but the profiles for gnome-terminal were not restored. ...
1
vote
0answers
36 views

How to execute a program periodically? & disply difeerence in output [duplicate]

I want to run command repeatedly and display their output. Example: I want to run ls command repeatedly and display output so-that I can see changes in directory contents. Also facility to ...
0
votes
2answers
42 views

Terminal commands to hard shutdown and hard restart

I want to do hard restart and hard shutdown(immediate shutdown and restart) through terminal. Is this possible through terminal commands? And note that no answers in this How do I restart /shutdown ...
0
votes
1answer
53 views

Open pwd protected http stream in vlc from CLI

Can anyone please advise me on how to open a pwd protected http stream from CLI in vlc? I checked out the --help and man pages, but they seem to offer only syntax for opening ftp, rmt and smb pwd ...
2
votes
1answer
25 views

How to get the package versions corresponding to Unity 7 launcher applications?

I'd like to know the Ubuntu package version of all applications locked into my Unity (7) Launcher from the command line. The command should return a list of packages names and their versions, ...
1
vote
1answer
55 views

How to permanently set path in Ubuntu 14.04LTS

I executed. export PATH=/home/varun/SOFTWARE/MOLDEN/molden5.1:$PATH In my terminal; followed by which molden I get the expected output:/home/varun/SOFTWARE/MOLDEN/molden5.1/molden But this is ...
1
vote
2answers
221 views

Add/edit line text in file without open editor (linux command) [duplicate]

I know how to add new text to a file, but how can I edit it? Example: adding hello_world = 1 to test.txt using the following command: echo "hello_world = 1" >> test.txt But how can I change ...
1
vote
1answer
20 views

start-stop-daemon keeps editing my shebang making it impossible to run

start-stop-daemon --name flaskserver --start --chuid root --exec /root/worker/start.sh start.sh clearly has this line #!/usr/bin but after I run above, it results in !/usr/bin and of course it will ...
5
votes
3answers
160 views

How do I make a custom path identifier?

To define what I mean by "custom path identifier", I mean a short set of character(s) that represent a whole path, and example of this would be the ~, if you type cd ~ in your Terminal Emulator it ...