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
6 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
12 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
17 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 ...
0
votes
1answer
28 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
21 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
30 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
89 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
17 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
30 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
9 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
16 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
22 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
15 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
36 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
74 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
28 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
10 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
26 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
47 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
21 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
107 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
16 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
9 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
7 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
40 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 ...
1
vote
1answer
20 views

Printer drivers

I hope this is an appropriate question. (If not, I'll be happy to delete it.) I run Linux exclusively (home and business). I have standardized on HP printers because the HP driver works well. I don't ...
1
vote
1answer
47 views

accidentally moved and fixed /bin/ directory, but now can't su

I accidentally moved my /bin directory to /usr/bin/bin, anyway, I managed to move it back to its place with # /usr/bin/bin/mkdir /bin # /usr/bin/bin/mv /usr/bin/bin / and then I was able to login ...
0
votes
0answers
9 views

aufs root on gentoo/funtoo

I have used an aufs root before on gentoo years ago, but cannot seem to get it going now. I am using genkernel-next, I would imagine I used genkernel before as well. I am using funtoo with ...
0
votes
0answers
20 views

How to update my local repo that i am using to serve local machines?

I have created a local repo with 618 packages and made it available for my local servers.So that they dont fetch updates directly from RHEL repo. Here are some info about my local repo: ...
0
votes
1answer
24 views

How do I dual boot Win7 and Mint17 both on /dev/sdb?

Question: In my setup, where do I specify the device for the boot loader installation and how do I fix the issue of not being prompted to select my OS with GRUB? Bonus Question: Is there an easy way ...
0
votes
1answer
24 views

Wrap all lines with character sequence in vim

So basically I copy/pasted some code, and I need to prepend and append some more code to each line. Each line is a function call, and is getting added to a switch statement as it's own case. Right ...
3
votes
0answers
19 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on BeagleBone Black preceeding with ...
0
votes
0answers
48 views

Why do I get “duplicate” local IP addresses on different interfaces?

I have two network interfaces(a wireless and an USB dongle) attached to an Ubuntu server and both get the same local IP address. Is there any reason for this or a way to force it assign distinct IP ...
0
votes
0answers
26 views

Copying files between /shares?

I have this Seagate NAS with SSH enabled, I need to copy all data from shares to one share and then zip it, so let's say it looks like this: Share 1 Share 2 Share 3 -> Share backup Share 5 Share ...
1
vote
0answers
24 views

Apache 2.4.12 Upgrade issue with OpenSSL 1.0.2c

for FREAK vulnerability, I tried to Upgrade Apache 2.4.12 from 2.4.10 and OpenSSL to 1.0.2c using following line ./config --openssldir=/usr/local/openssl make make test make install Once ...
0
votes
1answer
13 views

nvidia graphics card showing incorrect memory GTX 770 linux mint

Have a new secondhand PC, running Linux Mint 17.1 Cinnamon 64 Bit, Linux Kernel: 3.13.0-37-generic. System info recognises two VGA cards - onboard and the GTX 770. However, when I query lscpi -vnn | ...
2
votes
1answer
43 views

Relative path to anything not working (while running from initramfs)

I'm working in an embedded Linux system trying to get it booting its root file system in ram using initramfs. The system comes up for the most part but then has trouble in the init scripts. I've ...