0
votes
0answers
2 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 ...
2
votes
2answers
35 views

upload and download speed in terminal with bash

does anyone know what command to bash in order to have instant speed for uploads and downloads in the terminal? Be careful though, I do not need MONITOR speed in real time, i need to return a "static" ...
0
votes
0answers
12 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 ...
3
votes
6answers
158 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
10 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
8 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
0answers
18 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 ...
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: ' ÜÛÛÛÛÜ ...
-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
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 ...
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: ...
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 ...
2
votes
0answers
30 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 ...
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
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
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 ...
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 ...
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 ...
2
votes
1answer
37 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 ...
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 ...
0
votes
0answers
48 views

Using Ubuntu OS as a thin client on machines for users to access and then remote onto a windows terminal server

I was wondering whether anyone had ever installed Ubuntu OS onto a VM and then used it as host system to enable users to login to a windows terminal server from it or if this is possible at all , any ...
0
votes
4answers
88 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 ...
2
votes
1answer
44 views

Is there a plugin for the terminal which allow to detect and open files?

I'm looking for a terminal plugin/extension that would allow me to detect files path in terminal output and open them in a text editor by clicking on them. The perfect solution would open the file at ...
0
votes
0answers
36 views

Openssl - SHA256 (Base-64) using command line

I have to add hash total of a string to a file. Hash total is SHA-256 (Base-64). String stream would be as below: Transaction Type|External System Reference Number|Original External System ...
-1
votes
0answers
20 views

restrict shell commands for munin-node (netcat)

I've spent fair amount of day fiddling with this, and I'm about to give up (for today). I followed instructions outlined here: http://munin-monitoring.org/wiki/Native_ssh All works at the moment. ...
6
votes
2answers
269 views

How to tell which parameter is being supplied to a command with a redirectioin operator?

This works: $ echo "notify-send HELLO" | at now This doesn't: $ at now < echo "notify-send HELLO" It says 'file or directory not found". I understand there's a -f option to this ...
0
votes
2answers
25 views

Question about lynx text browser

When I go to visit this url https://github.com/search?q=jquery+stars%3A>10+forks%3A<10&type=Repositories using this command for lynx: lynx -accept_all_cookies ...
15
votes
2answers
266 views

How to change number of workspaces from command line?

I'd like to change org.compiz.profiles.unity.plugins.core -> hsize and -> vsize from command line. I thought I could use gsettings set org.compiz.profiles.unity.plugins.core vsize 4 but then ...
0
votes
1answer
11 views

Start scheme with 'scheme' instead of 'mit-scheme-x86-64'

I started using Ubuntu to learn how to use terminal and program and stuff. So I found a way to get scheme on my machine because I'm reading Structure and Interpretation of Computer Programs but I have ...
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. ...
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 ...
1
vote
3answers
180 views

Run PHP from the command line

I have installed XAMPP v1.8.3 for my PHP development. I am new to Ubuntu, so I don't know how to set environment variable for PHP which is located at /opt/lampp/bin/php. I can run PHP scripts from ...
6
votes
3answers
116 views

How to list all the packages which are installed from PPAs?

I installed many packages from many PPAs on my system. I want to list all the installed packages which are installed from launchpad PPAs, not repositories. Is this possible through command-line?
0
votes
1answer
29 views

No sound in Xubuntu after starting from command line

When I first installed Xubuntu, everything was working fine. Then I encountered a problem where it would start up in the command line with no GUI, but I fixed that by typing startx. The problem, ...
1
vote
0answers
19 views

Find and Delete Empty Directories [duplicate]

How to Find Folders (Directories) That are empty (Not Containing Any Files) and Delete Them By Using Terminal Command or Another Method. Filtration (Finding Directories or Files) Less than 'N' bytes ...
0
votes
0answers
35 views

How to enable lock screen button in Unity after installing xscreensaver?

I need this because I replaced gnome-screensaver with xscreensaver, so the lock screen button does not work. The alias path - may be the XY problem AFAIK alias is usually used to make 'shortcut' for ...
0
votes
1answer
21 views

Closing - not killing - gedit instances via the terminal (to save changes)?

How can I close multiple instances of Gedit windows through the command line? Some of the windows may contain changes to documents. So, I would like to be prompted to save them or not. If I use ...
13
votes
1answer
308 views

Why does `type which` say that `which is hashed`?

In case of shell-builtins (eg type itself): $ type type type is a shell builtin $ which type <Doesn't return anything since it's a shell builtin, silently exits> In case of commands ...
4
votes
3answers
513 views

I pressed ctrl with - and now my terminal view become so small, how to recover?

I thought ctrl with + should work, but it doesn't. How could I recover it and zoom out the views?
1
vote
0answers
23 views

PAM authentication using ssh key instead of password

When I try to use chsh to change my default shell, I get prompted for my user password. The problem is I log in using my SSH key and do not have a user password - by design. Yes, I can set a ...
0
votes
1answer
41 views

how to leave a process running in backgroun on a terminal [duplicate]

I am running some simulation through a server. I usually login in the server using ssh command from the shell of my laptop. then I run emacs in terminal mode and with it I start some python ...
0
votes
0answers
34 views

How to make sudoreplay work?

I recently discovered sudoreplay whose manpage says that it replays sudo session logs. But I am not sure how do I make it work. For whatever little commands I ran it kept on saying that ...
2
votes
1answer
30 views

Command 'latex2html'

Wonder whether this is an ubuntu question or a latex question: I am trying to output my LaTeXed cv in HTML format, using latex2html - probably the easiest way. My objective is this I want all ...
4
votes
1answer
42 views

How to list all the shell keywords?

$ type if if is a shell keyword I don't know the other shell keywords. Is there any command to list all the bash shell keywords.? Note: help -m displays both shell builtins and shell keywords.
2
votes
1answer
28 views

What's the difference between shell builtin and shell keyword?

When i run these two commands, i get $ type cd cd is a shell builtin $ type if if is a shell keyword It is clearly shown that cd is a shell builtin and if is a shell keyword. So what is the ...