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

Cannot log in to my Debian Wheezy 7 system

I have a Debian Wheezy 7 installation. When I turn it on it boots to the log in screen normally. However when I type in my username/password and try to login the screen briefly turns off for about one ...
1
vote
1answer
10 views

Ping a host, is it alive or not and send result to file via Linux shell scrip

on windows via command line to clean my custom Hosts (DNS) filte and delete dead domain (not alive) i ping host from domaines.txt and if i get reply i send this host to result.txt @echo off ...
0
votes
0answers
11 views

Why do XInput controllers work on linux? [on hold]

Why do XInput controllers work on Linux? Isn't XInput part of DirectX and isn't that a MS proprietary API?
0
votes
1answer
12 views

Install mail server in VM

I have a Intel NUC with an i3 processor running the latest Mint version with the Cinnamon desktop and already installed some basic services (Apache, MariaDb, ownCloud etc). The next step would be to ...
0
votes
1answer
17 views

Partitioning problem in Kali Linux installation

I'm trying to install Kali Linux dual boot with windows 8.1. During installation, only two partitiones: while I have 3 different partitions . Please help.
0
votes
0answers
21 views

Conceptual question about data corruption and mounting

If we have a partition /dev/sda1, and mount it to a mount point (i.e. /mnt), we can then use the files and folders under /mnt. Before changing the partition /dev/sda1 I umount /mnt, and then perform ...
0
votes
0answers
22 views

Show last x lines of a screen session?

/etc/init.d/mc {..} status) if screen -ls | grep -q "mc"; then echo -e "[\033[32mMC\033[0m] Online" {.. needed code ..} else echo -e ...
1
vote
0answers
8 views

Can't see boot options or log with GRUB through serial-over-lan

I have a Debian system that is unable to boot a configuration I want. I don't have physical access to it, but I have serial-over-LAN access via Dell's BMC (so very limited), IPMI 1.5/isol. When I boot ...
2
votes
1answer
10 views

how to overcome conflict between 2 network cards - virtualbox ubuntu

I am running ubuntu 10.4.04 LTS as guest in virtualbox on OSX Yosemite. Unfortunatelly I seem to have the network configured wrong I followed this tutorials ...
-3
votes
0answers
23 views

Application compatibility in Linux [on hold]

Why is application compatibility not good in Linux OSs even in different versions the same distros? Application Compatibility for me: I'm a Ubuntu user, and if I carry and use the .deb files on some ...
-1
votes
0answers
19 views

Unix server -bash: sudo: command not found [on hold]

I Just bought a server where i have to Install apache2 server when I try using command line sudo apt-get install apache2 than it's gave me error like -bash: sudo: command not found Also apt-get ...
2
votes
0answers
20 views

Reasons for IPC control in Linux [on hold]

Linux OS has several IPC mechanisms like named pipes, sys V, d-bus etc. Each of these mechanisms always has senders and receivers of IPC; each mechanism uses some way to control IPC between senders ...
4
votes
2answers
30 views

htop shows only the processes of the user that's running it?

On my old Debian Wheezy I see as a normal user without sudo all processes from all user in htop. On my new Debian Wheezy I only see my own processes. Old system kernel: 3.2.0-4 New system kernel: ...
0
votes
0answers
10 views

DEtecting Comments in Flex [on hold]

I am just learning flex.I have written a simple program to check the words of a given text file is verb or not and print them. I want to detect if there is any single or multi line comments in the ...
19
votes
3answers
548 views

Making Linux read swap back into memory

The Linux kernel swaps out most pages from memory when I run an application that uses most of the 16GB of physical memory. After the application finishes every action (typing commands, switching ...
1
vote
4answers
39 views

Regarding awk command

Can any one tell me how can i add a particular word in whole file using awk command. data look like this: Organism: ahy matching miRNAs miR156a miR156b miR156c miR159 miR167 ...
0
votes
0answers
33 views

Set the TCP window scaling option to 4 & the TCP window size to 65535 [on hold]

I want all TCP packet (linux system) to be sent with: TCP window scaling option set to: 4 TCP window size set to: 65535 (0xffff). How I can configure my linux system to do that?
1
vote
2answers
31 views

How to put output to a different text file in flex

I have written a simple program to check the words of a text file is verb or not using flex. But I want to put (print) the output to a different text file. Is it possible? How will I do that? My ...
9
votes
2answers
249 views

practical usage of /etc/networks file

What is the practical usage of /etc/networks file? As I understand, one can give names to networks in this file. For example: root@fw-test:~# cat /etc/networks default 0.0.0.0 loopback ...
1
vote
2answers
16 views

How can I configure /etc/kmscon/kmscon.conf to use specific a) font and b) keyboard layout?

I recently installed kmscon on my system. Now I want to configure it to use a different keyboard layout (neo2) and, while I am at it, a different font, too. I stumbled across this question here when ...
1
vote
0answers
11 views

Is it possible to make the right mouse button do something else in Linux Mint?

I have a cheap 2 button mouse so wanted to turn the right mouse button into my gesture button (with Easystroke). Perhaps making a double right click act as a normal right click.
1
vote
0answers
24 views

Change screen resolution without monitor under Linux?

I got a GUI program which will be executed along the OS (CentOS 6.6) boots. The resolution configuration is programmed in the init part of the GUI program, my solution right now is get the resolution ...
2
votes
2answers
51 views

How to know the source of a process in Linux?

In our firm, we are using Fedora 14. Our developers are using Python code to process documents. All are running as root. Somehow they did something and a file came inside which makes lots and lots of ...
0
votes
0answers
12 views

Is there a method of installing debuginfo package without registering RHEL7?

My RHEL7 isn't registered just for test. Now I want to install python-debuginfo rpm package. But according to this, it seems that I can't install python-debuginfo rpm without registration. Is there a ...
2
votes
0answers
17 views

is THP good or bad for MySQL Server?

Linux kernel new feature called Transparent Huge Pages (THP) which is by default enabled on CentOS 6.x and above OS. Is THP good for MySQL DB machine? I am trying following to disabled THP but seems ...
0
votes
0answers
32 views

USB Stick created on one machine not working on another [on hold]

I have a 8 GB usb stick and just want to tranfer files from one debian machine to another. same version and 32Bit. but when i create a partition on machine a, copy files to the drive and try to ...
0
votes
0answers
25 views

How to write your own exception/interrupt handler? [migrated]

Any simple and basic example to write the exception? I've been searching the web for the past few days. Couldn't find any good site. :/ I got this as an assignment - Write an "Assembly handler" ...
0
votes
1answer
25 views

Recommend a Python book [on hold]

I'm a Linux system administrator and will be learning Python. I'm a ksh/bash expert. I never became good at perl, so I don't want a book oriented to perl programmers. What book would you recommend I ...
-3
votes
0answers
31 views

What exactly “wiphy” is?

I am wondering if someone could explain to me: what does "wiphy" mean? I have searched already but with no success :| Thanks in advance
0
votes
1answer
23 views

What is a UART port

I have a .fex file for Cubietruck. Supposedly, the bluetooth pins are defined in the uart_para2. With the current config, I have uart0 and uart2 enabled, and everything else is disabled. Bluetooth ...
1
vote
1answer
12 views

Openvpn stops responding

I've been trying to set up openvpn with a vps and raspberry pi. The raspi is natted while the vps is public. I've tried connecting to the openvpn from mint laptop as well, but it's no use: Server ...
0
votes
0answers
16 views

quick question about kernel modules [migrated]

I'm very familier with linux (been using it for 2 years, no windows for 1 1/2 years), and i'm finally digging deeper into kernel programming and I'm working a project. So my questions: Will a kernel ...
1
vote
0answers
28 views

Linux - iptables - get YouTube streaming bytes usage

How do I get bytes usage using iptables for a particular IP, including YouTube streaming videos? Currently, I am using the following IP tables rules to get data usage by IP address: sudo iptables -I ...
1
vote
1answer
25 views

Can't write on recently created EXT4 partition

On a new external hard drive (Intenso 05-1204-18A), I made (with GParted) two partitions : Disk /dev/sdc: 931.5 GiB, 1000204883968 bytes, 1953525164 sectors Units: sectors of 1 * 512 = 512 bytes ...
2
votes
1answer
36 views

Can someone explain in detail what “set -m” does?

On the man page, it just says: -m Job control is enabled. But what does this actually mean? I came across this command in a SO question, I have the same problem as OP, which is "fabric cannot ...
1
vote
0answers
25 views

How to diagnose display issues in linux?

I have recently upgraded my system to Debian Jessie (testing) and everything went smoothly, except the occasional distortion when the screen is updating. When a part of the screen needs to update, ...
0
votes
0answers
12 views

build X11R7.7 from sources - in which order

Is there an automatic way to understand the order in which individual libraries of the X11R7.7 package should be built when I want to build all of util, lib and xcb?
-4
votes
1answer
22 views

I would like to copy some files from a usb to a ssd hard drive running CentOS 7 How do I do this? [on hold]

I would like to copy some files from a usb to a ssd hard drive running CentOS 7 How do I do this? is it different then centos 6.5 instructions?
0
votes
1answer
46 views

How can I get a shell script to change directory for me? [duplicate]

here is a small test I ran, to try and move me back to root: #!/bin/bash pwd cd / pwd It returns the current working directory, and then the correct new one, but when the script finished executing, ...
0
votes
3answers
8 views

How to remove directory from rsync share completely

Is there any rsync command that can remove some remote directory from rsync share completely? I mean delete not only directory content but the directory itself. And without rsyncing the entire parent ...
2
votes
1answer
16 views

SSH demon not installed in linux embedded device

I have an embedded device which runs linux(arm). I am trying to update the executable through ethernet using scp command. But I got to know that sshd is not running in the device . I need to install ...
0
votes
0answers
11 views

Hard disk power cable possibly slipped out during copying - now directories empty, error shows “dir: cannot access .: input/output error”

I am pretty sure the powercable to one of my harddisks fell out during copying. The result was two personal backup directories are now empty, but still extant, while the rest of the directories are ...
-2
votes
0answers
17 views

Script help! Storing a list of services/ports [on hold]

Need help making a script. Script needs to store a list of services/ports, hard-code an email for notification, and to log the info STDOUT.
0
votes
2answers
20 views

Unable to connect to certain IP address, but able to connect to other IP in same subnet

I'm running a 14.04.2 LTS ubuntu box in a DMZ with IP of 10.10.30.35 and I have the following network mystery. I'm trying to connect to another unix box outside the DMZ but in our internal network at ...
1
vote
1answer
50 views

wheel groups and permissions

I'm new to a lot of things Linux, so this might be basic stuff. We're thinking about setting up a wheel group and removing permissions from root. Not even sure that's possible. We are having a ...
-5
votes
2answers
57 views

How to average a column in a text file without using ' character? [on hold]

I need to do it without using the ' character. I could do it like this: awk '{sum+=$5} END { print "Average = ",sum/NR}' except this contains a '.
-3
votes
1answer
16 views

How to create different device names in one terminal as shown in fig

The image contains 3 names i.e 1)HNHBMaster 2)HNRRegion1 3)HNRRegion2 can anyone please explain how to get it. THANK YOU
4
votes
3answers
56 views

mkdir permissions do not correspond to umask (change depending on location)

Whenever I create new directories in my home (or its subdirectories) they do not have write permission, even though umask is set correctly. Files I make DO have write permission. [mmanary@seqap33 ~]$ ...
2
votes
2answers
31 views

Is there any Syscall table just like Interrupt Table?

Are the system calls like fork(), exit() saved in some kind of function pointer table , just like the Interrupt Descriptor Table ? where does my OS go when I call my fork() or exit() ? I guess this ...
6
votes
1answer
66 views

Is it possible to enlarge the / partition without rebooting?

I can enlarge the root (/) partition with fdisk without rebooting (deleting an recreating it with the same 1st sector, but greater last sector). However, I cannot make the kernel to re-read the ...