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

learn more… | top users | synonyms (6)

0
votes
0answers
23 views

Terminal is hibernating when pc is idle

i have this annoying thing where my terminal stops doing anything when my pc is idle for a certain amount of time, the way to make continue is by pressing buttons or moving my mouse. Is there anything ...
0
votes
1answer
16 views

having trouble installing canopy 1.7.2 on my ubutu 12.04 amd64 computer

I am having trouble installing the canopy installer 1.7.2 on my Ubuntu 12.04 amd64 computer. I have downloaded the software in the "downloads" folder but I get the following error: $ bash canopy-1.7....
0
votes
1answer
74 views

Create hotspot using CLI only - ubuntu 14.04 [duplicate]

I saw many howto's for creating a hotspot in Ubuntu 14.04 (in AP mode) using system settings. They are perfect. How do I create a hotspot using only command line however? I tried messing around ...
2
votes
1answer
74 views

Ubuntu Terminal - gcc: error: unrecognized command line option ‘--showme:link’

I am not trying to install anything. But the error message gcc: error: unrecognized command line option ‘--showme:link’ pops up as the first line in my terminal whenever I launch it. The problem ...
0
votes
0answers
33 views

Why my ssh command operates on my local machine?

I installed three Ubuntu 16.04 on my VMWare virtual machine software,they are master,slave1,slave2. I have installed ssh software on the three machines, and I Generated RSA Keys according to the ...
0
votes
0answers
58 views

Ubuntu 16.04 - Wireless Mouse Cursor freezes unexpectedly

The mouse was working fine earlier… Here is what I tried to do: sudo su -> rmmod usbhid -> modprobe usbhid in a ssh connection Unplugging the mouse Moving the mouse to another port Restarting the ...
0
votes
0answers
29 views

Trouble running binary file [duplicate]

I just want to run a binary file, but when i try to do his using my terminal,its acting weird and i can't figure out what's the problem. rohan@rohan:~$ cd Desktop/ rohan@rohan:~/Desktop$ ls chal ...
2
votes
0answers
56 views

How do I add commands to the Ubuntu touch terminal app

When you first run the terminal app in Ubuntu touch you get this menu above the keyboard where you can choose between nano, fns, cmd, ctr, scr. Can I add my own? Like vi commands or screen commands. ...
1
vote
1answer
43 views

How to delete all .class and .csv.gz files in the folder and all the subdirectories in SVN [duplicate]

I'm trying to delete all .class and .csv.gz files from my svn directory and all subdirectories. Can anyone tell me how to do it automatically with a command ? I have RabbitSVN installed on my Ubuntu. ...
2
votes
1answer
40 views

Running “ubuntu-support-status” throws an exception

I was reading on this page that running ubuntu-support-status Will "...print the exact status of your system." However, if I run that command, it crashes and throws an exception. Here's the ...
0
votes
1answer
52 views

How do I keep the cursor in the middle of the console?

As we know when the command line hits the bottom of the terminal, the input cursor stays at the bottom of the terminal, which makes it a little uncomfortable to see. So I want to make the line with ...
0
votes
0answers
34 views

Set “Notify me of a new Ubuntu version” on command line

How can I switch on the option to be notified for a new Ubuntu version, which you usually find in Dash --> System Settings --> Software & Updates --> Updates --> Notify me of a new Ubuntu ...
-1
votes
1answer
36 views

How to get the IP address from the nova list

From Openstack, i need output like hostname, status and ip address only but i am getting hostname, status and id=ipaddress nova list | grep Hostname1 | awk '{print $4,$6,$12}' Output : ...
-1
votes
0answers
17 views

The regular install for snphylo uses an old version of PHYlip so i seperately instally the 3.96 versions

I am installing phylip as part of snphylo and i cannot get this script to run. When i cat src it says that there is no such file or directory... is there any way around this where i can still get ...
6
votes
4answers
346 views

How to add the text before the line in whole file?

I have list of domain in text file and I need to add 127.0.0.1 ip before the line in whole file. Example as below: domain.txt .... abc.com ... I want to generate HOSTS file like ... 127.0.0.1 abc....
0
votes
0answers
26 views

Hash script to audit filesystem from /bin,/sbin,/usr/bin,/usr/sbin/ [duplicate]

I trying to do a script to audit files from many directories with md5sum sha256sum and sha512sum. Here is what I have now: #! /bin/bash clear hashone=md5sum hashtwo=sha256sum hashthree=...
0
votes
1answer
25 views

E:Type 'sudo' is not known on line 53 in source list [duplicate]

I have done some looking around for a solution. However, I have come to the conclusion that the solution to my problem is just not on the internet. I am unable to update Ubuntu and download apps from ...
2
votes
3answers
71 views

Find all python files in linux file system [duplicate]

How can I search my entire Linux filesystem for all python files (files with extension .py)? I know I can do find -name filename but how can I do it for file type?
2
votes
1answer
73 views

How can I convert these commands to work in Ubuntu?

I was just following a guide for Virtual Box. I tested the guide in Windows, since that's what it was written for. But now I want to use the same guide for Ubuntu. VB is the same on both platforms, ...
5
votes
1answer
81 views

How to close application from terminal same way as exiting it properly

Usually when running application in graphical environment, when I want to close it I click X in the top left corner of the window or go to File > Close. I would like to sometimes close these ...
0
votes
2answers
38 views

over-coming interactive command in a script [closed]

I'm trying to have a script to create containers on proxmox, & I want user to enter his password before proceeding to the creation of container, so I can push it to the main command. the command ...
-1
votes
0answers
26 views

I have problems with installing programs [duplicate]

I have problems with installing programs through the terminal. After typing a command i can not type the password. Nothing happens.
0
votes
1answer
33 views

When adding a repository can I add an auto enter command in the terminal?

When I add a repository I would like to add a command so that I do not have to press enter on my keyboard. Just like when you add -y to a command when installing a program. Is that possible? Cheers ...
-1
votes
1answer
55 views

Error while compiling a file in ubuntu [closed]

odroid@odroid:~/Modules$ make make -C /usr/src/linux-headers-3.10.96-150 SUBDIRS=/home/odroid/Modules modules make[1]: Entering directory `/usr/src/linux-headers-3.10.96-150' CC [M] /home/odroid/...
-1
votes
0answers
32 views

backup to s3 bucket on shutdown script not working in ubuntu 14.04

I edited shutdown-hook.conf via vi /etc/init.d/shutdown-hook.conf The content is description "run at shutdown" start on starting rc task exec /bin/bash /etc/my_service/uploads3.sh Then i changed ...
-1
votes
0answers
18 views

Error running make command on Odroid C1 board [duplicate]

I'm getting this error while running make on Ubuntu. I'm using a "Odroid C1" board. The error seems to be due to the mach folder not containing memory.h. odroid@odroid:~/Modules$ make make -C /usr/...
0
votes
2answers
46 views

Ubuntu - how to copy files and folders which contain special characters

I have a filesystem mounted read only which has many files with special characters like &, ( and ". I would like to copy recursively all files and folders to an external exFat volume using cp -R ...
4
votes
3answers
250 views

How to delete all files in particular folder present in current directory sub-folders excluding a certain file?

There are lots of posts where people asking how to delete files except ones, but my question is more specific. There are several folders named migrations in current directory's sub-folders, which ...
-3
votes
1answer
86 views

How to close a text file with terminal [closed]

I have a text file opened, what command do i need to type in the terminal to close the file ? I tried to kill the process but i can get the processes ID by using command ps -A | grep <app-name>...
1
vote
1answer
39 views

Terminal-Browser with Flash

I want to know if it's possible to enter a Flash site from the terminal. I'm playing a web-game based on Flash, so I want to make my server consume as low CPU as possible. I saw that I can do it, but ...
0
votes
2answers
128 views

sudo not working at all

this is the error message i get: ubuntu@tegra-ubuntu:/$ sudo apt-get update sudo: unable to stat /etc/sudoers: No such file or directory sudo: no valid sudoers sources found, quitting sudo: unable to ...
0
votes
1answer
37 views

Reloading .bashrc after setting variables — shell script

I have a simple script that sets up a CVS repository (and other things) for work. The script has a function which should set up the repository, but it does not properly reload .bashrc. The code is as ...
3
votes
1answer
97 views

How to create a new partition in Ubuntu 14.04? [duplicate]

I'm currently using Ubuntu 14.04. It's showing the whole hard drive as single partition. I need to split the drive into different partitions. How can I accomplish this, preferably via the terminal?
-4
votes
1answer
72 views

permission denied target 'xyz' is not a directory [closed]

Please help with this question : Create a new user called hos with password 123. In the home directory of this user, create a file called xyz, containing a list of all files and directories from /etc ...
3
votes
1answer
211 views

How to run a program in background and also using && to execute another command

I want to run my node app in background and curl simultaneously using &&. I tried the following but they don't work. node app.js &;curl localhost node app.js & && curl ...
0
votes
1answer
72 views

strange command prompt error

Whenever I have two command prompts open I always get this script coming up after I execute the commands. Just to clarify the commands execute and output correctly but after the out put before the ...
1
vote
2answers
39 views

Add the next command line after validating the first command [duplicate]

Is it possible to enter the next command line like this: command1 ; command2; After validating command1? For example I do: make And it takes a long time! I want to say: after this command: do ....
0
votes
1answer
56 views

How do I execute terminal commands by clicking an icon? [duplicate]

I'm trying to set up my sister's laptop with Ubuntu 14.04 running the LDXE shell. The only issue is, on boot, the wifi is disabled by default and I can't seem to reactivate it except with these ...
0
votes
3answers
284 views

Can't install Google Chrome on Ubuntu 16.04 [duplicate]

I am running Ubuntu 16.04 off a USB stick. I have tried to install Chrome via the Software Center and it says installing and then goes back to "install" a second later. I have also tried via Terminal ...
0
votes
0answers
16 views

Path of the Apps on Ubuntu Touch?

Im trying to understand the Ubuntu touch platform, please can someone tell me where is core apps data stored/ path and in what format?
0
votes
1answer
271 views

How to install wps office via terminal?

It's pretty complicated and sometimes the system freezes when I try to download and install wps office. I think it is much more convenient to use the terminal. But I never used installed WPS Office ...
0
votes
0answers
18 views

terminal view under Distribution Upgrade

I was upgrading from 14.04 to 15.04, under the Distribution Upgrade window, there is a terminal view of the process; I was looking at the changes when I was asked on the terminal view to update or ...
2
votes
2answers
50 views

How can I find the PID for software where the name of the software is different from the executable? [duplicate]

I run "Videos" software from the Dash in Ubuntu. After some minutes the software freezes. I've tried searching for the PID of the software to kill it, but I can't find any result with these commands: ...
0
votes
0answers
26 views

Script to delete smaller 'duplicate files' recursively with suffix

I've got an issue on my system where a image import process occasionally fails, causing some imported files to be truncated. Re-running the import process often works, but changes the imported file to ...
4
votes
1answer
24 views

Using CLI, how do I change the user's profile picture?

A similar task for changing the desktop background, can be achieved using the following script: FILE="/backgrounds/background.png" gsettings set org.gnome.desktop.background picture-uri "$FILE" ...
0
votes
1answer
27 views

How do I install missing manpages in a chroot running in Ubuntu Touch?

I am on the new Ubuntu tablet from bq, in a terminal, running in a chroot jail. I have installed man-db, manpages, manpages-dev, and even ubuntu-docs. But while man man works, or man gpp or other ...
0
votes
0answers
32 views

Comand to zip a folder with incremental file names?

I have this line in a cron command line: zip -r public_html-1.zip public_html -x *cache/smarty* It works fine but if the file exist it get overwritten. I need to change this command to create files ...
1
vote
1answer
47 views

vim syntax highlighting ubuntu touch

I'm trying to get syntax highlighting working while using vim. :version gives me: "Small version without GUI". I installed both "vim-gui-common" and "vim-runtime", but everytime I issue the ...
1
vote
1answer
74 views

Ubuntu Software Center, Update and pretty much everything else doesn't work :D [duplicate]

The Software Center closes instantly after I opened it. sudo apt-get update and all commands related to this don't work either. E: Typ »!DOCTYPE« in line 1 of sources list /etc/apt/sources.list.d>...
0
votes
0answers
40 views

How to repair Ubuntu after crash during upgrade?

during an upgrade from 14.04 to 16.04 my computer crashed and now won't boot properly. When it's loading up, I get the message that "Failed to start Load Kernel Modules", and then goes straight to ...