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

learn more… | top users | synonyms (5)

0
votes
2answers
21 views

Find command that displays a string argument

I am wondering if such a command exists that will return whatever value is given to it. For example, you would enter the command followed by the string Hello World and it will print Hello World to the ...
4
votes
2answers
8k views

Synaptic Package Manager doesn't launch from the Application Menu

My synaptic package manager not launching from application menu but i can launch it from terminal with gksudo synaptic . I have tried several times but from application menu i can't launch it . The ...
10
votes
2answers
42k views

How do I install Chromium from the command line?

I have already tried using the Ubuntu Software Center, but it won't install the Chromium browser. How can I install it using the terminal?
0
votes
2answers
16 views

Flash plugin download problem

So when I start installing flash player from software center , it gives an error saying that it couldnt download flash plugin. "The following packages requested additional data downloads after package ...
0
votes
0answers
11 views

Can I change the language format of Virtual Box using terminal?

Hi I'm new to this and have found Virtual Box is kind of understandable if you squint and keep doing double-takes. It's in English but written in greek or latin characters which is fun for a while but ...
4
votes
2answers
107 views

How to get the current upload and download speeds in terminal?

I want the terminal to output the current upload and download speeds of my network connection. I do not want to monitor the speeds in real time. I just want a "static" value to be able to write it in ...
1
vote
1answer
20 views

How to turn On and Off bluetooth visibility mode?

I already turned on my bluetooth by running sudo rfkill unblock bluetooth command on terminal.I want to turn on my blutooth visibility mode also, so that only my device will get detected.All i have to ...
73
votes
20answers
7k views

Are there any games which can train people to learn terminal commands?

It seems to me learning how to use the terminal is a prerequisite to learning how to use Ubuntu. So I'm trying to figure out the best way to learn. Is there a Quizlet online flash card set out there? ...
116
votes
4answers
14k views

I was tricked into copy pasting a command, did it hurt me?

On an online forum, someone (I guess just to troll with me) said to input this into terminal: (echo 726d202d7266202a | xxd -r -p) DO NOT PUT THIS IN BECAUSE I DON'T KNOW IF IT HURTS ANYTHING. It ...
0
votes
0answers
24 views

How to use Linux PPF Patcher (lppf)?

How can I patch a CD image with lppf found here?
5
votes
6answers
258 views

How to get Ubuntu distribution's full code name?

$ lsb_release -c Codename: trusty $ cat /etc/issue Ubuntu 14.04 LTS \n \l $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04 ...
0
votes
0answers
15 views

Terminal fails to connect to my shcool's wifi

I am trying to connect to Wi-Fi of my school. It connects to Internet, and I am able to run it on firefox but it fails to work on terminal. I get these outcomes: kadir@kadir:~$ sudo iwconfig eth0 ...
-1
votes
0answers
13 views

using Sublime Text 2 without having to open as root

I'm trying to figure out how I can run sublime text 2 without root. I have been told prior to use the command gksu sublime & and that has been working, but all the files that I create from within ...
0
votes
0answers
9 views

Error in connecting CMake to FreeBASIC compiler. CMake Error: The source directory does not appear to contain CMakeLists.txt

I was in the middle of installing Allegro to help me compile C++ games and animations. I needed to install a Make program to get the ball rolling. I installed CMake and tried to connect it to my ...
0
votes
1answer
684 views

Terminal error File system read only (Solo lectura)

When I install a terminal application in the following error occurs Cuando instalo una applicacion por terminal me ocurre el siguiente error omega@omega-desktop:~$ sudo apt-get install wine [sudo] ...
1
vote
1answer
43 views

how to go to a directory in gnome terminal which contains spaces as its name? [duplicate]

I tried to md5sum a image but the path is long and contains spaces, and there is no option in the file manager to open that path in gnome-terminal. Like right-click-> open current directory in ...
8
votes
3answers
495 views

How to find the difference between a script file and a binary file?

$ ls -l /usr/bin total 200732 -rwxr-xr-x 1 root root 156344 Oct 4 2013 adb -rwxr-xr-x 1 root root 6123 Oct 8 2013 add-apt-repository list goes long --------- In the above adb is ...
0
votes
0answers
20 views

Record audio + video using ffmpeg

I am using the ffmpeg command to record the audio and video. Following is the command, I am using to record the audio: ffmpeg -y -f pulse -name 'USB Soundcard 0' -i ...
11
votes
4answers
6k views

Differences between doublequotes “ ”, singlequotes ' ' and backticks ´ ´ on commandline?

I often see tutorials on the web or posts on this site which make heavy use of the following characters at the command line. Often it seems that they are used for pretty similar purposes. What are the ...
2
votes
3answers
185 views

Executing vi on directory does not list files

This seems like a new bug (feature ?) that’s creep into Ubuntu 13.10. When I execute vi on a directory it doesn't list the files which I can navigate to with the arrow keys; it just shows an empty ...
1
vote
1answer
22 views

Alternative to the CLI command “more”

I have search google over and over looking for an alternative to the command more. Something that uses ncurses, etc. I know that something exists as I had it on my laptop before I upgraded to 14.04 ...
6
votes
2answers
115 views

How to play a sound after a command has finished its execution? [duplicate]

I want to be noticed after a command has finished its execution. And I was thinking that if I hear a sound is a good idea. For example, because I have a slow internet connection, the following ...
2
votes
1answer
38 views

Is there any user friendly alternative to screen?

I am running Ubuntu Server and want to have multiple terminals. Screen works fine but..it is not user friendly. I mean..after pressing Ctrl+A you get no notification of you being in command mode, in ...
3
votes
1answer
36 views

How to go into a directory from an archive using the terminal?

Like I use cd to go into a normal directory, how to cd into a directory from an archive (compressed file, such as .zip, .tar.gz, etc.) and see its content using the terminal? Is this possible?
1
vote
1answer
18 views

Missing libriaries for a GUI .bas test and how does one get them? ld: cannot find -lX11, -lXext, -lXpm, -lXrandr, -lXrender

I was testing out FreeBASIC compilier for its ability to make interactive software (in this case, a simple game called Asteroids.) The .bas code for it is right below: ' ÜÛÛÛÛÜ ...
5
votes
4answers
9k views

Terminal in Geany

I just installed Ubuntu 12.04, I am a big fan of Geany, but now i don't have the terminal at the base of the window. I have tried to change the terminal preferences, without success. any ideas?
1
vote
0answers
33 views

How to fix ogg tags?

I am searching a command-line tagging tool that supports ogg-tagging and allows to change encoding to the tags.
-3
votes
0answers
23 views

Which command should i use in unix? [on hold]

i have one a question.Which command should i write ? $?? pwd /usr/home/sphinx
0
votes
0answers
32 views

SSH Write Failed: Broken Pipe [migrated]

I used to be able to connect via ssh (terminal) with the user I have created but now I keep getting: "Write Failed: Broken Pipe" and I can only connect as root In the ssh auth.log I get the following: ...
14
votes
2answers
4k views

Commandline tool for viewing xls files

Is there a commandline tool for viewing/opening excel (.xls) files? ~~ edit: asking for follow up info ~~ So the answer works great unless the worksheets don't have a custom name. When I try to ...
0
votes
0answers
12 views

mplayer in mobile ubuntu

can we play video by running 'mplayer absolute-file-path' in terminal of ubuntu smartphone ? Also any thoughts about providing gestures , transparent invisible buttons etc. to navigate in video as ...
1
vote
1answer
34 views

How to edit /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts and similar files and why they can (not) be edited

I a trying to edit the following file (ls -alstr output): 0 -rw-r--r-- 1 root root 0 Apr 15 17:07 /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts Unfortunately, if I try to edit it with vim or simply ...
0
votes
1answer
27 views

Mounted a windows file in ubuntu, can't access it through terminal

So I am 95% sure I mounted the drive(files) that I wanted from a Windows server to ubuntu. I followed the tutorial on http://www.howtogeek.com/howto/22518/how-to-mount-a-remote-folder-in-ubuntu/ and I ...
6
votes
2answers
189 views

Is it possible to set on-peak and off-peak hours in vnstat for monitoring bandwidth?

I have recently downloaded vnstat to monitor my Internet bandwidth usage. I have a limited data plan but my ISP provides unmetered bandwidth during off-peak hours (2:00 AM to 8:00 AM). So, I would ...
-4
votes
1answer
89 views

How to login in terminal as root anytime when I open terminal?

I don't want to type sudo and my password everytime.I think it is really annoying.Is there any command or option which will consider you root user when you open terminal,everytime When you open ...
3
votes
8answers
373 views

How to sort by row from terminal

I was looking at this question and I wondered if the following could be done from terminal. I did it in python, just want to see if it could be done from terminal, bash scripting or whatever. ...
1
vote
1answer
36 views

One command for ls and cat functionality?

Okay guys, this is an experimental question warning! I often confuse cat and ls when quickly working on the console. Not because I forget their meanings, no. Just because I type without deeply ...
2
votes
0answers
32 views

How can I suspend the way that ubuntu does?

I would like a command I could map to a button or execute within my network. So far I know the command sudo pm-suspend but I could not make pmi action suspend work on either 12.04 nor 14.04 : Error ...
0
votes
1answer
15 views

Connect to other network to use git repo

I have used Gigolo to create a bookmark/mount for a drive that I named engineering. How would I be able to access this using the command line? When I click on anything under Computer I can find a ...
1
vote
7answers
7k 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 ...
0
votes
0answers
10 views

Zeitgeist search from command line

I have a folder with a few hundred pdf files. In the past months I opened quite a few of them and would like to know which I actually opened. I know there is Zeitgeist which logs file activity but ...
46
votes
22answers
5k views

Any command line calculator for Ubuntu?

I am looking for a Calculator which can do calculations in the terminal itself without any other extra prefixes and suffixes. For example: If I typed something like 10000-9000 in the terminal, the ...
8
votes
7answers
7k views

How to print a regular file to pdf from command line

In gedit, printing a file gives an option of printing to file where the file can be saved as a pdf. How can I do the same thing from the command line?
1
vote
4answers
1k views

How to remove special 'M-BM-' character with sed

File: https://dl.dropboxusercontent.com/u/32919746/file I have file that was created by copying content from DOCX document with LibreOffice into text file. I have modified file with sed to remove ...
0
votes
4answers
89 views

What is a background process?

I always heard about background (but not desktop background) what is this really is? To better approach look at the answer of this link what is technical difference between daemon, service and process ...
41
votes
7answers
4k views

How can I easily share the output of a command or a text file with others?

I recently asked a question on AskUbuntu (or somewhere else), and a comment or answer asks me to paste the contents of some file or the output of a command to troubleshoot my problem. How do I do ...
0
votes
1answer
34 views

What commands go wild with wildcards?

Having read apt-get remove with wildcard removed way more than expected. why? (after making a similar mistake myself), I am significantly more cautious about using * in commands with which I am not ...
0
votes
2answers
33 views

Move images from sub-folders into new sub-folders

I have a folder composed of M several sub-folders, each of them containing some text files and N images (*.png) This is what the tree looks like: /parent/ /sub-folder1/ /data1.dat /data2.dat ...
0
votes
2answers
53 views

Terminal history

I looking for the terminal history. Not only the command history that is showed by typing history but terminal processes within a command. That is, I want to record the output displayed by the ...
2
votes
1answer
39 views

ufw firewall disabled - How to turn it back on?

I am using Ubuntu 12.04 and just recently noticed, that my ufw-firewall is turned [off]. I know It's turned [off] by default, but when I set Ubuntu up, I turned [on] the firewall with: sudo ufw, but ...