Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

40
votes
4answers
77k views

If I know the PID number of a process, how can I get its name?

If I have the PID number for a process (on a UNIX machine), how can I find out the name of its associated process? What do I have to do?
0
votes
1answer
4k views

How to autostart OpenVPN (client) on Ubuntu 12.04 CLI?

I have an *.ovpn file that works if I type in: sudo openvpn filename.ovpn. Now I would like to start up OpenVPN when I boot the computer. It's a headless version of Ubuntu 12.04 64-bit if that ...
79
votes
11answers
51k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at ...
0
votes
0answers
4 views

Virtualbox:Bridge adapter not working with one network

I have been using virtualbox bridged adapter with some networks and It has worked right. But a days ago I have tried it with a new network and this time It has not worked. The only difference in this ...
0
votes
1answer
9k views

Booting Kali Linux from USB from a MacBook Pro running on Windows 7

I wiped OS X from my computer a while ago and started using Windows 7 instead (school and work reasons). I am trying to install Kali Linux on my computer on a separate partition. I have tried too many ...
5
votes
3answers
5k views

How do I save the buffered flash video (on Linux)?

There used to be a method for extracting buffered flash video in any browsers (like firefox, chrome, etc.), which makes use of the command ps and spies the fd that is pointing to an in-memory ...
0
votes
1answer
7 views

mitmproxy: How to configure a redirect for requests

I am new to "mitmproxy" and not familiar with python. I use "mitmproxy" in mode "regular proxy". I'd like to load a JavaScript file (in different version) from an other domain than it was specified ...
0
votes
0answers
11 views

Install windows on external disk

I have a laptop (Zenbook UX32LN) with ElementaryOS system on it. I want to install Windows 8.1 on external usb HDD for gaming purposes - is it possible without interference in my linux installation? ...
0
votes
0answers
7 views

which application is trying to access a private ssh key?

since a few days my Gnome based system (Fedora 21) pops up a request for the pass phrase for a certain private ssh key: An application wants access to the private key <name-of-the-key>, but it ...
0
votes
2answers
70 views

Create shortcut for Konsole with stylesheet

I'm using Konsole, and i have this wonderful stylesheet that colors the active tab >> cat ~/tab.qss QTabBar::tab:selected, QTabBar::tab:hover { background: #99BDDA; } QTabBar::tab:selected ...
1
vote
0answers
9 views

Tiling window manager with monitor span support

I am looking to use a tiling window manager under Linux (Fedora 21 if it matters). I searched for a couple of days in the documentation for some of them, mostly awesome, i3, xmonad, though I've read ...
1
vote
1answer
12 views

Copying data from file into a specific location of another file with dd truncates the output file

I have a loopback file that contains a single filesystem, let's call it fs.image. I have another, much larger loopback file, that contains multiple partitions and multiple filesystems, let's call it ...
3
votes
4answers
7k views

Hard Reset USB in Ubuntu 10.04

I have a USB device (a modem) that is really finicky. Sometimes it works fine, but other times it refuses to connect. The only solution I have found to fix it once it gets into a bad state is to ...
10
votes
3answers
9k views

How can I search a file by its name and partial path?

Often I have a file name and it's partial path, e.g. "content/docs/file.xml". Is there a simple way to search for that file, without manually cutting into parts its name to provide directory name ...
27
votes
4answers
13k views

How to: Unlimited Bash/shell history?

Is there a way to define an unlimited history in Bash ?
0
votes
1answer
27 views

Anoymous ip route on my server

After typing "route -n" on my server, i figured out these lines 1.0.104.156 - 255.255.255.255 !H - - - - 1.9.22.84 - 255.255.255.255 !H - ...
1
vote
2answers
14 views

Why does Linux accept traffic on unconfigured loopback addresses?

On at least two version of Linux (Ubuntu 9 and Debian 7) I've noticed that, even though I only have a single loopback address configured on lo (the standard 127.0.0.1 one), it happily accepts packets ...
0
votes
0answers
7 views

shell script to change bootloader background

I'm trying to create a shell script on openSUSE to change the bootloader background from the files /etc/default/grub line: GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png with the new ...
0
votes
0answers
14 views

Why does sudo -n on Mac OS X always return 0?

It looks like sudo -n on Mac OS X (10.10.3) always returns 0 as a return code. So something like this will always show 0, regardless of whether the user has authenticated with his password first: ...
1
vote
0answers
7 views

How to limit the USB bandwidth a device can allocate on Linux

How do you put an cap on the amount of bandwidth a USB device can allocate on Linux? I have a couple of cheap USB webcams that I'm trying to running simeltaneously. Running v4l2-ctl ...
0
votes
0answers
13 views

Linux Command to set TCP window size

I want to send TCP packet with window size 65535 (0xffff). I m looking to set the TCP window size to 65535 on my linux system. I know that there is the sysctl command but I could not find how ...
2
votes
2answers
479 views

How can I change my gnome-terminal title?

Previously I changed my gnome-terminal title to display which server I was logged into. I don't remember how I did this and I can't change it now. I ran through my .bashrc and found nothing that ...
10
votes
5answers
3k views

What is ::: in the Local Address of netstat output?

This is the output of netstat -tulpn that I get: tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2055/hpiod tcp 0 0 127.0.0.1:631 ...
2
votes
1answer
17 views

Swap Windows and Linux hard drives

Following situation: I have a laptop with a SSD and a HDD in it. Windows 8.1 is installed on the SSD The HDD holds a data partition Some weeks ago is tried to work with Linux an installed it at ...
15
votes
11answers
51k views

WinSCP client for Ubuntu

Are there any GUI clients for Ubuntu which can remotely connect to another Linux box over SCP? I heard about the fish:// protocol and Konqueror (which is for Kubuntu using KDE), but I am looking for ...
2
votes
1answer
23 views

How to find a file I've been sent through Skype in linux?

I've sent a file to my friend in Skype a year ago. All of history is saved, How can I get file from it?
2
votes
1answer
10 views

How to start a desktop session without x and also runs a script?

I have a Ubuntu server with LXDE for development, now how would I create a .desktop file to start a session that doesn't startx but actually logs me into a regular tty1 session and also runs a ...
1
vote
0answers
10 views

Change screen resolution without monitor under Linux?

I got a GUI program which will be executed along the OS (CentOS 6.6) boots. The resolution configuration is programmed in the init part of the GUI program, my solution right now is get the resolution ...
0
votes
0answers
5 views

setup vcan interface to be activated on boot

I want to setup a virtual SocketCAN interface on boot. The following lines do what I want (manually): ip link add dev vcan0 type vcan ip link set up vcan0 (or) ip link add dev vcan0 up type vcan ...
2
votes
1answer
19 views

VirtualBox broke Fedora networking - how to fix it?

I was trying to install VirtualBox in my Fedora 21 machine. However, the cited machine has Secure Boot enabled and obviously VirtualBox startup failed miserably due to lack of signing in its modules. ...
2
votes
1answer
29 views

Mount only specific USB stick

I am trying to configure a Linux (Ubuntu 14.10) so that it will only mount a specific USB stick from one specific USB port. Can someone point me into the right direction on how to do this? Thanks
3
votes
2answers
29 views

How is installing linux packages via apt-get different from building and compiling from source?

I've heard a lot of people say that building/compiling from source gives you optimized performance, since the compiler is able to fine tune the performance to the system. On the other hand, ...
3
votes
3answers
62 views
+50

Correct domain name for a home desktop Linux machine

I have several machines running Debian, and during install, I left the domain name field blank. This hasn't affected anything so far, but I'm curious what the correct thing to set that field to is if ...
0
votes
0answers
6 views

Is there a way to tell whether my EFI bootloader would accept the signature of the binary without reboot?

Assume that I have just installed a signed EFI bootloader (e.g. grub2 from Ubuntu 14.10 amd64 on a Lenovo IdeaPad U410 which can only boot in secure boot EFI or legacy mode) on a machine from within a ...
1
vote
1answer
915 views

Installing firmware with samsung magician dc

I am trying to get Samsung magican DC to work on my linux (linux mint 17 xfce) computer. I downloaded samsung magician dc from here. Then I downloaded the firmware update files from this page (under ...
13
votes
4answers
67k views

Does mailx send mail using an SMTP relay or does it directly connect to the target SMTP server?

Suppose i send a mail using the following the following command: mailx person@x.com then does mailx first try to find out the SMTP server of my ISP for relaying the mail or does it connect ...
13
votes
5answers
15k views

sudo vs gksudo. difference?

What's difference between sudo and gksudo?
0
votes
1answer
182 views

Using Java in Chrome on Centos 7

I have installed java on my computer running CentOS 7. I've tried yum install java downloading the proper rpm for my bitness from java.com/en/download. I've also done as suggested in this how to ...
0
votes
0answers
19 views

Google Chrome proxy settings “with Username and Password”?

I am able to use the google chrome under on Linux Mint behind the proxy. But when the browser starts, each time I have to enter the user and password for the authentication. Is there any way I set ...
1
vote
2answers
26 views

How to make Zsh not store failed command

Problem I'm using oh-my-zsh and Antigen to manage my Zsh. Sometimes I will accidentally enter a wrong/failed command into Zsh and it is very annoying when the zsh-autosuggestions plugin throws up ...
1
vote
2answers
379 views

How To add a shortcut key to the terminal in LXDE?

Hi I am new to GNU/linux, I searched trought the web and saw that the most common shortcut to the terminal is CTRL + ALT + T, however this doesn't work for me. This make me came with two questions, ...
1
vote
1answer
19 views

Change Ownership Of Linux Directory

I Have a Netgear ReadyNAS and have set up SFTP on it. I created a user named "newuser" and changed directory to "newdirectory". If I run the command chown newuser * -R inside of "newdirectory", will ...
1
vote
0answers
17 views

Ubuntu AMD Graphics card Drivers (AMD r9 275)

I have a Lenovo y40-80 with an AMD Radeon R9 275 graphics card. I installed the AMD Catalyst Control drivers on Ubuntu Gnome, but in my settings it says my graphics card is a TROPO XTX (6820). Here ...
0
votes
0answers
13 views

How do I create the Microsoft bootloader on the EFI partition? [duplicate]

I have Linux and Windows installed in a dual boot configuration. The Windows bootloader is corrupt. I want to reinstall it using the Windows recovery partition but I do not know how to boot to it ...
1
vote
0answers
7 views

Ubuntu gnome package installation error

When trying to install insight from some ppa repositories i get these errors. sudo apt-get install insight Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
0answers
14 views

Internet sharing between PowerMac G3 running Linux and Windows 8 computer

I have a PowerMac G3 on which I have installed MintPPC Linux (a version of Debian) so I can run it as a web server. This computer has two network cards, one is in the motherboard and one is a PCI ...
1
vote
4answers
89 views
+50

Windows 8.1 fails to boot after Linux Mint 17.1 install

My brother wants to move to Linux, so he installed it on his second HDD. The second HDD was the boot sector drive, but Windows and all the data was on the first HDD. After installing, Linux would ...
7
votes
4answers
3k views

How can I get information about an network interface uptime?

I have an Ubuntu machine and a Debian machine. On both I want to be able to see for how long an network interface has been connected. (That is, connected to a network getting an IP etc. Not the ...
1
vote
1answer
283 views

Move /home to a new HDD encrypt it with luks

as I'm getting more into linux, I'd like to make a few changes to my setup which seem pretty advanced to me. But first of all let me explain my setup so you know with what you are dealing with. This ...
4
votes
2answers
2k views

How to reload tmux config file which has defined multiple sessions?

I'm using two separated sessions in tmux, and I have the following entires in /etc/tmux.conf : set -g base-index 1 new -s logi -n cmd neww -n logi "cat /dev/logi | ccze -m ansi -p syslog -C" splitw ...