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

0
votes
0answers
6 views

GNU/Linux: fast switching between keyboard layouts

on x server environments i just open a terminal emulator (pressing + typing in x-terminal-emulator and pressing return on most graphical environments/window managers) and tping in setxkbmap us and ...
0
votes
0answers
2 views

Incosistent behaviour of GNU screen when run from local machine or ssh

I have noted the following incosistent behaviour of screen. I run screen -dmS test screen -S test -X stuff "ls -lh^M" The first line starts a screen session named "test", and the second line ...
0
votes
0answers
3 views

OpenVPN setup on Debian: connection made but no internet

'm trying to connect my raspberry pi to CactusVPN where I have an account. The configuration file provided by CactusVPN are for Ubuntu but I believe they should work on my Raspberry pi as well. I ...
1
vote
1answer
10 views

How to set an offset for cron jobs?

I have seven scripts to launch that take quite long to process, so for my first idea, I wrote my crontab like this: 0 */3 0 0 0 /home/personal/my-script-1 0 */3 0 0 0 /home/personal/my-script-2 0 */3 ...
0
votes
1answer
4 views

dd , pv , gzip and exclude directory, possible?

Is it possible to do the following: dd if=/dev/hdx | pv | gzip > /path/to/image.img\ --exclude=/temp --exclude=/lost+found --exclude=/proc --exclude=/path/to/image.img So I want to make a backup ...
0
votes
0answers
5 views

How can I add ethernet port in CentOS VM running in Parallels?

I have Parallels installed on OS X 10.10, with a VM of CentOS 6.6 installed. Upon installation, eth0 was automatically configured (as a wired connection), and allows me to connect to my wireless ...
0
votes
1answer
4 views

Network crashes and doesn't restart Debian

I'm running Debian Jessie and every few days my network will stop working under heavy load, not allowing any connections in or out. I don't know why it stops working and why it won't come back online. ...
0
votes
0answers
8 views

How to limit max RAM usage of a process in kernel 3.13

I am trying to limit the max RAM used by a process in using kernel 3.13.0-43-generic in ubuntu Ubuntu 14.04.1. I would like to set this system wide, but as this doesn't work I have been trying it ...
0
votes
0answers
9 views

NT-encrypted login to samba server with client that supports only plain passwords

I set up a samba server (a lightweight server on an android device). I manage to mount the shared directory (under ubuntu linux) with sudo mount -t cifs //server/path /mountpath --verbose -o ...
0
votes
1answer
6 views

Prompting for sudo password in a setuid root binary

I have a setuid root binary, with_sudo.bin, with the following source code: /* with_sudo.c */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> ...
0
votes
2answers
31 views

Can Windows Server 2012 be used as an everyday OS?

So all the major computer smarties are probably dying in laughter at seeing this question but I'm being serious. I had to wipe my laptop and install Ubuntu since I no longer had the installation disk ...
-1
votes
1answer
19 views

Unexpected memory usage on Linux

I have a problem regarding disk space usage on Linux. I'm working on a Linux machine via remote login. I have been allowed to use 10GB of space on Linux machine by system administrator. Currently I'm ...
0
votes
0answers
12 views

Killing a process does not work properly

I am attempting to kill a process (see the code below) but I have no success. This process running does not let me make new videos with the Raspberry Pi Camera and not even restart the Raspbian (which ...
0
votes
1answer
5 views

Is there a way to extract a bzip2-archive's content into another directory without creating temporary files?

I'm working with Wikipedia XML dumps and am looking for a way to extract them directly onto my ramdisk. They are simply a single xml file compressed with bzip2. I tried bzip2 -dk archive.bz2 ...
0
votes
1answer
23 views

How to make a new disk usable on Ubuntu Linux?

I've set up a remote ubuntu server back in the day on a 5GB drive from the 100GB that my host provided just to test. Time flew by and turns out that I'm still using the test environment and now I need ...
3
votes
1answer
320 views

Why does 'dd' produce different files for same USB stick?

I've just saved the restore for Windows 8.1 onto a USB stick; now, I've been creating the low level copy of it on my HDD, by executing the following command: sudo dd if=/dev/sdf ...
-1
votes
0answers
12 views

What are the differences between file management techniques used in Linux,BSD and Windows [on hold]

Kindly let me know in data structure and other technical context. Programming language example is most welcomed.
0
votes
1answer
9 views

Killing processes in Raspbian

I am trying to kill the processes below: pi@raspberrypi ~ $ ps aux | grep raspi pi 4647 0.0 0.5 3520 1392 pts/2 S+ 12:05 0:00 grep --color=auto raspi root 8148 0.0 0.5 ...
1
vote
1answer
11 views

rsync ignoring partition directory

I use rsync to clone my internal hdd to an external disk. My system is Arch Linux. I have two partitions: / /data I am using the following rsync command: rsync -avzxt --progress --delete ...
0
votes
1answer
16 views

Reaver keeps repeating the same pin on Kali linux

I am trying to hack with WPA2 PSK but there signal strength is under -50db It does this (only one PIN again and again). I have a 2.4 Ghz wireless Adapter Is this true? Here is the last REAVER command ...
-1
votes
0answers
10 views

i3wm only displays DHCP working, normal?

So I've recently installed void linux [http://www.voidlinux.eu/] and decided to go with just a wm, so i3 it was. Last time I had used i3 it displayed DHCP:no but this time it is saying yes and even ...
-1
votes
1answer
18 views

How to run remote linux command that won't stop after closing shell

There is a Linux terminal command that I want to run on a remote machine. I can ssh to the machine and begin executing the command (it's output being directed to an output file); however, once I ...
4
votes
2answers
36 views

How to find Raspberry Pi on Network

I have a Raspberry Pi connected to the Internet via LAN or via wireless. How do I scan my local network for its IP address so I can SSH into it? While I can just connect it to a monitor and manually ...
3
votes
2answers
22 views

How to tell of a GZip file is still being written while being copied

I am getting a gzip file in a path. Input Folder Path: <server>/input_gate I want to check whether the GZIP file I am getting in this folder are valid? I have used the following command. It ...
-1
votes
0answers
10 views

Look to the Bad Blocks Table (BBT) at NAND Flash with UBIFS to see aging?

I want to use a NAND Flash memory over several years on an embedded Debian controller. So it is using UBIFS to handle wear-leveling and bad-block-management - that is fine so far. But over time the ...
3
votes
1answer
27 views

How to play midi files under Ubuntu

Playing midi under Linux is an old topic that nobody talks about nowadays. Hence all documents/blogs/how-tos on playing midi under Linux are kind of outdated. I've exhausted all my google searched but ...
1
vote
0answers
21 views

Fedora 21 - Unable to log in to user account

I am interested in turning my old Windows XP computer with a 32 bit processor into a Fedora computer. I have installed the 32 bit version of Fedora 21 on the computer with no problems at all, wiping ...
2
votes
0answers
19 views

How do I trick Nautilus to use “sudo mount” instead of just “mount”?

Thanks to new "security fixes" in mount or mount.cifs (I'm not sure which) it's no longer possible for normal users to mount anything, even if they are explicitly allowed using the user, users or ...
0
votes
0answers
14 views

Install SW with Non-Root User

We are trying to install a IBM Inofsphere Information Server on a RHEL 6.4 machine for a client, The client has the requirement that the software not be installed from the Root user and you must ...
0
votes
2answers
23 views

Combine the results of a CAT and TAC in a single window in Linux

I have two log files which I would like to view on my screen simultaneously. Below you can see my commands: pi@raspberrypi ~ $ watch -n 1 tac /home/pi/log/log.txt pi@raspberrypi ~ $ watch -n 1 cat ...
0
votes
0answers
5 views

Internet gets very slow when I open dc++ for a while

If I do continuously downloading anything in linuxdcpp it gets slower and slower.(dc++ itself and the internet in general). It gets that bad, if I wanna open any website it is loading and loading till ...
0
votes
0answers
19 views

Reinstall Linux by keeping user accounts

I am going to upgrade Linux Mint 13 to Linux Mint 17.1 on a home computer. I am going to do a fresh upgrade. There are three partitions for swap, / and /home. I will preserve swap and /home. The ...
0
votes
0answers
5 views

How to switch off “you can use new shorter array creation syntax” hint in NetBeans IDE 8.0.2?

I use NetBeans IDE 8.0.2 on Linux Mint. I searched through the options few times, but I can never find the option to switch this hint off in there. I know well about the new syntax in PHP, but I ...
0
votes
1answer
8 views

How do I print all passwords in Gnome Keyring (seahorse)

I can access all passwords in my Gnome keyring just fine. Everything works ok. But in case things go awry, I'd like to backup all passwords on a piece of paper and store it elsewhere. However, I can't ...
-3
votes
0answers
22 views

Where is the SSH documentation [on hold]

I'm trying to create an SSH client using socket in C++, but I can't find the documentation for how SSH works. Where can I find it?
0
votes
1answer
15 views

How can I ping successfully from an vlan interface on Linux?

I created a VLAN interface on my Ubuntu VM: root@vagrant-ubuntu-trusty-64:~# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:2e:8d:5d inet addr:10.0.2.15 Bcast:10.0.2.255 ...
0
votes
0answers
16 views

How to access Brother network scanners

I have two network/USB all-in-ones that are in separate networks, Brother MFC-7840W and Brother MFC-9840CDW. The operating system is Ubuntu 14.04 LTS. USB works for printing and scanning for both. ...
1
vote
0answers
12 views

Trying to get Bridged Networking mode in VMWare Player - Fedora Host

I'm fairly new to Linux, having played with it for a while back in 2002-2003. I recently set up Fedora 21 on a Lenovo Thinkpad Yoga, and so far so good. I'm having issues with VMware Player. I have a ...
0
votes
2answers
12 views

Running scripts independently on Raspberry Pi

I have a couple of python programs, such as one which checks if the Collatz Conjecture is applicable for a given number or not, and writes output to a file (it runs on a Raspberry Pi). Although I ...
1
vote
2answers
40 views

Does Bash have cache of executables?

I was just writing a C++ program on my Ubuntu 14.10 computer. As it is a client/server program, I has three terminal emulators open: one for writing code and compilation, one for client testing, and ...
2
votes
3answers
20 views

How to export an environment variable inside window manager?

I can export VAR="value" and use $VAR from within a terminal until I close it. Is there a way to get this behaviour, inside a window manager/graphical environment? exporting an environment ...
1
vote
0answers
11 views

Restore [non-boot drive] root directory from kernel image

Accidentally overwrote the root directory on a 2nd drive, .. but the subdirectories are still there [i.e. cd to a subdirectory drive is successful]. Problem is, the root directory in the partition is ...
-1
votes
1answer
18 views

difference between fstab and mount -a?

I have an smb share on a NAS that I am trying to mount on a Debian box (RaspPi). So far so good. I added the following entry in my fstab file: //192.168.1.xx/yann /home/pi/buffalo cifs ...
0
votes
1answer
9 views

How do you force linux to treat a tcp packet as if it were at the destination ip?

The situation: A tcp packet arrives on eth0 with destination 8.8.8.8. This packet meets some criteria that makes me want to intercept it (lets say I am interested in all packets from source ...
3
votes
0answers
8 views

Linux: Prevent keyboard turning screen on under X

I'm trying to bind a key (using xbindkeys) to turn my monitors on/off under X. So far I have the key bound to this script: #!/bin/bash MOUSE="Logitech USB-PS/2 Optical Mouse" if [[ ! -z $(xset q | ...
0
votes
0answers
43 views

bash doesn't find “./file” altough file is in current directory

This tells me that there is a file called arm-uclinuxeabi-gcc in the current directory: manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ ls -l total 16808 -rwxr-xr-x 1 manuel ...
1
vote
1answer
11 views

Send and receive raw 802.11 frames on Linux

I'm looking for a way to send and receive raw 802.11 frames using USB wireless adapters (such as the Alfa AWUS036H) while they are in monitor mode. Is this possible? There are plenty of ways to do ...
1
vote
0answers
11 views

What's the minimum overhead of a Linux container?

If I understand this correctly, a container, once running, shouldn't have any CPU overhead. Is that correct? It does have a memory overhead. How big might that be? How would I measure it?
0
votes
0answers
18 views

Remote desktop options for modern linux

I need to be able to access a linux box (currently running Centos7 and GNOME3 classic, although I suppose that could change if it had to), from windows, from both the local network and remotely ...
1
vote
1answer
31 views

Why does root cron job script need 'sudo' to run properly?

I'm running this simple script on my Raspberry Pi to auto update so I can forget about it. It also keeps a log that says whether the update was successful. The script is update.sh: #!/bin/bash echo ...