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

learn more… | top users | synonyms (5)

0
votes
1answer
452 views

14.10 only boots to UEFI Interactive shell

Hello I am very new to Ubuntu and am testing it out on a VirtualBox VM.. It installed fine, I was even able to install Guest Additions and a few apps before shutting it down for the day. Now when I ...
0
votes
0answers
5 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 ...
14
votes
1answer
757 views

How can I redirect what is shown on screen to a file?

I'm trying to view the content of a big file in Terminal by less command and I want to redirect the screen content(the content that currently I'm looking not the entire file, until I press the Q to ...
1
vote
2answers
82 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 ...
0
votes
0answers
10 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
0answers
22 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

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 ...
6
votes
1answer
837 views

apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

When I do upgrade it gets stuck here: user@plato:~# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done ...
0
votes
2answers
35 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
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
31 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
11 views

Gnome 3 not working

I have ubuntu 14.10 and had Gnome 3 working propertly except that sometimes it got stuck in the login screen and had to reboot it( loosing the current work). So i decided to install Unity and ...
55
votes
9answers
73k views

What's a command line way to find large files/directories to remove and free up space?

Looking for a series of commands that will show me the largest files on a drive.
-1
votes
1answer
24 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
7 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
22 views

no open in new tab terminal and no user@hosname

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
1answer
18 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 ...
0
votes
3answers
50 views

How would I create an alias to run a game? (Minecraft)

I would like to create a command-line alias to run a game (Minecraft in particular). How would I accomplish this? I want to type in runmc to run the command java -jar /root/.minecraft/launcher.jar. ...
9
votes
2answers
13k views

connect to wifi from command line

Other posts seems to be addressing more complicated network connection issues from the command line. The Unity panel Network indicator/button doesn't respond too well sometimes - it keeps trying to ...
-1
votes
0answers
17 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?
13
votes
2answers
15k views

How to open the additional drivers window using command line

How can I launch the additional drivers window from the command line?
1
vote
1answer
764 views

What are the functional differences between Lubuntu and Ubuntu?

I understand that Lubuntu utilizes LXDE over Ubuntu's Unity(Gnome?); But being new to Linux I'm not sure if that change is going to be simply cosmetic, or if there will be functional differences I ...
1
vote
1answer
24 views

Taking video and snapshots simultaneously using a webcam

I'm trying to do something fairly specific and I was wondering if anyone had some suggestions for ways to do it. I'm working on a program and for it I need an application to do the following ...
2
votes
1answer
192 views

Apt Terminal Progress Bar source code Ubuntu 14.04

I have read an article in OMG Ubuntu[0] about enabling the progress bar in the terminal. I'm browsing apt launchpad page [1] and browisng the code. Someone knows exactly where is the code for the ...
13
votes
3answers
1k views

How to tell what applications are accessing the hard drive and how frequently?

My hard drive is going crazy and I don't know what application is doing it. Are there any linux tools for profiling what processes are accessing drives and how frequently? top, htop and the like ...
0
votes
0answers
12 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. ...
5
votes
4answers
13k views

How to go between partitions in terminal

A very basic query which requires your kind guidance. If I am at command prompt in either DOS or Windows, I would use, (if I am in C: drive) d: to go to drive D. What is the equivalent in Ubuntu ...
1
vote
1answer
80 views

How to use the dd command to copy an .img file to an SD card?

I've been trying to use the dd command to send an .img file of mine to a partition on my SD card. The command is: dd if=/dev/sda6/media/david/desktop/stellar-unbrick.img of=/dev/sdb1 Unfortunately, ...
2
votes
1answer
46 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
1answer
298 views

sudo update-manager -d non-gui only alternative

sudo update-manager -d checks if upgrading to the latest devel release is possible (source: man update-manager). But it opens a visual application (windows, buttons and so on). Is there any command ...
0
votes
1answer
43 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 ...
2
votes
4answers
105 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 ...
16
votes
8answers
23k views

How to show only hidden files in Terminal?

I have a directory that contains thousands of files, some of them are hidden. The command ls -a list all files, including hidden ones, but I need just to list hidden files. What command should I ...
0
votes
0answers
16 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 ...
17
votes
5answers
19k views

Command line tool to crop PDF files

I am looking for an open source command line tool to crop PDF file just like we can do in Adobe Acrobat Pro. I have tried PdfTk, ImageMagick, PyPDF, and GhostScript—all with no success so far.
16
votes
5answers
11k views

X11 Forwarding over Gnu Screen, is it possible?

I use GNU Screen constantly. But, I've been trying to figure out if there is someway to get X11 apps to forward over screen when I am ssh-ing (Is that a word?). Currently if I try to run 'gedit' ...
2
votes
3answers
78 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
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
27 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
1answer
103 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 ...
2
votes
2answers
113 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' | ...
0
votes
0answers
17 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 ...
5
votes
2answers
14k views

Proxy authentication with terminal Ubuntu 14.04

I would like to access the internet to update files etc. from the terminal on a secured proxy network. I've already tried the following: Adding to /etc/apt/apt.conf, /etc/apt/apt.conf.d/01proxy, ...
1
vote
0answers
12 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 ...
7
votes
7answers
14k views

Why is the error, dd: /dev/rdisk1bs=1m: Operation not supported, popping up while trying to instal ubuntu on usb?

I am trying to install ubuntu onto my flash drive using the instructions from the website, http://www.ubuntu.com/download/help/create-a-usb-stick-on-mac-osx , and after step 8, the terminal asks for ...
102
votes
15answers
226k views
42
votes
8answers
114k views

How do you reset a USB device from the command line?

Is it possible to reset the connection of a USB device, without physically disconnecting/connecting from the PC? Specifically, my device is a digital camera. I'm using gphoto2, but lately I get ...
0
votes
0answers
26 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 ...