Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
1answer
15 views

How to confirm apt-get confirmation during mysql-server installation

I am trying to write bash script that will install mysql-server-5.6 I want to ask user for password and then I will use it during installation mysql-server and some other configuration. But my script ...
3
votes
0answers
42 views

why am I not seeing traffic using TCPDUMP while sniffing on wireless interface with the station in WDS mode

I've 2 wireless interfaces one has the type of AP and the other has the type monitor. the AP is attached to a bridge br-lan. When I run for example: tcpdump port 5201 -s 0 -ni wlan0 TCPdump is ...
0
votes
2answers
29 views

Locale on Debian 7 doesn't change

So I have tried all things that I could Google up but still locale settings aren't changed (kind of, you will see what I mean). To start off desired locale (lv_LV.UTF-8) is available on the system: ...
0
votes
0answers
48 views

How do I boot from a different disk?

I have a working Debian installation. It boots from /sda using GRUB2, with the root partition on sda1. Its a standard install, nothing strange. I've added a 16GB mSATA device which appears as sdc. I ...
1
vote
0answers
15 views

IPv6 global address lost after delay

I have a (gentoo linux) computer behind a home router (Fritz!Box 7360). When I initially connect it via a wired connection, it is assigned a link-local address (fe80:...), a unique local address ...
3
votes
1answer
263 views

Ubuntu 15.04: suspend from console without sudo

For years I have been able to suspend my Ubuntu-based machine from regular account using dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower ...
0
votes
1answer
35 views

How to add Windows to grub?

The following is the list that I got when I executed the command sudo fdisk -l: Disk /dev/sdc: 120.0 Gb, 120034123776 bytes Id disk: 0x975e4baf /dev/sdc1 * 2048 206847 102400 17 ...
-1
votes
0answers
17 views

Backup to offsite NAS through firewall

I want to setup offsite backup for my Windows PC. I can setup a Linux NAS in my office, connected to an intranet that is only accessible through a Linux server with SSH access (which I don't have ...
0
votes
0answers
8 views

Linux, file contents from Redis query

I want to make a linux file whose contents are the result of a Redis query. Why? I want to multi-tenant a LAMP app. The LAMP app's configuration is in a file. Rather than fiddling around with ...
0
votes
0answers
29 views

fglrxinfo shows wrong data for graphics card

I'm trying to set up a linux partition running Ubuntu-Mate 14.04.2. I have an AMD Radeon R9 290 installed. I was able to successfully download and instal the catalyst drivers, but when I run ...
2
votes
1answer
24 views

File corruption prevention strategy

I recently read about BTRFS and it's superiority in terms of error handling and noticed that I have no real plan in case data corruption happens, other than backing up regularly. I am not asking for ...
1
vote
1answer
20 views

renaming all files with similar structure to same name

I have a lot of files in subsubfolders. They all look like in.*.radiate, where * is just a number. Is there a way to rename all of them with a single command to just in.radiate? Either in linux or ...
0
votes
1answer
33 views

PHPStorm does not start anymore

I have phpstorm installed on ym Linux machine, and it worked fine before. However, now it doesn't even start: ~/.../config/plugins $ phpstorm.sh OpenJDK 64-Bit Server VM warning: ignoring option ...
0
votes
0answers
17 views

smtps service not found/“warning: connect to transport private/smtps: No such file or directory”

I'm trying to access an SMTP smarthost example.com using TLS via port 465 by adding smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o ...
0
votes
1answer
31 views

copy file to all subfolders and all subsubfolders

Copy a file into all subfolders and subsubfolders. I have a file say, a.txt I want to copy it to all subfolders and all the folders within those folders. I have tried creating a script to run this, ...
0
votes
0answers
30 views

Linux - how to force the operating system doesnt go into maintenance mode

Is there any way to prevent or force a Linux System doesnt go into into maintenance mode when there is a system problem?. Example: In this case was for file integrity. Another opcion is if exist any ...
3
votes
1answer
28 views

Making sure linux uses all my hardware correctly

I have a new decent computer coming my way in a week or so, and I have a few worries. I never had to care about installing Linux before as all my hardware was pretty low standard, but now I'll be ...
0
votes
1answer
28 views

Store in server only changed files and delete them after synchronisation

I have two laptops (maybe one more on its way) running Ubuntu and I wish to keep certain directories synchronized. I've considered DropBox and I'm not happy about a couple of points: All my sensible ...
0
votes
2answers
27 views

Apache2 Virtualhost takes me to root directory

I have a virtual host created under /etc/apache2/sites-available called attrave.com.conf Here is the code for that virtual host file (only relevant code attached): ServerName attrave.com ...
0
votes
0answers
36 views

Ubuntu 14.04.1 Trusty crashing / being unresponsive

Disclaimer: I am not an experienced linux user, and I am trying to diagnose a case where my Ubuntu goes away, and doesn't come back. The PC is a headless PC without keyboard and mouse plugged in, that ...
0
votes
0answers
16 views

How do I find which disk (volume) is failing?

I am using stock Apache Hadoop 1.1.1 and I can't get a datanode to start due to: 2015-04-23 09:12:48,138 INFO org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from ...
0
votes
1answer
30 views

How do I add customer data to the end of a NSIS installer

NSIS allows you to insert data on to the back of their exe files and then allows you to be able to read that data back during installation: http://nsis.sourceforge.net/ReadCustomerData How do I ...
4
votes
2answers
101 views

Rsync copying current directory with name

I want to copy current directory to my backup directory: I tried this command rsync -a . ~/backup/ but it just copies the current directory contents instead of creating new directory at the ...
1
vote
0answers
43 views

Monitor who's connecting to your wifi connection on Kali Linux [closed]

I'm wondering if there's a software/tool which can manage the accesses to my wi-fi connection. I'm using the modem dashboard now, but it's slow and complex, as it's not direct as a software and I ...
1
vote
1answer
56 views

MBR and GPT confusion: installing Debian on macbook air

I'm following this question and trying to install Debian on my MacBook. I've lost that account so I couldn't accept that guy's answer (I'm sorry, I'll not loose this one). So, I followed with his ...
0
votes
0answers
37 views

rootfs 100% full debian

I have a problem with full rootfs on Debian (on RPi). I noticed I can't start mysql server with error full partition. I tried looking for space hoggers with ncdu. It all appeared suddenly and I have ...
3
votes
1answer
42 views

How to fix my locale to display Unicode correctly in irssi?

I've just arrived in my new lab and japan and the server I can use has only Japanese locales. A call to locale -a returns C POSIX ja_JP ja_JP.eucjp ja_JP.ujis ja_JP.utf8 japanese japanese.euc So I ...
1
vote
0answers
24 views

Is it a bad idea to make a swap partition on a SSD?

Since it has limited amount of read/write cycles, it seems to be a bad choice but I have no solid reasoning on why or why not to use it other than that.
0
votes
0answers
23 views

Which PCL 6/PCL XL driver?

I'm trying to setup a print server via CUPS. I've been told that a generic PCL6/PCL XL driver will work fine, but in CUPS there are a million versions listed: Generic PCL 6/PCL XL LF Printer - ...
0
votes
0answers
14 views

I am having trouble getting yum update to run cleanly in Centos 7. It seems I have a conflict with the Network Manager that I cannot resolve

I am having trouble getting yum update to run cleanly in Centos 7. It seems I have a conflict with the Network Manager that I cannot resolve. CL output shows: Error: Package: ...
2
votes
0answers
20 views

Why does Linux(and perhaps Unix) set the default chmod to 644? [closed]

The 6 for the owner makes sense, and 4 for groups makes sense. But why can everyone read? It personally seems like an opening for potential misconfiguration.
0
votes
0answers
12 views

Change Windows to different EFI partition

So I recently had to reinstall Windows on my dual-boot system after an unsuccessful change to different SSD for my Windows install. I have OpenSUSE on sda and Windows on sdd. My sda drive has a 156 MB ...
1
vote
1answer
32 views

Can't add default route - RTNETLINK answers: Network is unreachable

On an Ubuntu 14.04 server (3.16.0-30) I'm trying to add a default route and getting error as follows: ip route add default via 172.16.111.99 dev bond0.11 RTNETLINK answers: Network is unreachable ...
2
votes
1answer
39 views

UNIX, how to compare and transfer values between two text file

I have two text files with different number of columns in them and I want to compare values of a given column in file1.txt with values of a given column in file2.txt: if these values found in ...
0
votes
0answers
17 views

Copying directory multiple times with 1 command

How can I copy a directory with the name "1" and create directories from 2-150 with the same contents without having to do this individually?
0
votes
0answers
6 views

What options can be passed to pam_mysql.so in /etc/pam.d/ config files?

There's no manpage for libpam (on Ubuntu 14.10) and man pam refers to something unrelated to PAM. Search engine results only refer to example configuration files, bugs (about escaping) and postfix ...
0
votes
0answers
15 views

Debian - Autoinstall Debian distribution via PXE

Do u know any method to autoinstall Debian via PXE? ive tryed something similar using SLPOS (Suse Linux Enterprice Point of Service). i want to load a Clean Debian Distribution from a PXE coz i want ...
1
vote
1answer
26 views

Group member editing to file *automatically* changes ownership, group, and permissions

I have a directory which I'm trying to set up such that members of a group all have rwx privileges. Here is a subset of the directory and its permissions: -rwxr-xr-x 1 myusrnm grpnm 21638 ...
1
vote
0answers
12 views

tcpdump - rotate capture files using -G -W and -C

I'm looking to be able to capture a rotating tcpdump output which captures 30-minutes worth of data, into 48 files, cyclically. The man implies this should be possible, but my testing doesn't seem to ...
1
vote
1answer
57 views

Map numpad to real number keys on linux

I want the numpad numbers to be exactly the same as the regular numbers, so if I press Shift+1 on the numpad I want ! to be printed. Is there an easy way to do that?
0
votes
1answer
31 views

Unable to make ODBC connection on Ubuntu 14.04

I usually access an ODBC connection through a CentOS server, and I'm trying to make the same connection locally on my Ubuntu Trusty laptop. So far as I can tell I've duplicated everything properly ...
1
vote
0answers
15 views

bad text alignment with sendmail

I'm trying to send a mail and in the text of the mail put like these: xxxxx yyyyy zzzzz ----- ----- ----- 2424 324 23432 I send the email with sendmail but it shows me: xxxxx ...
0
votes
1answer
24 views

Why I can boot various kerel versions but not XEN kernel in grub2

I have successfully compiled XEN usigng following steps: wget http://bits.xensource.com/oss-xen/release/4.4.1/xen-4.4.1.tar.gz tar xzvf xen-4.4.1.tar.gz cd ./xen-4.4.1 export ...
-2
votes
0answers
24 views

Router firmware back to its factory default

I upgraded TP-Link TL-WR841ND v7 to dd-wrt but wireless was not working. So I switched it back to its default firmware. I tried factory default settings and firmware upgrade back to its default ...
0
votes
1answer
55 views

ssh key exists on remote, but still prompts for password?

Why is this happening? $ ssh-copy-id me@server /usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/local/bin/ssh-copy-id: ...
-4
votes
1answer
46 views

Slackware asking for “root” during the installation [closed]

Why Slackware Linux asking for root user during the installation? while its not a Live-CD. I really don't know why...
2
votes
0answers
30 views

Configure firewalld to distinguish home and public ethernet connection

I connect my notebook via ethernet at home and outside. I want to open some ports for services like samba only at home and not somewhere else. How can i let firewalld automatically detect where i am, ...
-3
votes
1answer
47 views

How to make a program start a first start up of the day? [closed]

Is there a way to make a program start when I log in, but only in first session. If I shut down and restart again in the same day, that program won't auto start. I am asking in both Windows and Linux. ...
0
votes
1answer
32 views

in linux using bash how can I split a text file based on percentage

I have a problem where I need to split files based on some arbitrary percentage. If I have 100 lines I need to have the file split by a 70 % / 30 %. The split program in linux does not give me the ...
-1
votes
0answers
14 views

Accidentally deleted dpkg folderr in ubuntu 12.04

I am accidentally deleted var/lib/dpkg folder in ubuntu 12.04 system. Someone please help how to resolve it. Advance thanks.