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

2
votes
2answers
25 views

What is so special about linux permission 004?

I was reading Practical Unix and Internet security, when I came across the following lines which I couldn't comprehend. If you are using the wu archive server, you can configure it in such a way ...
0
votes
0answers
14 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
18 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
21 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% ...
1
vote
0answers
11 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: ...
0
votes
2answers
34 views

Linux Command Syntax not getting what is it

I am not a Linux guy but stuck in some Script which I have to read for my Project. So can anyone can help me what this command is doing? shift $(($optind - 1))?
-4
votes
1answer
35 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
5 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
0answers
19 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
vote
1answer
31 views

Linux shell: pick columns from a variable length csv file

I have two csv files, which share a column that is unique to each row in each file, like an ID. The files don't have a header. The file_2 has variable length columns e.g. 1,2,3 4,5,6,7,8 I joined ...
0
votes
1answer
35 views

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

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.
2
votes
1answer
14 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
37 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 ...
2
votes
1answer
22 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
43 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
93 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
22 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
32 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
12 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
38 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
22 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
33 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
24 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
45 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
13 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
33 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 ...
0
votes
1answer
19 views

Import list of IPs into DEVICE=eth0:X

I have a list of IPs I would like to import into my Linux VPS. They are not an IP range. How would I create a bash script that does this for me? 1.1.1.1 2.2.2.2 If they where my IP lists then it ...
1
vote
2answers
62 views

Bash script with data from another file

I have worked on the following script which I want to use to easily add multiple Postfix as well as a few other things. Below is a small sample postmulti -e init postmulti -I postfix-$new -e create ...
1
vote
1answer
48 views

How to name your program to avoid duplicate executable

I am currently developing a piece of software. I am curious of how to avoid a naming duplicate. There could be the same name used by a different manufacturer. e.g. I want to name my program Peter ...
0
votes
1answer
23 views

Huawei E3372s + Linux (Rasbian), Incoming connections problem

I have a Linux-based OS (Rasbian) running on Raspberry Pi 2+ and it is using Huawei E3372s 4G/LTE USB Stick for internet connection. All my outbound connections work perfectly (Huawei USB mode ...
0
votes
1answer
47 views

Merge the duplicated lines and add “N/A” in the end [on hold]

I have the following lines in a text file. I want to Merge the duplicated lines and add "N/A" in the end of the line to have six columns 302C21;tSMe S123C;1.17 302C21;2;346;SM-1-3/SM-1-4 ...
5
votes
1answer
109 views

How to find out the number of network interfaces available in a linux system?

I need to loop over the network interfaces available in Linux. I'm interested in all kinds of interfaces (loopback, ethernet, vlan, bridge) - whatever shows up in ifconfig -a. Is there a way to ...
2
votes
1answer
15 views

Update magic file list and/or submit my own

I love file. I use it multiple times a day. I love it so much that I install Cygwin on my Windows machines just so I can use it. Anyway, in going through older files on my system, I find there are ...
0
votes
1answer
19 views

Installing libssl1.0.0 and OpenSSL 1.0 in Debian 6

I am newbie to OpenSSL. We are trying to connect to our server where its configuration requires the TLS1.1 protocol for connection. Debian 6 repos do not have direct backports for libssl1.0.0 and ...
0
votes
1answer
18 views

Current X driver

How do I know, by which X driver, the X started. Looking at configuration file or log file is not trustworthy, I guess. These files can be manipulated in one or other way post bootup. Is there any ...
0
votes
0answers
10 views

Slow dragging of windows in Debian 8 LXDE

I did a fresh installation from Debian 8 with LXDE desktop iso. Everything is lightning fast except dragging of windows of programs.
1
vote
1answer
8 views

in i3wm how can I set the default layout for all works spaces

By default when you start i3wm all work spaces start as vertical/horizontal split splith/splitv layout. Is there a way to set the a different default like stacking or tabbed as the default for all ...
-2
votes
2answers
45 views

How to make a password box in linux? [on hold]

I have a script but can't find mistake: #!/bin/bash data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --title "Password" \ --clear \ --passwordbox "Enter your password" 10 30 ...
0
votes
2answers
25 views

Multiple NICs and Gateway CentOS

CentOS 6.6 eth0 IPADDR=10.0.0.100 IPADDR2=10.0.0.101 GATEWAY=10.0.0.250 NETMASK=255.255.0.0 eth1 IPADDR=10.120.0.100 GATEWAY=10.120.0.1 NETMASK=255.255.255.0 Gateway on eth0 has Internet access ...
0
votes
1answer
44 views

Why Gentoo detects no network devices? [on hold]

I've faced the problem installing Gentoo: after the installation is seems to be completed and LiveCD is extracted, network becomes unreachable: gentoo~ # ping 8.8.8.8 connect: Network is unreachable ...