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

learn more… | top users | synonyms (5)

0
votes
1answer
7 views

How to set new JDK home in NetBeans IDE after Java update (NetBeans IDE refuses to start)

This is a question which will help you through what to once you have realised that after updating your Java version, NetBeans IDE refuses to launch. And even after updating your $PATH variable in your ...
0
votes
1answer
20 views

Terminal or Konsole?

I am using Ubuntu 14.10 with KDE graphical environment. KDE has Konsole as terminal emulator. Now I have Terminal and Konsole both on my Ubuntu. My question is which one should I use to run command? ...
0
votes
0answers
19 views

Changing Background Image in Multiple Terminals

I was wondering if anyone would know how to change the background image in the terminal in a unique way. I know how to change it so that every instance of the terminal has the same background, but I ...
0
votes
0answers
11 views

Trying to run an Rscript from the command line but I'm running into namespace errors

I'm fairly new to Linux and I'm running into some major problems. I'm trying to run an Rscript from the command line instead of RStudio on amazon EC2 ubuntu instance. My script makes use of couple of ...
0
votes
0answers
4 views

How to use utserver as service

Disclosure: I'm new to linux as well as StackExchange. If I am posting in wrong place or my post doesn't meet community standard, please spare a noob and point me to right direction. I have ...
0
votes
1answer
13 views

why is “export PATH” displayed in terminal as a title?

I have a long time using Ubuntu, probably 3 or 4 years, I've never had the need to "export a path". Now, I was installing Xilinx ISE 14.7 in Kubuntu 14.04 Trusty Tahr LTS following a tutorial, at ...
6
votes
8answers
424 views

How to count occurrences of each character?

For example I have file 1.txt, that contain: Moscow Astana Tokyo Ottawa I want to count number of all char as: a - 4, b - 0, c - 1, ... z - 0
0
votes
0answers
9 views

Error while loading shared libraries

I'm using a software called GPUOcelot in order to be able to compile a software that I'm programming that uses CUDA. But my computer doesn't have any NVIDIA card, so that's the reason why I am using ...
0
votes
0answers
15 views

Random delays typing in a terminal

I'm testing 14.04.2 before installing it, using a live USB. Everything seems to work fine except that when I type in a terminal, random delays can occur between hitting keys and having them appear on ...
0
votes
1answer
28 views

Connect to DUN using bluetooth in 14.04

Whenever i try to access DUN using Bluetooth GUI i always get Connection Timeout, that didn't happened before when i was using 12.04. Can anyone tell, is there any specific bluetooth issue in 14.04.? ...
0
votes
1answer
31 views

Preserving text formatting when piping output to csv file

I have an executable which gives an output like the following, Posture state: 3 Posture side: 0 Posture state: 3 Posture side: 0 Posture state: 3 Posture side: 0 ...
0
votes
0answers
13 views

automatically launch bash scripts that are currently user controlled? [duplicate]

I have written some scripts to collect system statistics through vmstat, iostat and sar and another script that controls processes. The process control one reads information from a text file and ...
0
votes
0answers
4 views

Make KNetworkManager follow radio status set on the command line

I have installed the KDE desktop on my Notebook. However, when I enter into airplane mode on the command line by nmcli r wifi off the GUI of the KNetworkManager does not show the little ...
4
votes
1answer
37 views

Command line way to know the cyles of the moon

I'd like a simple way to know when the next fullmoon is, and would prefer not to rely on a web service. I don't want a GUI since I'd like to call this from a script. Thanks all!
0
votes
0answers
17 views

Gnome 3 not working

I have Ubuntu 14.10 and had Gnome 3 working property except that sometimes it got stuck in the login screen and had to reboot it. So I decided to install Unity and re-install Gnome. I can access ...
0
votes
0answers
9 views

how to get jms connection factory details from the asadmin CLI for Glassfish

How do I get more specifics on jms/CrmConnectionFactory, using the get command, from the asadmin console? thufir@doge:~$ thufir@doge:~$ asadmin list-jms-resources jms/CrmQueue jms/CrmTopic ...
0
votes
0answers
24 views

no option in terminal to “open new tab” and no “username@hostname”

I've a lot of time to fixing it by googling, but nothing is the same as mine. So, I posted the question here. In the fresh install, I have a terminal like everyone on google, but now I've a strange ...
0
votes
0answers
14 views

files & directories are not share on server with 777 permission using sshfs

I am successfully mount the remote directories on my local directories, I have to created folder and files with 777 permission so others can able to access this files so that's why I used umask=000 ...
0
votes
2answers
46 views

I can't get Graal Online to work

I checked, and my computer is 64bit. The file i downloaded is 64bit. I've tried the following things -> uname -m ./Graal ls cd Downloads/ ls ./Graal sudo apt-get install ...
0
votes
1answer
19 views

Capturing commands for documentation? [duplicate]

I plan on configuring an Ubuntu Server via the CLI. Is there any program that can capture my commands (and perhaps responses)? Just trying to make documentation more efficient. Thank you.
0
votes
0answers
7 views

unity --replace Async Shell - Update Icon of Running Application

So I figured out how to update the icon of a running application. After doing the change the icon doesn't apply right away. I then launch terminal and then run unity --replace, running this flashes ...
1
vote
2answers
88 views

Whats the difference between SUDO and Changing to root [duplicate]

If I issue a sudo /bin/bash` [sudo] password for mark: cmp -bl /dev/blah1 /dev/blah2 and using sudo cmp -bl /dev/blah1 /dev/blah2 then logging in as root? I don't see whats different, if ...
-1
votes
0answers
19 views

Shell scripting for date intervals [on hold]

How can write a shell script (e.g. bash) that calculates the difference between two entered dates?
-1
votes
1answer
26 views

What software do I need to exchange Bitcoins?

I need software that could run on Ubuntu desktops and server; a command-line one. I am using Ubuntu 14.04 64-bit both on the desktop and on the server. What software can I use? I have tried ...
0
votes
0answers
13 views

Another Error removing file: No such file in directory problem

I've read all the answers to this question that I could find, but I'm still confused. Here's my setup. I have a dual boot system. Windows XP Pro on one drive and Ubuntu on another separate drive. ...
2
votes
1answer
49 views

Ubuntu Linux 14.04 on Parallels Desktop 10, Mac OS X 10.10.2: Parallels and/or Ubuntu update broke Terminal (no command-line prompt)

I am running Ubuntu Linux 14.04 via Parallels (10.1.4) in Mac OS X 10.10.2 on a MacBook Pro. Today I received update notifications for Ubuntu (first) and then Parallels and stupidly installed them (I ...
0
votes
0answers
17 views

Unable to restore Unity after Compiz disable, can't open terminal

I've been looking through the forums and there are many similar problems but mine is a little different. I used Compiz and accidentally disabled Unity when I turned on Window Decoration. I found many ...
2
votes
4answers
110 views

count the number of unique values based on two columns in a spreadsheet

I need to count the number of unique values based on two columns in a spreadsheet. Suppose the file looks like this, ordered by name, surname, company: joe allen ibm joe smith ibm joe allen google ...
0
votes
1answer
44 views

What does cd [-L] [-P] [-e] [-@] do?

Out of curiosity I typed cd --help to see if there were any extra things you can do with changing directory, and it came up with cd: usage: cd [-L|[-P [-e]] [-@]] [dir] What does each option do? I ...
0
votes
0answers
12 views

Can't uninstall wine

I've downloaded a beta version of wine from the ubuntu software center, but ti wasn't what i was looking for so I tried to uninstall it from there wich I couldn't, I know almost nothing about ubuntu ...
2
votes
1answer
28 views

Ubuntu Software Center will not open

When I attempt to open the Ubuntu Software center via terminal the following shows: $ software-center 2015-03-03 13:07:01,990 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' 2015-03-03 ...
0
votes
0answers
18 views

How can I truly clear a terminal window? [duplicate]

When I run clear in the terminal, the tab appears to be cleared of text, with only a fresh command prompt visible in the top left corner. However, the scrollbar is still active and if I scroll up, I ...
2
votes
2answers
114 views

Pipe file to gnome-open command

For example I want to open a specific book from Books directory. To find it I do ls | grep -i 'book_i_want' Ideally I would like to add next pipe with command, like this: ls | grep -i 'some_book' | ...
1
vote
0answers
13 views

gtk-launch .desktop is not using custom icon

I copied my .desktop shorcut to user_home+"/.local/share/applications/" then going to terminal and typing in gtk-launch nameOfMyDesktopFile it launchs it, but it doesn't take the custom icon. I'm ...
2
votes
3answers
82 views

Remove all text before last space in text file from CLI

I want to remove everything before the last space in a text file from the CLI Example text: 2015-03-02 21:34:15 20480 dump-2015-03-02-21-34.tar The string that should remain is ...
0
votes
0answers
28 views

How can i open sublime text using ubuntu terminal? [duplicate]

I want to open most popular text editor sublime text, Already opened by subl . command in existing directory files, but when press Ctrl+c then text editor close and with showing me terminal below ...
0
votes
0answers
13 views

Matlab installing [on hold]

Im having trouble with Matlab installation. I've downloaded a folder, which contains matlab, then in Terminal i've changed the directory to that folder. When trying to execute the command: sudo ...
0
votes
0answers
23 views

Bash cursor graphical bug in ubuntu 14.10

For the past few weeks (I'm not exactly sure on the timeframe, but I think it coincides with me upgrading to Ubuntu 14.10) I've had an issue with my terminal where, while typing, the white cursor ...
3
votes
1answer
117 views

Bash script, arithmetic with floating point variables / strings that represent them

I'm trying to create a simple script that takes an average load percentage of the CPU each minute. I'm doing this by using the sar command from the sysstat package. Here is my current code: ...
0
votes
1answer
46 views

How can display a message on terminal when open it [duplicate]

how can i display a message when open terminal. i want to display a Specified text right after open terminal any time. hence before do anything,i want that text will shown. i want to understand ...
2
votes
1answer
32 views

How to activate/deactivate a gnome-shell extension from command line

Let's say I have successully installed my set of gnome-shell extensions. But I want to deactivate/unactivate from the command line. This is only possible via mouse action, AFAIK. How can I do that ?
0
votes
0answers
14 views

Framebuffer driver commands not working

I was trying to do some tweaks in my Ubuntu terminal. I tried to show a BMP image using fbv. I was following this tutorial for that - I had a BMP image but using this command: fbv -d 1 /root/logo.bmp ...
3
votes
1answer
56 views

What are limitations of ubuntu phone comparing to ubuntu desktop? [on hold]

All the reviews for ubuntu phone seems to be targeted for phone users (how is the touch, gestures, scopes, etc). I am however, interested to know about this new OS as an ubuntu users. I was wondering ...
2
votes
2answers
34 views

Rotate images from terminal

I have a directory with a lots of image but they are in wrong orientation. I want to rotate the images to correct orientation (mostly ±90o). Using image (shotwell photo) viewer I can rotate ...
0
votes
0answers
29 views

How to launch .desktop file from terminal

I have a file on my desktop named "Firefox - Profile B.desktop". I am running Firefox in profile A. I tell Firefox Profile A to run a command in terminal. I'm trying to make it launch "Firefox - ...
0
votes
0answers
9 views

Ubuntu failed to start session on Mac Book Pro retina

I am running Ubuntu 14.04 on a macbook pro retina and I was trying to set up gnome 3 as DE (Desktop Environment). But when I tried to log out and log in, it failed to start the session, a message ...
0
votes
1answer
24 views

teminal text entery problem [duplicate]

After a command is entered in a terminal I am then asked for a password but the terminal freezes and won't let me enter the password. How do I fix this.
0
votes
1answer
104 views

Printing from arrays vs awk 'NR

I am currently printing out values from vmstat stress tests using this: vmstat -a $INT $CNT | awk 'NR > 1 {print $13,$14,$15}'> vm.log_$D & sleep 5 && stress --vm $cores -t ...
0
votes
1answer
19 views

How to get help on a specific option of a command [duplicate]

I guess the title says it all. I know I can get help on a specific command, for example wget, like this: wget --help But how can I get help on some specific option of that command? For example, I ...
0
votes
0answers
33 views

How to start lxsession from command line with proper user priviliges

I'm trying to achieve two things that I can not get to work because I don't know how to correctly start an lxsession in Lubuntu 14.04.2. I boot to the command line with the following line ...