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
vote
2answers
934 views

Discrepancy between reported used memory and sum of application memory usage

I'm running a desktop system that quite regularly suffers from lack of memory, this prompted me to investigate what causes the issue in the first place. Problem is, there's no single process that ...
5
votes
1answer
72 views

Whats the history behind the fork bomb?

I read other question about its work and other things that Fork bombs operate both by consuming CPU time in the process of forking, and by saturating the operating system's process table. A basic ...
17
votes
1answer
20k views

recursive mkdir

Is there a linux command that I'm overlooking that makes it possible to do something along the lines of: (pseudo) $ mkdir -R foo/bar/zoo/andsoforth Or is there no alternative but to make the ...
0
votes
0answers
6 views

How to fix disabled monitor after linux mint 17 xfce desktop boot and mei_me timeout?

When I boot into my desktop, my monitors go into power save mode and the communication between the monitors and the graphics card radeon x1650 is disabled? When I press ctrl+F2 or ctrl+F7 I receive ...
0
votes
0answers
14 views

Grub Legacy - Auto select boot option

When booting I am presented with a Grub option list consisting of two entries Gentoo Linux x.x.x Gentoo Linux x.x.x.(rescue) The highlighted entry will be booted automatically in 30 seconds. How ...
30
votes
8answers
4k views

Easy way to determine virtualization technology

I have command line access to a Linux machine which may or may not be virtualized. I want to determine what kind of virtualization technology it runs on, if any (VMWare, VirtualBox, KVM, OpenVZ, Xen, ...
2
votes
1answer
464 views

Memory management - how memblock_reserve works

I am new to Linux kernel and I am studying the Linux memory management framework. I have few doubts on this. I am working on Marvel PXA986 boards and in board file I can see few memory reservation ...
0
votes
0answers
9 views

OpenSSL 1.0.1j - upgrade on RHEL 6.5

I got a problem when I upgrade my openssl on rhel 6.5. The openssl is missing libcrypto.so.10. The openssl 1.0.1j created lib is libcrypto.so.1.0.0. I have made a soft link but it still does not work ...
4
votes
3answers
685 views

Access point (with hostapd) on the same interface as the network/gateway?

I wonder if it should be possible to have an wireless access point using hostapd (as described in Set up an access point) on the same interface that connects to a wireless network for internet. I ...
11
votes
3answers
597 views

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
3
votes
0answers
3k views

Installing Elementary Isis beta

How can I install Elementary OS Isis Beta? I tried to made a bootable stick using the latest iso builds but for some reason I cannot login. Having elementary OS installed on my machine, how can I ...
0
votes
1answer
294 views

Opendns setup failed. How to fix it?

I have problems trying to configure OpenDNS. I have contacted OpenDNS support but they did not answer. I cannot access websites like Twitter and Facebook. I tried welcome.opendns.com (did not ...
-2
votes
0answers
20 views

how to run virtualized kali linux on bootable usb [on hold]

Please advice me how to run virtualized kali linux on bootable usb? If there is a way, its possible with which one of Virtualization softwares? In Vmware is it possible? Any way to change all serial ...
-1
votes
0answers
22 views

Forensic Linux distributions? [on hold]

Review between there distributions; 1. Kali 2. Caine 3. (SANS Investigate Forensic Toolkit (SIFT 4. DEFT Linux 5. Matriux 6. Masterkey Linux 7. Swift Linux 8. GRML Live Linux 9. Plain Sight 10. ...
2
votes
1answer
2k views

how to disable USB devices based on vendor id in Linux environment?

I want to disable usb devices based on vendor id in Linux environment. I want to allow only specific USB devices, based on vendor id.
7
votes
3answers
2k views

Once sudo su'd to root, is there a command to see my username?

I have sudo rights on a redhat box; once I've sudo su - to become root in a shell, are there any commands I can run to see what username I su'd FROM?
0
votes
0answers
14 views

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram. For connection with BeagleBone Black I refer audio cape which is available in market. here is a link: ...
0
votes
0answers
10 views

How can I use virtual users in “write list” and “read list” in samba?

Suppose I don't want to create effective users/group for my users (samba server as share server), and I need to create a share for them. Question : How can I use write list, read list, valid user ...
0
votes
1answer
15 views

Apache - Allow access for folders starting with /

I'm running apache in a linux environment. I've to serve files whose directory structure have "/." in it. Now, apache by default won't allow files with /. To remove the constraint, I've included the ...
0
votes
0answers
12 views

How do I write the rule that has an edge server forward a clients request to an internal network server and back?

I have a network situation as follows: -server1:1.1.1.1 -server2:2.2.2.2 -tunnel 10.8.0.0/24 -client: 3.3.3.3 I'm trying to have client IP 3.3.3.3 do an HTTP request from the 1.1.1.1 server. ...
0
votes
1answer
5k views

How to make mk809III run linux like picuntu?

I bought a mini pc Android stick called "mk809 III" which is quad core and has 2 gig's of ram. I want to make it as my web server with Apache and MySql, to do this I got to install some linux distro ...
0
votes
1answer
32 views

Deterministic method to find out whether a process is in a chroot jail and where [duplicate]

Was looking into an apache issue in a unfamiliar server. The output of ps -ef looked like this: [belmin@server131 ~]$ sudo ps -ef | grep httpd apache 14363 4082 0 14:04 ? 00:00:00 ...
3
votes
1answer
32 views

problem when booting linux server : Too many levels of symbolic links

By mistake, I executed these commands : sudo ln -sf bash /bin/sh sudo ln -sf bash /bin/bash When I rebooted the Linux server in recovery mode I got this message: unable to execute too many levels ...
0
votes
0answers
23 views

User can execute su but gets incorrect password [on hold]

Created a user on oracle enterprise linux 5. I can log in as the user but cannot su - oracle or su - root. But I can directly logonto the server with those usernames and passwords. The error I am ...
5
votes
5answers
21k views

Why does find -mtime +1 only return files older than 2 days?

CentOS 5.9 I'm struggling to wrap my mind around why the find interprets file modification times the way it does. Specifically, I don't understand why the -mtime +1 doesn't show files less than 48 ...
2
votes
1answer
27 views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
3
votes
0answers
9 views

Migrate an unprivileged LXC container between users

I have an Ubuntu 14.04 server installation which acts as an LXC host. It has two users: user1 and user2. user1 owns an unprivileged LXC container, which uses a directory (inside ...
0
votes
1answer
20 views

Determine driver for network interface [duplicate]

I wanted to see which driver was associated with some of the network interfaces listed by ip link. My first thought was to find the network interfaces in /dev and look at the device major and minor ...
0
votes
1answer
3k views

rsh shows “poll: protocol failure in circuit setup”, why?

In the starting rsh worked properly, but after making some changes it shows some error [changes are shown in the end of this question, see that], I am sharing the same. Command $ /usr/bin/rsh ...
4
votes
6answers
13k views

Finding all storage devices attached to a Linux machine

I have a need to find all of the writable storage devices attached to a given machine, whether or not they are mounted. The dopey way to do this would be to try every entry in /dev that corresponds ...
0
votes
2answers
25 views

How can i recreate the YAST GUI in text file

I am new to Linux, have an OpenSUSE vm and want to list the applications installed. I know i can do a RPM cmd and ls {PATH//: /} seems to return a long list although it is full of non-application ...
0
votes
0answers
12 views

executing cmds on a Linux box from a windows box [migrated]

How can I create a script on a windows box that retrieves data from the Linux box by executing cmds against the remote Linux box? I have got putty and Plink on the win box but not sure how to fire ...
1
vote
1answer
46 views

How to force change linux password even if similar as previous

I am trying to change my current password in Red Hat Enterprise Linux Server release 5.10 (Tikanga) but it says my new password is too similar. Is there any way to force change ? $ passwd Changing ...
1
vote
4answers
44 views

Rename a portion of multiple files

Take a number of files named: data_a_LT.fits data_a_LT.coo data_a_LT.ec data_a_LT.grp I want to replace all "a_LT" with "LT_A" such that I have: data_LT_A.fits data_LT_A.coo data_LT_A.ec ...
1
vote
1answer
25 views

Getting driver for windows HW

I've asked this question on Ubuntu but didn't get any hint, so I'm trying here I've a wireless adapter LINK, the problem is that I've only got a windows drives for this device, but I really need it ...
0
votes
1answer
27 views

Samba share open for all to all

thanks for viewing at this question. I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. ...
1
vote
1answer
495 views

Can I use pmap to find out Memory utilization?

I want to measure memory utilization of my Apache Server. Can I use the pmap command and pass all the process IDs of httpd and take that as total utilization? pmap PID1 PID2 .... It seems that pmap ...
2
votes
2answers
2k views

Hyperthreading not detected by Linux [on hold]

I have a Dell server with two Intel Xeon E5645 cpus, each cpu has 6 cores, and each core is hyperthreaded (i.e. should be equivalent to two virtual cores). I installed CentOS 6.2 on this server and it ...
51
votes
3answers
25k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
1
vote
1answer
857 views

Windows 8.1 not appearing on grub after Linux Mint 16

I had followed a tutorial to install Linux Mint 16 Cinnamon and it works perfectly fine, currently using it to post this question. But when grub loads the only 3 options I am given, are Linux Mint, ...
4
votes
1answer
25 views

How can process doing “vfork without exec” end up in a long uninterruptible sleep?

In this answer user suggests that Normally, Uninterruptible sleep should not last long, but as under windows, broken drivers or broken userpace programs (vfork without exec) can end up sleeping ...
0
votes
1answer
178 views

How to forward windows using x11? [on hold]

How do you forward windows in x11, on Ubuntu?
7
votes
5answers
22k views

How can I monitor serial port traffic?

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little application ...
5
votes
3answers
12k views

How do I set the password of a new user after the account has already been created?

I used the 'useradd' command to create a new account, but I did so without specifying the password. Now, when the user tries to log in, it asks him for a password. If I didn't set it up initially, ...
5
votes
3answers
2k views

What's the default order of Linux sort?

For a long period I thought the default behavior of the sort program was using ASCII order. However, when I input the following lines into sort without any arguments: # @ I got: @ # But ...
1
vote
3answers
47 views

How to display contents of mounted /boot and '/' root partitions?

How to display contents of mounted /boot and '/' root partitions of Debian on SSD drive from Linux Live CD? I know ls -1 to list directory contents, but what is exact steps to get this?
0
votes
0answers
28 views

How to get diff for HTML reports?

echo "New defects" echo "===============================" n=0 def_num=0 while read line; do n=$((++n)) if echo $line | grep '^[[:space:]]*>' &>/dev/null; then if [ $(($n % ...
2
votes
0answers
14 views

How to locally validate DNSSEC?

I want to simulate the process of chain of trust validation locally , I do the following :- 1) signed my zone. 2) unbound installed , but i can not configure it for DNSSEC validation could you help ...
47
votes
10answers
32k views

How do I choose a graphics card for Linux?

I'm building or buying a new Linux system, and I'm trying to select the best graphics card for my needs. How do I go about making this decision? There's dozens of computer-gear review sites which ...
2
votes
1answer
514 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...