Questions tagged [command-line]

This tag is for questions that are about using the command-line interface (CLI), including the use of standard command-line tools and shell commands. However, for questions that are specific to each shell (like Bash, ZSH etc.), use the tag of that particular shell as well.

4,292 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
75 views

Removal of multiple sub-folders in Ubuntu server doesn't work using curly brackets

I have a ubuntu(don't know the version) server, in which I am trying to clear the following 4 sub-folders. magento-root/var/cache magento-root/var/session magento-root/var/log magento-root/var/report ...
Vicky Dev's user avatar
  • 433
1 vote
0 answers
243 views

Terminal window top bar is hidden after Ubuntu updates applied

I have Ubuntu 16.04 LTS, this worked fine until updates applied recently. After that, when opening a terminal it is always parked in the top left of the display and it is unable to be moved. Other ...
Paul Deadman's user avatar
1 vote
0 answers
1k views

Restore deleted desktop files

Incidentally, I have run a command in the terminal sudo rm -rf ~/Desktop and all my files/icons in the desktop are gone. I tried some tools like testdisk and foremost to restore the files but they don'...
jaja jaja's user avatar
1 vote
1 answer
324 views

Problem getting script to run via cron tab

New to Ubuntu, and first time writing a crontab, or using the Nano editor. Basically I can get a simple python script to fire via a crontab, but not the actual python script needed to be scheduled. ...
user3547551's user avatar
1 vote
0 answers
223 views

Can't figure out phpstorm terminal keymap for arrow keys in ubuntu

I want to load my previous commands or move cruser back and forward in what I'm writing in phpstorm terminal while using php artisan tinker a playground for checking our code to see if it works, but ...
Mohammad_Hosseini's user avatar
1 vote
0 answers
229 views

Key binding stops keyboard input echoing, and messes up the PS1 prompt

I want Bash to clear the scrollback history when I press Ctrl+L, especially when I'm running a command with a lot of output; I want to scrollback to the first output line, without overshooting into ...
Huw Walters's user avatar
1 vote
0 answers
224 views

Generate the sounds of a babbling brook or a water-fall with SoX?

I got so inspired by this question "Generate White Noice to Calm a Baby", so I was wondering what else i possible to do with SoX... Is it possible to generate the sound of a babbling brook? Is it ...
Baard Kopperud's user avatar
1 vote
0 answers
72 views

Terminator display getting messed up

I'm using terminator on Ubuntu 14.04. Whenever I open a new tab on it, the graphics of almost all tabs become clumpsy one after other: How can I fix this?
Nakul Kumar's user avatar
1 vote
1 answer
79 views

Start a console on BQ Aquaris

I would like to get on the console of my new BQ Aquaris Ubuntu Touch Pad. Although I fund out how to get to the "Ubuntu Store" there is a "Konsole" and a "File Manager" but it seems to be nothing ...
rubo77's user avatar
  • 32.4k
1 vote
0 answers
535 views

Install Matlab CLI interface on Ubuntu Server 16.04

Im having some problems to install Matlab through the CLI interface. I have mounted the .iso as root and then changed to my regular user account for installing the software. --------------------------...
lupinlicious's user avatar
1 vote
0 answers
937 views

nuget: No packages found

I have the latest Ubuntu server 16.04 LTS with mono-runtime installed. I have installed the nuget package with apt but it is unable to see any packages. nuget list -Verbosity detailed gives this ...
Tony's user avatar
  • 11
1 vote
0 answers
26 views

How to verify the presence of a file written to a RAID-1 device?

I have a RAID-1 (mirrored) array set up on two identical devices, /dev/sdb and /dev/sdc. My procedure is documented here. Say I have a test file written to /dev/md0, Stuff.txt, that contains evidence ...
Joel DeWitt's user avatar
1 vote
0 answers
106 views

Great quality video and audio with ffmpeg2theora?

Xenial Xerus has a decent version of ffmpeg2theora: andrew@athens:~$ ffmpeg2theora | head -n 6 ffmpeg2theora 0.29 Xiph.Org libtheora 1.1 20090822 (Thusnelda) Xiph.Org libVorbis 1.3.5 ...
andrew.46's user avatar
  • 38.1k
1 vote
0 answers
499 views

cpio extract not working

I'm trying to extract a package called initrd.lz. I am running these commands: mkdir tmp cd tmp lzma -dc -S .lz ../initrd.lz | cpio -imvd –no-absolute-filenames However, there are no files ...
ovine's user avatar
  • 109
1 vote
0 answers
8k views

Ubuntu 16.04. Recovery mode boot and failsafeX. How to access the console?

I am trying to fix the installation vagaries following the upgrade from 12.04 to 16.04 via 14.04. I am following the instruction of the post How to fix “The system is running in low-graphics mode” ...
XavierStuvw's user avatar
  • 1,451
1 vote
0 answers
93 views

GRUB Menuentry One GUI Boot & One Console

I want two menuentrys in grub One to boot ubuntu into textmode to actually function as a server (running everything like apache2 except all X related things to save memory and CPU usage) And one to ...
maza2580's user avatar
1 vote
0 answers
2k views

How to start firefox on Ubuntu touch using the terminal

I need for my work to run firefox on my Aquaris M10 tablet using the terminal. I already tried this: "Unlock" the tablet (with android-gadget-service enable writable) I used apt-get install firefox ...
roger6212's user avatar
1 vote
0 answers
400 views

No Terminal colors after hostname change

I have a VPS pre-installed with Ubuntu 14.04 version, it was my choice. Can someone explain why after the host name change, terminal is no longer using colors? I double tested that host name ...
Pawel Cioch's user avatar
1 vote
0 answers
1k views

How can I run supervisor?

I want to use supervisor to restart my python script: /home/username/prog/test.py import time while True: print('I am alive.') time.sleep(1) My config file: /etc/supervisor/conf.d/testapp....
aaron koli's user avatar
1 vote
0 answers
436 views

Netbeans, xampp and Android Studio Silent install

is there any way to make Netbeans 8.1 Xampp and Android Studio to install via script without any GUI and user interaction?(All three of them got GUI installs.)
fixxxera's user avatar
  • 355
1 vote
0 answers
23 views

Is it possible to edit a second level into Grub, for dual-boot loaders?

To clarify, I want to have Ubuntu 16.04 and Windows 7 as the only two options on the boot menu, but still be able to access the memtest options that come up if I am quick enough to press F8 or ...
Whusmaname's user avatar
1 vote
1 answer
75 views

Changing to a project directory slows down the terminal on ubuntu

I am facing the inefficiency problem on the terminal. I have a ruby on rails project directory having a size of about 230 MB. Whenever I perform any command in this directory such as cd etc. the ...
Mubashir Kamran SW Engineer's user avatar
1 vote
1 answer
81 views

How to write an bash script to monitor double-click activity?

I am using a dictionary named sdcv, which is used to translate words or phrases, and mainly worked in the terminal environment. It means that each time I want to translate one word or phrase I should ...
Zhang Tao's user avatar
1 vote
0 answers
3k views

Booting into recovery mode remotely from the command line

I would like to reboot into the recovery mode remotely from the command line in Ubuntu 14.04.4 LTS x64. Graphically I would do: then choose: but I don't know how to perform this remotely through ...
Franck Dernoncourt's user avatar
1 vote
0 answers
497 views

bssl.so.1.0.0: cannot open shared object file: No such file or directory

I followed this tutorial: How to install uTorrent v3.3 on 14.04 On the Step 5 I get this error bssl.so.1.0.0: cannot open shared object file: No such file or directory I'm running Ubuntu 14.04 and ...
Иван Братчиков's user avatar
1 vote
0 answers
2k views

CMake error HDF5

I´m trying to install a program on Ubuntu. Therefore, I´ve to install OpenMP, Eigen, CMake and HDF5. After compiling all these libraries with Cmake I finally got to the last step: Installing ParOSol ...
SebastianGT's user avatar
1 vote
0 answers
38 views

Execute a script each time a non-defined alias/function is used in terminal

Suppose I have a function that is not defined neither as an alias or a function. How can I set zsh to execute a script each time the alias is not recognized ( e.g edit my ~/.zshrc to add this precise ...
user123456's user avatar
  • 2,378
1 vote
0 answers
231 views

Can I get the steps for crawling in the below link available to execute in ubuntu 16.04.1?

Search Engine with Apache Nutch, MongoDB and Elasticsearch. A brief description about each component: Apache Nutch An open source web crawler forked from Apache Lucene MongoDB An open source ...
Abhishek K's user avatar
1 vote
0 answers
571 views

start process, then attach to tmux pane when needed

So, I'm trying to set up a tmux window that gives me a at-a-glance overview of everything on my multi-purpouse server computer. I'd like to have one pane of that window display the console output of ...
Tristan Ritland's user avatar
1 vote
2 answers
87 views

Problems with making a desktop shortcut to a shell script

I have looked at many different posts about doing this, but none of the solutions have worked. I have already made both the shell script and the shortcut executable. Any other ideas? Here is the ...
Ben Durham's user avatar
1 vote
1 answer
1k views

Link a directory(with its own files and folders) to another directory

I am trying to understand how to use the ln command but every link keeps turning out to be red. When I try to open the folder I get this error: Too many levels of symbolic links I am inside a folder ...
syy's user avatar
  • 111
1 vote
0 answers
262 views

Running Jab-Ref3.5.jar on Ubuntu 14.04

I downloaded JabRef-3.5.jar and I'm trying to execute it from the command line as follows: java -jar JabRef-3.5.jar Just as it says in this post. Unfortunately, it doesn't work. It says: Error: ...
Ferragosto's user avatar
1 vote
0 answers
520 views

How to install Ubuntu16 into a system with console as the only display

I'm trying to install the Ubuntu16 into my embedded system. But my system only has serial console as the display output so ordinary methods seems not work. Is there a special image or a special tool ...
Hanks's user avatar
  • 11
1 vote
0 answers
119 views

Ubuntu Desktop 16 to duplicate/clone a running terminal console

Sometimes I want to clone/duplicate a running terminal console so that I can work on the current thread/process without having to re-run all executed commands from the beginning. E.g. running a Flask ...
Nam G VU's user avatar
  • 2,278
1 vote
0 answers
58 views

when I try to copy text from the command line strange characters appear

when I try to copy text from the command line strange characters appear. I have never not been able to copy and paste in the virtual terminals. I tried installing GPM just in-case, but it did not ...
j0h's user avatar
  • 14.8k
1 vote
0 answers
142 views

R statistics on Ubuntu 16.04 lts: copy and paste does not work

I installed Ubuntu 16.04 on 2 different machines. On both I have this problem: I open a terminal, call for R statistics, copy my code from any file (txt, doc, xls, csv, it's all the same), paste it on ...
Annalì Stacchinì's user avatar
1 vote
0 answers
800 views

apache2 -V getting error messages

AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} My apache is located under /usr/sbin/, when I run /usr/sbin/apache2 -V as I ...
shenkwen's user avatar
  • 439
1 vote
0 answers
577 views

Autocomplete SSH bash: export: `-a': not a valid identifier

When I try to autocomplete using double TAB, I get this error: bash: export: `-a': not a valid identifier This mainly happens when trying to autocomplete ssh routes. However sometimes it fails to ...
apalomer's user avatar
  • 285
1 vote
0 answers
72 views

Ubuntu starts up in terminal after updating to newer version

I have searched the internet for hours, and although I have found some similar problems and extracted some information from them, I still have the same problem. A few days ago I decided to update ...
bns's user avatar
  • 11
1 vote
0 answers
161 views

Upstart services work in SSH session, but not in local terminal session

If I open a local terminal, and attempt to start an upstart service I get this error: service rsync status status: Unknown job: rsync But if I SSH in as the same user, it works fine: service rsync ...
geekydel's user avatar
1 vote
1 answer
242 views

Lubuntu: Remapping caps to backspace: 15.10 or 16.04

I've spent more time then I care to admit, attempting to change caps to backspace in Lubuntu on a spare computer (15.10), cause I want to switch to lubuntu as my main linux (with 16.04). Basically ...
Paul Beaudet's user avatar
1 vote
0 answers
539 views

VLC media player 2.2.1 is choppy

Ubuntu version is 14.04.1. VLC is choppy depending on how it's started. From the console window this command works fine: /usr/bin/cvlc -vvv /home/matt/Hockey_Footage.m2t --sout udp:239.204.1.106:4000 ...
JAS's user avatar
  • 13
1 vote
0 answers
237 views

terminal access and swap issue on lubuntu 16.04 install on HP mini 1000

My goal is to install an encrypted Lubuntu partition on my HP mini. I am trying to install Lubuntu 16.04 i386 (downloaded direct from ubuntu.com), onto an HP mini 1000 (model 1116NR with 16GB ...
Jacob's user avatar
  • 11
1 vote
0 answers
1k views

passwd : Authentication token manipulation error (Different than other questions)

I'm trying to change password with single command. The command is, echo -e "current_password\nnew_password\nnew_password" | passwd Here's the Output of the command... Changing password for adarsh. (...
Adarsh Sojitra's user avatar
1 vote
0 answers
34 views

How to use one machine as master in a cluster

I made a cluster using CSSH contains 10 machines in a network inclusive the machine that I use (currently opened machine) and the IP addresses are stored in /etc/clusters , after I opened them using: ...
Hamm's user avatar
  • 235
1 vote
0 answers
2k views

Error when running ssh: -bash: exec: cd: not found

Here is the output on the terminal when I run ssh, not sure what is wrong. Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-86-generic x86_64) * Documentation: https://help.ubuntu.com/ 10 packages ...
user avatar
1 vote
0 answers
3k views

Launch python script fullscreen on startup (Ubuntu 14.04)

I have a python program that I would like to automatically run after logging in. This shouldn't be much of a problem, however, I would like the terminal to be in fullscreen mode while running the ...
lsgng's user avatar
  • 11
1 vote
0 answers
223 views

How to install dependencies for unity 8 music-app an terminal-app?

I used vthompsom ppa to install unity 8 apps in my Ubuntu 16.04. I could get file manager app, calculator app and weather app working. Media hub app installed but is not available in the dash. Music ...
uche okeke's user avatar
1 vote
0 answers
252 views

Error while executing sudo sh./usertest.sh

I faced an error during the Setup software at Raspberry Pi; While executing the command line in raspberry Pi shell, sudo sh ./usertest.sh I got the following errors . detec_fb_type :unknown device ...
Oussama Belkheir's user avatar
1 vote
0 answers
118 views

Ubuntu behind the scenes

I am just curious about what Ubuntu is doing behind the scenes after I type a command in the terminal and it takes a long time to complete the requested action. In my case here now, I typed the ...
Pabzum's user avatar
  • 69

1
28 29
30
31 32
86