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

0
votes
0answers
2 views

How can I fix /dev/pts after mounting it?

I made the same mistake as in this question: Debian chroot blocking PTTYs on host I mounted a "devpts" filesystem inside a chroot, and now urxvt can't create ptys. Oddly enough xterm still can. ...
1
vote
2answers
19 views

Copy text only contained within quotes “” from a file

/etc/opendkim/keys/"$(hostname)"/default.txt contains the following default._domainkey IN TXT "v=DKIM1; r=postmaster; g=*; k=rsa; ...
4
votes
2answers
60 views

sudo rm -rf returns “cannot remove directory” on empty directory owned by root

I have a directory on my Debian system. The directory is: root@debian:/3/20150626# stat 00 File: `00' Size: 6 Blocks: 0 IO Block: 4096 directory Device: fe00h/65024d Inode: ...
0
votes
0answers
9 views

bcmwl-kernel-source driver issues on install

I am installing Mint 17.1 (MATE) on my MacBook Pro Retina (due to it having much better hardware than my PC, on which I successfully installed Mint 17.1 in the past). I followed the instructions on ...
1
vote
1answer
21 views

detect interface name with perl

I want to detect the interface name (can't use udev because of hardware reasons) and do things according to it. Basically this should be a first check if the wifi device is able to "see" anything. ...
0
votes
0answers
12 views

RPCS3 cmake error [on hold]

I am trying to compile the rpcs3 emulator I run and receive : git init git submodule update --init cmake CMakeLists.txt -- No build type selected, default to Release CMake Error at CMakeLists.txt:14 ...
0
votes
1answer
45 views

“find” function still print files I've already removed

I've removed some directories and files inside them using sudo rm and sudo rmdir, but when I execute sudo find /*/*/ng* the files I've previously deleted are still showing up, anybody know why and ...
2
votes
0answers
17 views

Significance of Linux kernel's default_console_loglevel

What is the significance of default_console_loglevel in Linux? Commonly I see it described as the default value of console_loglevel. However, what that means I haven't seen explained anywhere. ...
2
votes
2answers
27 views

Where is the RHEL7 kernel source code installed?

I install the Linux kernel source code RPM: [root@localhost ~]# rpm -ivh kernel-3.10.0-229.el7.src.rpm warning: kernel-3.10.0-229.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ...
-4
votes
0answers
26 views

Run DB scripts in linux [on hold]

I want to run DB Scripts in linux but I am not able to do so . Can anyone give me the idea how to run DB Scripts? EDITED as Sybase is used in my project so what "isqlcmd" is doing I want to know?
0
votes
2answers
21 views

Cloning root filesystem of a virtualbox partition

I have a test virtualbox partition running CentOS 7. There are many configurations on this particular partition. Some particular configurations, I have forgotten. I need to transfer this virtualbox ...
0
votes
0answers
14 views

How to change the console_loglevel in linux?

I read at multiple places (e.g. here http://elinux.org/Debugging_by_printing), that you can change the console log level by echoing an integer to /proc/sys/kernel/printk. If that worked shouldn't the ...
0
votes
0answers
29 views

Help with Find function in Linux

I searched around and couldnt find this so sorry if it's another duplicate. Using Kali linux I am to find a file who is owned by user bandit7, owned by group bandit6 and is 33 bytes in size. However, ...
0
votes
0answers
33 views

print duplicate fields in different columns from two files using awk

I have two large files. I am attempting to identify and print any duplicate fields to a new file. I have a 19 columns and over 100k rows. I need to compare columns 5-19 for duplicate values. ...
0
votes
1answer
34 views

/bin/sh script error “arithmetic expression: expecting primary: ” + “ ”

ERROR: ./client-disconnect.sh: 22: ./client-disconnect.sh: arithmetic expression: expecting primary: " + " I just need to know how to fix it. It's for user accounting with OpenVPN. Script ...
0
votes
2answers
46 views

How to find file without knowing the name of it [duplicate]

So I've finally given up after searching/trial and error for an hour now on how to find a file given specific criteria (none of which is the name of the file or the extension). The file info provided ...
0
votes
1answer
32 views

Use my PC, or completely dedicated PC for running Linux

I'm new to the world of Programming, and this is my first time posting a question. I've went through a lot of material, both on Youtube, and other areas of the web, and I've started to get a good idea ...
0
votes
0answers
18 views

How can I use arptables to limit the number of outgoing ARP requests a second?

End goal: Make a script that will limit the number of outgoing ARP requests in a second using arptables. This is to have the ability to not trip the ARP-limiting feature on Cisco devices. I want to ...
0
votes
0answers
7 views

Inherits of a Gnome icon theme

I'm using the theme Mint-X-Dark. Unfortunately the theme doesn't provide high resolutions for some icons (e.g. actions/48/gnome-lockscreen.png). But the theme inherits the Mint-X theme, in which the ...
1
vote
0answers
25 views

Howto configure linux router to allow clients to use maximum bandwidth?

The problem is that I'm always limited on the final client machine to about 1/3 (one third) of the internet hotspot bandwidth when testing download speed with wget. I have configured a Debian 7 linux ...
0
votes
1answer
34 views

Arch linux root device problem in '/dev/mapper/MyStorage-rootvol'

I installed Arch x86_64, these are the commands I used during the installation: # parted /dev/sda (parted) mklabel msdos (parted) mkpart primary ext2 2MiB 2GiB (parted) mkpart primary ext4 2GiB 100% ...
2
votes
0answers
16 views

radeon power management

Checking upon /sys/kernel/debug/dri/0/radeon_pm_info, puzzled me. It seems that there are only one power level and some are disabled. It shows : uvd disabled vce disabled power level 0 sclk: ...
-4
votes
1answer
39 views

Removing first three characters from a column

chrII 71865 72972 YBL081W . + SGD gene . ...
0
votes
1answer
15 views

How does Elinks renders the HTML? [on hold]

I like the elinks browser and I would like to know how does it render the HTML into text, using ANSII styles. I suppose there is a library behind elinks to handle the rendering, or it should be. Is ...
0
votes
0answers
6 views

Rabbitvcs not showing lock owner

I have installed rabbitvcs in my ubuntu 14.04 system. It's working well in it. But it's not showing the file lock owner when locking some already locked file. It just says failed lock. As I show in ...
0
votes
2answers
30 views

Installing new WD green hdd

I've purchased a new Western Digital Green Power 1TB 3.5 inch internal hard drive on eBay but I can't get any of my desktops to recognise it. Model number WD 10EURX. I'm using Linux Mint 17 Mate and ...
-1
votes
1answer
55 views

How do I make the first column on Linux, FreeBSD, and NetBSD visible? [on hold]

I cannot see the first character on the console, and I really need to fix this ASAP. This is only for the full screen console. I've tried the auto setting on my monitor, but it didn't do anything.
3
votes
1answer
16 views

Encrypted filesystems with swap partitions

A common error that happens with Ubuntu, though not Ubuntu in particular is the options of being able to encrypt the file system at installation time which creates an encrypted swap partition with ...
0
votes
0answers
18 views

How can I make a desktop application update immediately?

I created a bash script which when executed as a desktop application modifies its own application icon. This is done my altering the Icon= line in the application's .desktop file. Here is a gif of ...
1
vote
1answer
40 views

Floating time cron job

I have a Linux host which I would like to have a cron job run on. I do not shut down this machine. I always suspend it. I want to run a job once a day and I cannot set it for a particular time since ...
3
votes
1answer
27 views

Is it sensible to use multiple LVM layers with mdraid

I'm building up a home server that will be used for a handful of different things. I'd really like to try a Btrfs raid 1 array for a large data store, but I'm using CentOS 7 (older kernel although ...
0
votes
1answer
45 views

Process command

When I used ps -u root command in Ubuntu it showed the following output? PID TTY TIME CMD 1 ? 00:00:02 init 2 ? 00:00:00 kthreadd 3 ? 00:00:00 ksoftirqd/0 5 ? ...
1
vote
2answers
95 views

how to log reboots dates

I'm new to Linux, and I'm always unsecure if I'm doing things the proper way I'm using a Raspbian system that sometimes reboots ( for some non software problems ) and I want to have a log on when each ...
1
vote
1answer
24 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
0
votes
3answers
33 views

How to obtain the whole disk activities triggered by file systems under linux?

I want to record the disk access activities called by OS. Such data I want to record are received by disk from OS, including disk sector number, request length, arrival time, read or write. To be ...
0
votes
0answers
14 views

Get AMD 8320 CPU temp?

I'm looking to get the CPU temperature of my AMD FX-8320 chip. I have lm-sensors installed and I've run sensors-detect saying yes to all of the prompts. I also have the kmod system service running and ...
0
votes
0answers
17 views

Installation of linux and windows xp

I have 80 Gb harddrive, 512 Mb RAM in my pentium 4 pc. Now the Windows XP I had got corrupted and i want to install new xp sp3 but each time I use the bootable USB it says unable to find operating ...
1
vote
0answers
23 views

Linux cgroups: limit CPU usage in absolute values which do not depend on CPU speed

I have a server with a 2.4GHz processor. And there are several cgroups, each one allowed to use 25% of CPU. That's equal to 600MHz. Then I replace the CPU with a faster one, let's say 3.0GHz. If I ...
-1
votes
1answer
18 views

Setup portable linux distrubution on external HDD [on hold]

I have a 2TB external HDD. All i want to do is choosing a correct Linux distrubution and installing it on my external HDD. Operating system should be portable i want to use it with different ...
2
votes
1answer
39 views

Get device's bus port

How can I get a list of device bus ports? For example the parallel port is the 0x378. Is there a command to list each port and its device? On Windows it is possible looking device detail in the ...
1
vote
1answer
75 views

Where in the kernel /dev/kmsg gets initialized?

I'm trying to figure out at which point in the boot up process /dev/kmsg gets initialized and can thus be written. On my system the first line that occurs in dmesg is printk(KERN_INFO "Initializing ...
1
vote
0answers
23 views

Make PyCrust use Python 3

I make successfully python 3.2.3 by opening it through terminal, I make it by alias python="python3" But when I open the PyCrust IDE, it opens up with Python 2.7.3, not 3.2.3. How can I make ...
1
vote
1answer
35 views

Permission denied when trying to access mounted windows NFS

Full disclosure: I'm a complete noob with NFS and have very little idea what I'm doing. After hours of googling, I ended up here. I am trying to mount an NFS folder that I have set up on a WIN08 ...
0
votes
0answers
12 views

ec2 load balancer instance out of service [on hold]

I have created LoadBalancer with 2 Ubuntu instances. For some reason I see these 2 instances out-of-service. I allowed all inbound and outbound traffic in these 2 instances as these will be backend ...
0
votes
1answer
27 views

Difference between tty and ttyS and pts and vcsa? [on hold]

I can't understand what is difference among tty, ttyS, pts and vcsa? Are they same? when we connect a serial cable to a server which hosts unix-like operating system, which ones of these type of ...
2
votes
1answer
47 views

Things to check after a untrusted USB device was mounted

Suppose you plugged an untrusted usb-stick into your linux machine (as user) and browsed and copied some files, perhaps using a graphical interface. After the usb-stick is removed (and not available ...
0
votes
0answers
14 views

Download AD user certificates using PBIS

I am using PBIS(likewise-open) tool to join to Active Directory domain from my ubuntu machine. I would like to know if there is some command to download user certificates from AD using PBIS. I came ...
-1
votes
3answers
27 views

How do I set systemwide connection over a proxy server

My Internet access is through a proxy, my OS is Debian 8, each application must configure it to use the proxy, but there are some that are a headache to make it work with a proxy, then my question is: ...
0
votes
1answer
34 views

Owners and groups of everything inside /var are changed mistakenly [duplicate]

I have recursively changed owner and group of /var to root:root. I have mistakenly ran following command while standing in /var. I thought I was in /var/www, sudo chown root:root . R Now many ...
0
votes
0answers
9 views

Is there any way to configure fully automated proxyclient for workstations?

My network diagram is similar to above image; pc-router is also acting as firewall & I'm running squid on it. pc-router is running debian Vlan having workstations running fedora, ubuntu and ...