These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
2k views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
2
votes
0answers
13 views

Unable to run Virtualbox properly on Kali Linux Rolling because of KERN_DIR error [duplicate]

I added the repo for Virtualbox to my sources.list deb http://download.virtualbox.org/virtualbox/debian wheezy contrib Afterwards, I installed DKMS and Virtualbox-5.0. When I run virtualbox, this ...
4
votes
3answers
2k views

How to enable wifi using keyboard (Dell Inspiron 14r) in suse Linux 11.4

I have installed both Windows and SUSE Linux (11.4) on my Dell Inspiron 14r laptop. Both are working properly. I am facing one strange problem. I went to my Linux OS wifi was working fine and I ...
0
votes
0answers
6 views

precise linux video / youtube locks up why? [on hold]

Since I went to Puppy Precise Linux my screen locks after a few minutes watching YouTube or similar sorts of video or audio. I must then restart the X server to break free. Sometimes I must press ...
4
votes
1answer
100 views

Why does my cpu never get past 60-70% cpu usage? Where is the bottleneck?

In my CPU graph thingy, I have noticed recently that when compiling stuff I can never seem to reach 100% usage, it just keeps bobbing up and down around 60-70% max. Example: In contrast, this graph ...
5
votes
1answer
6k views

What is the difference in CPU utilization between 'ps aux' and 'ps -ef'?

I use Ubuntu 12.04.1 Linux. I see a difference between %CPU and C output format of ps command for a process. It is not clearly noted in the ps man page. Man pages says: CODE HEADER ...
0
votes
1answer
12 views

AIX lquerypv equivalent in Linux (RHEL/Cent OS)

In AIX we can view raw data of hdisk by issuing following comamand lquerypv -h /dev/hdisk0 This displays data in hexa decimal format. More of like hex editor. What is the equivalent command in ...
6
votes
2answers
968 views

linux: How to determine the best filesystem format?

About a year ago I changed from running Windows as dual boot to very rarely running Windows as a VM. As a result most of my partitions are in ntfs ( so I had access on both sides of the boot ). I have ...
0
votes
1answer
5 views

command line, how to search a pattern in the first line and delete them

I want to delete something not useful in the first line like following: 1-TagDir (cs) 2-TagDir (a) 3-TagDir (cd) 4-TagDir (abc) Output: 1 2 3 4 How should I ...
1
vote
1answer
42 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
1
vote
0answers
10 views

Edit audio output before playback

I want to low level edit the output of ALSA sound system. I should sniff the audio output, change it before playback and then play it. I saw /dev/snd/OUTDEVICE but I think it is write only. Which is ...
2
votes
1answer
1k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
1
vote
1answer
19 views

Where to find information about tests from Phoronix test suite?

Phoronix Test Suite is a linux benchmarking tool made of tests and suites of tests. To print all available test phoronix-test-suite list-available-tests To print all available suites ...
2
votes
1answer
1k views

Why do I not seem to have hidraw options on my system, and how can I fix my usb devices?

Starting today, I noticed a few problems with my system. USB devices, including the internal ones such as microphones, don't seem to be working at all. I first noticed when my keyboard and mouse ...
0
votes
1answer
18 views

how to configure a linux machine to broadcast the incoming traffic

I want to configure a linux machine so that it can broadcast all the traffic received by it to other linux machine (in this case the connected nodes). Can someone help ?
1
vote
1answer
10 views

Linux + iptables fallback

I want to enable the routing VIA tcp from port 770 to port 7714 iptables -t nat -A PREROUTING -p tcp --dport 770 -j REDIRECT --to-ports 7714 . so I get the following: iptables --table nat --list ...
1
vote
1answer
34 views

Is there a way to monitor disk i/o patterns? (i.e. random or sequential i/o?)

While an application is running, I can monitor disk bandwidth usage using linux tools including dstat. Now I'd like to know how many sequential or random disk I/Os are occurring in the system. Does ...
2
votes
1answer
2k views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
20
votes
10answers
6k views

What is the smallest possible Linux implementation?

What are the bare minimum components for a Linux OS to be functional, and that I can use as a base to expand and improve as I learn Linux and my understanding and needs grow?
3
votes
1answer
937 views

tcplay: cannot mount filesystem on TrueCrypt volume with hidden volume protection after mapping it

I am using tcplay to work with a Truecrypt volume with a 4 GB hidden volume located at the final gigabyte. When I mount either the normal volume or the hidden volume, they mount just fine. However, ...
0
votes
1answer
13 views

Windows and Debian dual boot menu order?

I have debian(elementary os) and windows installed on my lap. In the boot menu, every time I'm getting debian os first and it will automatically load after 5 seconds. How can I change the order to ...
0
votes
2answers
3k views

Linksys AE3000 install on linux

I bought a Linksys AE3000 wireless adapter hoping I could use it on my Ubuntu 12.04 box. I found a website that walked through using it, but it didn't work. I edited rtusb_dev_id.c to add: and then ...
2
votes
1answer
864 views

Intel Skylake + DisplayPort 1.2 MST/Daisy chain on Linux

I am planning to buy hardware for using DisplayPort 1.2's MST feature to daisy chain two monitors in combination with the Intel Core i5 6600 Skylake processor on Ubuntu. Is this supported yet with the ...
2
votes
0answers
36 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. Apr 29 18:28:57 ArchPad systemd[1]: Starting Networking for netctl profile wlp3s0-tian... Apr 29 18:28:57 ArchPad network[1019]: Starting network ...
1
vote
0answers
4 views

Is it possible to add KDE/dolphin service menu for specific file extension?

In windows, you can and context menu entries that are only shown for specific file types only. In Dolphin, I know how to add service menu entry using .desktop file. but Is there way to only show ...
0
votes
1answer
19 views

How to “export” configuration variables and “source” them on embedded Linux?

A router runs firmware containing BusyBox and in addition to flash memory the device has secondary memory storage. That USB stick is mounted at both /media/Main and /opt: # mount | grep sda /dev/sda1 ...
1
vote
1answer
24 views

Getting Ubuntu to Recognize USB Wifi

So, I'm really new to Linux systems and have just downloaded Ubuntu on my other desktop. The problem I'm having is getting it to recognize the USB wifi, TP-Link AC600 Archer T2UH. I went to the ...
4
votes
1answer
1k views

What are the different ways to set file permissions etc on gnu/linux

On Unix, a long time back, I learned about chmod to set permissions, and to allow programs to gain privileges (using setuid, setgid). I have recently discovered some newer commands, on GNU/Linux: ...
1
vote
1answer
50 views

Needed shell script modification to show IP and host DD-WRT

I am running DD-WRT v.3.0 on my Linksys EA6500 router and I have the following script running in order to give me access to the WiFi MAC address that are currently connected to the router: echo ...
1
vote
1answer
746 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
1
vote
2answers
22 views

Host key verification failed (exit code 255) while using pdcp

I am trying to install a particular software across all our machines one by one so I decided to use pdsh. By default, it will operate on several machines at once in parallel, but I will be using the ...
-1
votes
1answer
15 views

Why %H%M%S is not working in .screenrc?

According to this answer, I can rename logfile of screen with date to avoid logfile appending problem But %c used in that answer contains a colon, like 19:00. Since I have to sync files with windows, ...
-3
votes
1answer
20 views

How to run my own Hello World C application on top of stand-alone Linux kernel in x86_64 machine.. [closed]

I have compiled Linux kernel 4.5.2 & got below files. "vmlinuz-4.5.2" "System.map-4.5.2" "initrd.img-4.5.2" My requirement is very clear, I need to run my own Hello World C application on top of ...
3
votes
2answers
239 views

sysfs and devtmpfs

Ulrich Dangel explains very well the difference between devtmpfs and udev. What about sysfs? I understand that the kernel uses sysfs to export device nodes to user space to be used by udev. So ...
1
vote
3answers
21 views

Do I really need -dmS option in screen to run background job stably even log out?

I saw many place introduce screen to run background job stably even log out. They use sreen -dmS name According to screen -h, this option means -dmS name Start as daemon: Screen session in ...
0
votes
0answers
45 views

Run sh script at system startup - Red Hat 7.2

I searched the Internet but there are too much different opinions about this issue. I have two scripts to run. One to run at system startup (not at system reboot as I read in some posts) and another ...
0
votes
0answers
824 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
-3
votes
0answers
21 views

Writing a pseudo code to create a user [closed]

I have created a shell script which can create users and I was wondering if someone can write a pseudo code to create a user for me I have read some websites but still don't really seem to understand ...
29
votes
5answers
23k views

How can I limit the bandwidth used by a process?

I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
3
votes
1answer
31 views

File execution is denied

I just can't execute any file. For example: And I use zsh now,bash has the same problem.
0
votes
0answers
17 views

Problem in writing to a File after Power on/off? [closed]

I am writing the content of my script to a .log file using > operator. I am doing it on a Raspberry Pi. After a Power on/off if I try to execute the script it doesn't write to the file. I then ...
0
votes
0answers
13 views

Qemu/KVM, windows guest password prompt

Ubuntu 16.04 Qemu/KVM Windows 8.1 guest SSH from remote host into hypervisor, run virt-manager. Get prompted for creds: user1@hypervisor, authenticate successfully. Open guest, get prompted for ...
58
votes
3answers
31k views

Why is swappiness set to 60 by default?

I just read some stuff about swappiness on Linux. I don't understand why the default is set to 60. According to me this parameter should be set to 10 in order to reduce swap. Swap is on my hard ...
3
votes
1answer
117 views

Making a touchpad without buttons like a normal touchpad with buttons

Assume a synaptics compatible mousepad that has no physical buttons, but where the whole surface is physically clickable (not a tap, but physically clickable). A particular touchpad with these ...
10
votes
4answers
18k views

how to redirect output to multiple log files

How to redirect standard output to multiple log files Following seems to be not working. Any help is appreciated. some_command 1> output_log_1 output_log_2 2>&1
1
vote
1answer
45 views

Installing Linux on spare SSD

I installed linux distribution (a debian-based one,called pardus) on HP EliteBook Folio 1040 G2 Notebook PC (http://store.hp.com/us/en/pdp/Laptops/hp-elitebook-folio-1040-g2-f6r38av-1) and it has a ...
0
votes
0answers
23 views

Linux is crashing without throwing core dump or error message

I am working on a development board to make custom linux working(built through Yocto) on it. Right now, I am facing very weird issue. System boots and after some time it hangs and restarts without any ...
0
votes
1answer
24 views

Script to get GET METHOD of HTTP REQUEST time in cycle

I want to run a script/command which with some interval (5 seconds) will make http request to certain site and shows the time of this request. At the same time I would like to set timeout for such ...
-1
votes
0answers
19 views

GREP to sort a particular error log from server log [closed]

I want to sort particular error log from server logs. I want to see when did it last happen , and how many times a day it happened. Thank you.
0
votes
0answers
22 views

How can I add linux grub entry in windows bootloader? [closed]

While i am booting at startup my open suse grub will appear i want this linux entry into my windows bootloader. Like at the time of booting it would be windows boot manager showing two choices 1. ...