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

learn more… | top users | synonyms (5)

0
votes
2answers
43 views

How to password lock the terminal [duplicate]

How is it possible that I can password lock my terminal. I do not want anybody but me in the terminal. I want it so like when I start up the terminal, it will ask for a password, and if the password ...
0
votes
0answers
35 views

Opening files in terminal [duplicate]

Is there a way to open files in terminal with appropriate application just like it is done in Apple Mac OS X. For example when I want to open text file with sublime text in os x terminal I would ...
-4
votes
2answers
47 views

How to copy files in Terminal as root user [duplicate]

I have 7000 files I would like to copy to a folder from home/Videos to /usr/share/someplace. How do I do this?
4
votes
2answers
94 views

Print a group of lines if they contain specific strings

I have a file (file 1) that looks like that: >C 0 0 4231aa, >A6_03412... at 1:4226:1:4240/95.44% 1 4240aa, >A5_01600... * >C 1 0 4159aa, >FG1_03697... * >C 2 0 3942aa, ...
0
votes
0answers
32 views

apt-get autoremove

I used this command as I thought it will only remove unneeded dependencies, but now it doesn't allow me to go to network, work on GUI and other things. what just happend, it is stuck on tty and no ...
0
votes
2answers
36 views

Terminal window [duplicate]

New to Ubuntu 14.04. How do I get to a terminal window? Reason for question: I am wanting to do installs and workarounds with issues to do with DVDs and turning the music off when I close the music ...
1
vote
2answers
44 views

combining or renaming files

I have a list of files in directory They are named: 2.pdb 3.pdb 14.pdb ... 200.pdb ... 1240.pdb I'd like to combine all of these in this specific order. When I use cat *pdb > pdb_all.txt it ...
2
votes
4answers
243 views

Repeat each line in a text n times

I have a file that looks like this 888 924 873 1374 ..... The dots indicate that I have many more string, around 3000. I want repeat each string n time, to have something like this; 888 888 888 ...
6
votes
2answers
973 views

Where are all the terminal commands stored and how to view them? [duplicate]

I forgot the terminal command for viewing the disk space. So I began with the resources for terminal commands like pdf and webpages. Aren't those terminal commands stored somewhere in the file syster? ...
0
votes
0answers
63 views

How to install all dependencies for Kubuntu Desktop

Please help! I have been trying to install the Kubuntu desktop and KDE desktop layout to use alongside Unity just by clicking which environment I wanted. Well every time I use the terminal using sudo ...
0
votes
1answer
90 views

Kill and Restart TeamViewer 10 Ubuntu 14.04

How do I kill and restart TeamViewer 10 on ubuntu from the command line? I tried running sudo kill -HUP teamviewer* and other variants (TeamViewer.exe; which I got from the system monitor) with no ...
1
vote
1answer
49 views

terminal is not accessible

my desktop went away. and I couldn't access any program. and I just see the purple screen. the only thing I could do is to open the home. plus i couldn't access the terminal Ctrl+alt+T is not working ...
0
votes
1answer
31 views

run command on only local mount points

I have a command to filter files with size > 10 MB but want to run it only on local mount points. Currently I have mounted some remote NFS in my system on /nfs so in my search I don't want to ...
0
votes
0answers
73 views

Menu Bar disappeared and can't open terminal in 14.04

After clicking a video on YouTube using Google chrome the menu bar and Unity launcher disappear in Ubuntu 14.04. Also cannot access the terminal via CTRL + ALT + T. Also I have tried the method from ...
0
votes
1answer
87 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
40 views

Terminal or Konsole? [closed]

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
36 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
18 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
40 views

How to use utserver as service

I'm new to Linux as well as StackExchange.I am running Linux Mint 17.1 Cinnamon 64-bit Cinnamon Version: 2.4.6 onLinux Kernel 3.13.0-37-generic I have successfully installed uTorrent server and ...
0
votes
1answer
29 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 ...
7
votes
11answers
774 views

How to count occurrences of each character? [closed]

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
17 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
24 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 ...
-1
votes
1answer
63 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
50 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
11 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 airplane ...
5
votes
1answer
159 views

Command line way to know the cycles (phases) 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
29 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
28 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
33 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
32 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 ...
-1
votes
2answers
80 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 ...
1
vote
1answer
31 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
10 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
107 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
1answer
29 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
28 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
157 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
29 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
152 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
54 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
14 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
37 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
20 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
125 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
15 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
109 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
43 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
37 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
146 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: ...