Tagged Questions

Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

-1
votes
0answers
25 views

Small Ultrabook e.g. 11in that's capable of dev with Linux os [closed]

Does anybody know of an ultrabook that's suitable for development e.g. Java apps/websites, whilst being small and light? Additionally it should be capable of running a Linux flavour. I have about ...
0
votes
0answers
6 views

how to connect to VPN only when ethernet is down and 3g is up

is the following possible and how could it be implemented. set up /etc/network/interfaces file so the VPN "tunnel" only connects when the ethernet cable is disconnected and the 3G interface "ppp0" is ...
1
vote
3answers
88 views

Print total free memory from `free -m`

free -m currently puts out something like this. I would like to know using grep/awk how we can get the total free amount. i.e. 9083
1
vote
2answers
26 views

How to connect to a Windows server on Ubuntu?

At work I usually run Windows 8 but I'm looking to use Linux since I'm mostly a Linux user. How do I connect to it usually? I just type //MIKE-SERVER then hit ENTER key in address bar of a file ...
2
votes
1answer
32 views

What's the correct way to authenticate a user without PAM?

as my related question doesn't seem to get much love, here another one: What's the proper way to authenticate a user via username/password prompt in Linux nowadays? In principle, I suppose I would ...
0
votes
0answers
22 views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
1
vote
0answers
24 views

Debian Jessie: My LAN is not working!

I can connect to the Internet without a problem by using wireless networks. I have a DSL connection on defined which can connect to the Internet when LAN is connected. When I plug-in network cable, ...
1
vote
3answers
39 views

Fedora 20 Gnome upgrade - cannot login anymore

I started to use Fedora with with Gnome 2x. I started to upgrade to gnome 3x when I had some eletric energy problem in my build and my machine turned off. Now I cannot log in any more - meggage "Oh ...
1
vote
1answer
18 views

Automatically pauseing rsync if target is full

I need to transfer 80gb's of unsorted text documents from one computer to another and all I have is a 32gb USB. Is there an option to make rsync automatically pause when the USB is full without losing ...
1
vote
2answers
42 views

Doubts about the Buildroot configuration

How can I update my Buildroot without losing my configuration, packages, etc.? And how can I update the Linux kernel that is configured? Is it just change the url from git repository in menuconfig? ...
1
vote
0answers
14 views

Manipulation of the backlight in a embedded linux device is unstable

I want to control the backlight value of a LCD monitor in a embedded linux device. Doing researches throughout the internet I found a couple of references saying that the file called backlight inside ...
4
votes
1answer
75 views

Executing a “fork bomb” safely

We've all seen the "fork bomb" that will render a host non-responsive, even if executed in an unprivileged shell: Warning: Do not execute the following shell script. Just don't. :(){ :|:& };: ...
2
votes
1answer
40 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set ...
-1
votes
1answer
39 views

how to patch bash vulnerability (shellshock) bug on RHEL? [duplicate]

We have over 10000 servers to patch for bash vulnerability (shellshock) bug. Now my question is what is the command to patch this bug ? And how we can check whether the patch has been installed and ...
3
votes
0answers
24 views

high precision subsecond cronjob replacement

I am looking for a cron replacement which could run subsecond schedule, is there have any "still alive" project which serve this purpose? Currently running Ubuntu 14
2
votes
0answers
31 views

How to determine the wordsize in Linux kernel programming? [closed]

In userspace code, the macro __WORDSIZE is used, included in <bits/wordsize.h>. However, when I do Linux kernel programming, the __WORDSIZE seems not available. If <bits/wordsize.h> is ...
0
votes
0answers
11 views

Building cross compilation toolchain for old system [closed]

I have an old nas running linux kernel 2.6.31.8. (arm5tel) And since there is no packet manager installed i decided to compile some tools on my own and then move it there. I also tried to install ...
5
votes
1answer
41 views

List all files that are present in the cache

This question answers to the question on how to find the what is part of cache. However, in the fincore executable you have to pass the filename to check if it is part of cache. Is there a tools or a ...
2
votes
1answer
37 views

How can I know which organisation a special command line tool is belong to?

Frequently we use command line tools to do fancy things in UNIX like system; many of them have a manpage and typically we can know which orgnization/person owns the copyright. For example, on Mac OS X ...
1
vote
0answers
9 views

Can I run linux with Windows EFI partition or do I need to mount /boot to the EFI Partition?

New to Linux here and im currently trying to set up a dual-boot for windows and linux on my laptop. However, I was wondering if I was still required to mount /boot to the EFT partition if im dual ...
0
votes
1answer
29 views

Script a list of users who have been logged in for more than 24 hours?

I am attempting to create a simple script that will produce a simple list of users who are logged into a system for longer than 24 hours. I've seen the w command is good for being able to view idle ...
0
votes
1answer
19 views

module prints to kernel log with delay

I've created a basic linux kernel module, which does the following: static __init int init(void) { printk(KERN_DEBUG "Banana"); return 0; } And of course: module_init(init); Strangely, I ...
2
votes
1answer
63 views

Mounting alternate devices (with different mount options) at the same mount point

I have a server (running Ubuntu 14.04) that has a hot-swap drive bay. I typically use the hot-swap bay to mount one of a bunch of loose hard disks that I shuttle large scientific datasets around on. ...
0
votes
0answers
11 views

shared libraries error trying to run executable

I'm trying to run an executable off the command line in a linux cluster environment. The error message I get states libssh2.so.1: cannot open shared object file: No such file or directory I ...
1
vote
0answers
25 views

GFP mask of 0x200da on a 64-bit system?

Recently, an OOM showed a GFP mask of 0x200da on a 64-bit system. How is that possible? 0xa would suggest we are talking about Movable Highmem, see: ...
0
votes
1answer
58 views

Route Client Traffic Through VPN Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
0answers
22 views

How can I limit or delay the write speed to specify directory?

I want to limit the write speed and limit to specify directory. Make this directory flakey. Make this directory error for can't write data to it. I have user dmsetup to create the device mapper with ...
1
vote
2answers
26 views

How can a process appear to have different name in ps output?

recently I had to clean up a hacked server. The malicious process would appear as "who" or "ifconfig eth0" or something like that in "ps aux" output, even tough the executable was just a jumble of ...
1
vote
1answer
33 views

Linux server Cpu,memory,swap,run que value to display in percentage

how to write a script to get a linux server below details: CPU |Memory |Swap |Run Queue Peak(%) Relative Avg(%)|Peak(%) Relative Avg(%) ...
1
vote
0answers
10 views

Gargoyle repeater bridge channel hopping

I have the Linux-based Gargoyle firmware running on an old TP-Link router, serving as a Repeater bridge to extend the range of a WIFI access point. Do I need to lock the original access point to a ...
1
vote
2answers
31 views

How to monitor use of Huge Pages per process

I'm trying to determine which process is using a large number of Huge Pages, but I can't find a simple Linux command (like top) to view the Huge Page usage. The best I could find was $ cat ...
0
votes
1answer
27 views

having trouble installing Kali Linux on GRUB

Does anyone know the specific steps on installing Kali Linux through the grub bootloader. I have what should be a kali linux bootable usb and I'm trying to install it on a Lenovo 64-bit intel laptop ...
0
votes
2answers
47 views

How to switch between tty and xorg session

My xorg session is on tty1 and if I want to issue a command from tty (because I cannot do it from xorg session for some reasons), I press Ctrl+Alt+F2, for example, and type a command. But I cannot ...
1
vote
0answers
53 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
1
vote
0answers
17 views

Internet not working on GNOME

I am running all my systems on a windows platform. I am having a PC with the above mentioned OS (This PC is introduced specifically for a project). On this PC I had given the IP address in the range ...
1
vote
0answers
39 views

Accessing Macintosh HD from Ubuntu

So after I upgraded my MBP to Yosemite, I have lost dualboot. After a long struggle, I finally reinstalled refind to work properly. Unfortuantelly, when I use Ubuntu, I cannot access Macintosh HD ...
0
votes
0answers
41 views

autoconf and sysvinit/systemd etc

A constant problem I run into with autoconf is init scripts. The whole point of autoconf is of course portability, and the various init systems (sysvinit, systemd, upstart) - not to mention various ...
-1
votes
1answer
25 views

Linux and WinPE

In the last few weeks I was trying to automate software testing process in my company. I found WinPE as the best method for me. At first I was automating some tests based on python which wasn't a ...
1
vote
1answer
21 views

Is there a way to achieve context-dependent path names (CDPN) on NFS?

In my GFS clusters I use the CDPN feature to have separate chrooted /dev/log directories on separate cluster nodes: /home/ftpuser/foo: lrwxrwxrwx 1 root root 18 Sep 26 2010 dev -> ...
1
vote
1answer
49 views

Adding multiple user with shell script on Ubuntu

Can someone help me in providing me the shell script for creating multiple users on Ubuntu. Password needs to be different for each user. Thanks in advance
0
votes
1answer
38 views

how to reboot multiple computer using bash loop from the txt file

can anyone knows how to reboot computer in just one line code of bash (by looping itself). The details will be get from the text file which are the IP Address of each computer. When the script gets ...
2
votes
0answers
40 views

How do I run webm video file in firefox using HTML5 on linux?

I am using apache server on linux and want to run a .webm video file. I have .webm video file which i am trying to run in firefox (V 12.0) using HTML5 but the browser is showing as "no video with ...
2
votes
1answer
19 views

Security of capabilities vs setuid (LD_PRELOAD, etc)

I know that if a process is run setuid that it's protected against various things that could subvert the process, like LD_PRELOAD and ptrace (debugging). But I haven't been able to find anything on ...
1
vote
1answer
29 views

Different results OS X/Linux with “find PATH -mount \( -type f -o -type d \) -print0 | LC_ALL=C sort --zero-terminated > OUTPUT.txt”

this command is part of a script I use for comparing files: find test/ -mount \( -type f -o -type d \) -print0 \ | LC_ALL=C sort --zero-terminated > OUTPUT.txt // test/ is the PATH ...
1
vote
1answer
55 views

How do I fix my gnome display manager in recovery mode?

I am using kali Linux 1.0.9 and when I boot it doesn't show the login screen just a command line for login. Before the login it shows Not starting Gnome display manager-it is not set as default. I ...
1
vote
1answer
89 views

Network interface not registring ARP response

I have a server with two NIC and it's running Ubuntu Server 14.04. The first one is the interface "p3p1" and it's connected to the subnet 192.168.1.0/24 with the IP 192.168.1.100. The second one is ...
1
vote
1answer
19 views

When parent, child and grandchild processes share a page how does copy-on-write work?

If the child tries to write, it gets a new copy of the page (which is no longer write protected), does the grandchild point to that new page or the old one (which the parent holds)?
0
votes
1answer
19 views

Changing linux config from 32 bit to 64 bit loses RTC

I have a config from a 32-bit linux 3.12.18, and was trying to compile a 64 bit version with most settings like selected drivers etc. the same as in 32 bit version. For this I used make menuconfig ...
3
votes
4answers
102 views

same encryption with /etc/shadow

I'm doing a gui tool for some malware detection script in linux to let server administrators to analyse the result of this script within the web. as I know the encryption used in /etc/shadow is ...
1
vote
0answers
17 views

XFWM set chrome app launcher placement?

I'm running XFCE4 in arch linux and using google-chrome-stable. I added the Chrome app launcher (google-chrome-stable --show-app-list) to the panel, but when I click on it, it places the launcher ...