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
4 views

How to get a list of major number -> driver associations

http://www.nostarch.com/tlpi states: "Each device driver registers its association with a specific major device ID, and this association provides the connection between the device special file and the ...
0
votes
0answers
5 views

Unable to boot Kali Linux 1.1.0

recently I have made a USB livestick for Kali 1.1.0 with lili and with Win32DiskImager and tried to boot it in Windows 8.1. When I came to the boot order menu my USB was recognized as an UEFI-device, ...
2
votes
2answers
22 views

Boot process question

I'm sure this is a fairly simple question for some of you on this forum. My question is, which file in /proc gets read by the kernel during the boot up process? This was a question on my LPIC 101 test ...
0
votes
0answers
8 views

Unable to access localhost in Oracle VM (CentOs[Guest]) from Windows7(Host)

I'm trying to access the localhost in VM from Windows 7 64bit(Host OS), but unfortunately getting "Not Found" Http Error 404. I'm able to login to VM using Putty. Below are the work environment ...
-2
votes
0answers
15 views

Duplicate Image Searcher using Bash

I need to create a script to search through a directory (and sub-directories) of a user’s choice, creating a SHA1 hash value for each image. Each calculated value will need to be compared, where the ...
-1
votes
0answers
25 views

Calling the script

I have created a script in the /home/zaira directory. The script is called user.list.script.ksh. What will be the full path of it if I want to call this from any where in the system or to call it from ...
1
vote
0answers
22 views

Why can't Adobe Flash for Mac run on Linux?

As we know, Adobe no longer develops new Flash versions for Linux (except for Google Chrome, i know). It does, however, develop actively Flash for Windows and Mac. Linux can run native Windows ...
1
vote
0answers
7 views

How to find out which process keeps tunnel interface(tun) up?

If I create a tun interface with ip tuntap add mode tun command and force it administratively up with ip link set dev tun1 up command, then the interface itself is always "physically" down: ...
0
votes
0answers
23 views

compare dynamic file

I have a list of file that will be updated each hour and the name given to these file is according to the date and the hour for example: list_hour_date.txt list_9_20042015.txt list_10_20042015.txt ...
-4
votes
0answers
23 views

transfer and rotate xyz coordinates [on hold]

consider these 10 points point x y z 01 41.809 10.374 16.139 02 43.348 9.633 16.491 03 41.954 11.651 18.934 04 42.428 12.296 19.653 05 40.667 11.310 19.207 06 ...
0
votes
2answers
20 views

Change display output with xrandr?

My roommate has a really old 1280x1024 VGA display that the driver sets to 1600x1200 by default and it causes it to display a message saying it can't display the input. I can ctrl+alt+f1 and use ...
0
votes
3answers
46 views

Windows to Linux migration [on hold]

I have been working with windows application development in C++ and SQL for around 3 years. I want to learn to develop C++ application on Linux and get myself little comfortable with Linux operating ...
2
votes
1answer
23 views

Detect and respond to ping in userspace

Is there a way to make a linux system react or do something when pinged from another device, besides just sending a reply (or not)?
1
vote
2answers
31 views

busybox tar or split large file to multiple smaller files

I am running Linux version 3.4.8 on an at91sam9g20. I want to take a large record and split it into multiple files. I have tried a number of methods, but none appear to function correctly, e.g. ...
0
votes
0answers
15 views

Configuring tun0 and tun1 IPSEC interfaces

I'm trying to make two IPSEC tunnel interfaces in order to make a bonding but i don't know how to start it since i can't find any tutorial showing something similar. Can anybody gives me an indication ...
-1
votes
0answers
40 views

Why is gcc compiler divided into four steps? [on hold]

On looking on the GCC compiler, I've noticed that there are four steps going on inside gcc while compiling some chunck of codes. (Preprocessing, compiling, assembling, linking). I understood the ...
0
votes
0answers
11 views

connecting to virtualbox ubuntu from osx extremly slow

I am running ubuntu 10.04.x as guest on virtualbox from osx x 10.10.x host It works (kind of), but after working a while with it and also after power sleep it can get almost unusable slow. It looks ...
1
vote
0answers
13 views

dhcp ipv6 dynamic prefix delegation

I'm trying to setup Linux-based home gateway with IPv6 support. IPv4 configuration is finished and I'm using IPv4 NAT, ISC DHCP for addresses allocation, PowerDNS for local DNS setup, PDNS recursor to ...
17
votes
1answer
685 views

How does Linux determine what facilities to use to run a (non-text) binary?

I understand that Linux uses shebang line to determine what interpreter to use for scripting languages, but how does it work for binaries? I mean I can run Linux binaries, and having installed both ...
0
votes
0answers
25 views

Linux drop packets if received from another equipment

Problem description : When I establish a VPN connexion between a VPN client and my home server, if the connexion are both across my firewall (pfSense) or are established directly, the connexion is ...
2
votes
1answer
29 views

How can I rasterize all of the text in a PDF?

You know when you have a pdf, which is a scan of a document and it's a really huge file, because it just stores the picture of the scanned document? And there are OCR tools which can help you to ...
4
votes
1answer
410 views

Can I write C programs for Linux on OS X?

In case I'm writing a program (of any kind) in C, that is meant to be run on Linux environment, can I write it under OS X? (concurrency wise for example) I'm asking this because I like programming in ...
3
votes
1answer
33 views

use tar to extract and immediately compress files from tarball

I have a compressed tarball (eg foo.tar.gz) that I wish to extract all the files from, but the files within the tarball are not compressed. That is to say, the contents of foo.tar.gz are ...
0
votes
1answer
9 views

How to capture traffic from a website using tcpdump

I need to capture traffic to https://gmail.com using tcpdump. I solved this by using tcpdump -n dst host <ipaddress of gmail> But is there any way I can directly specify gmail.com instead of the ...
2
votes
0answers
35 views

How often are user repositories abused? [on hold]

No matter which distribution you use, you probably have a package manager and most likely installed one or two packages from an "unofficial source", meaning a regular user has provided it. As ...
2
votes
1answer
81 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
-4
votes
0answers
22 views

Please help me with below expect code

Can anyone please help me with below code :- spawn /usr/bin/scp /opt/ldap/unboundid/backup/binbak/ConsumerDev/binbak_`date +%Y_%m_%d`.tar ...
1
vote
1answer
17 views

Get the time when nohup R program finishes

I want to get the time when program finish. But it always show the same time. Here is my shell script. But it always show that START TIME is same as END TIME. START=$(date +"%r") nohup Rscript ...
0
votes
1answer
10 views

How to benchmark memory in an embedded linux device?

Is there a generic utility to benchmark external memory device (eMMC, DDR) throughput on an embedded device (e.g. raspberry pi)? memtester, bonnie, bonnie++, memtest, dd? I've been running into ...
2
votes
1answer
53 views

Run script every 30 min with systemd

I would like to execute a script every 30 min after booting into the system. I know you can use cron, but I don't plan to use this feature often therefore I'd like to try it with systemd. So far I ...
0
votes
0answers
54 views

Assistance with script on multiple hosts [on hold]

I am running the below script on Server A. Before running this I read the following link: Generate an RSA key pair for version 2 of the SSH protocol #!/bin/bash HOSTS="serverA, serverB" ...
0
votes
0answers
31 views

Should I learn Linux using Raspbian or Debian? [on hold]

Alright so I've worked with Unix a bit in the past (a university course) in which I've gained a slight knowledge of the basic commands, bash scripting and makefiles. Now I'm planning on actually ...
0
votes
0answers
21 views

Install Acrobat Reader in SuSE 10.3

How to install Adobe Acrobat Reader in SuSE Linux 10.3 using commands in a terminal?
1
vote
1answer
36 views

Extracting duplicity backup data

I've made some backups of my previous systems using Deja Dup (duplicity). In my current distribution it's not available, so I've simply extracted the data. Now in order to make that data meaningful ...
1
vote
2answers
20 views

VGEXTEND: How to avoid wiping a swap signature in /dev/sda3?

The problem: [root@195623 ~]# vgs VG #PV #LV #SN Attr VSize VFree fedora_195623 1 3 0 wz--n- 9,50g 0 [root@195623 ~]# vgextend fedora_195623 /dev/sda3 WARNING: swap ...
1
vote
1answer
26 views

my Vimrc disabled the copy/paste action using mouse right click

Am using an open source .vimrc file from https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim, but it is screwing up my default mouse right click copy paste actions. Whenever I do a right click, ...
1
vote
2answers
51 views

What exactly happens in Linux internally when an ethernet cable is connected?

I would like to understand what exactly happens when a cable is being connected to the Ethernet port (assuming dynamic IP addressing): What services are being run and how are they triggered? What ...
4
votes
4answers
289 views

How can I recognize that a certain Linux distribution is based on Debian, looking at file structure? [duplicate]

I have an unknown (let's assume uname -a returns nothing) Linux distribution I have root access to. How can I verify, looking at file structure, that it is based on Debian?
-3
votes
0answers
24 views

Linux os issue when installed [on hold]

I've installed RHEL OS in server. But when i was trying to login immediately after installing the OS ,I wasn't able to do anything. But I can see the OS in the server.I can see only the login page. I ...
0
votes
1answer
21 views

assistance with scripting list of users

I'm new to scripting, so far I've created this: #!/bin/sh ( echo List of users in PRD echo $(date) cat /etc/passwd | awk -F: '{print $1,$3,$5}' | sort | \ while read username uid gecos do echo ...
0
votes
1answer
22 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
1
vote
0answers
25 views

Kali Linux openVPN does not pass the DNS Leak test

I recently installed Kali Linux on VMWare. I was able to successfully install openVPN following these instructions, but it seems that it does not pass the DNS Leak test. Is there anything that can fix ...
-2
votes
0answers
38 views

Script for getting user list ,filtering through parameter and emailing [on hold]

As an example : Below output is one of the lines from /etc/passwd file rambo:!:2098:203:rambo_babu:/home/rambo:/usr/bin/ks If i run below command on /etc/passwd cat /etc/passwd | awk -F: '{printf $1" ...
1
vote
1answer
40 views

How are the values represented with the “free” command

I am interested in the totals of the 3 lines. Specifcally, if the "used" values can be counted as what's going on in real time, or if that's just a running total since the OS was started? How does ...
1
vote
0answers
32 views

USB bar code scanner not working on Raspbian

My USB bar code scanner (SYMBOL LS2208) is recognized as a HID. hid-generic 0003:05E0:0600.000F: hiddev0,hidraw0: USB HID v1.10 Device [\xffffffef\xffffffbe\xffffffa9\xffffffbe\xffffffa9Symbol ...
-3
votes
0answers
26 views

Linux - Use in the IT sector [on hold]

I'm interested in networking rather than programming. I would like to know how Linux is used in the IT industry as a networking tool.
0
votes
0answers
19 views

output in columns [duplicate]

i am trying to put my data after a snmp walk in a table this is my code: for i in `cat $Rep_Scripts/IP_ALU_LIST.txt | awk '{print}'` do read hostname ip <<< $(echo $i |sed 's/;/ /') ...
1
vote
0answers
12 views

Record video from camera and get frame number on demand

I'm using avconv at the moment to store the input of my camera as an video. This works fine. Now i'm asking myself if it is possible to get the current frame number at a particular time of the video ...
0
votes
1answer
22 views

How to rebuild ISO removing file from its mounted image?

I built an ISO that contains, for example: Directory listing of / d--------- 0 0 0 2048 Mar 19 2015 [ 29 02] . d--------- 0 0 0 2048 Mar 19 2015 [ 29 ...
0
votes
0answers
33 views

How to configure the various components of a LAMP stack [on hold]

Setting up a LAMP stack with a frontend Web server and backend Application server and a separate DB server. I need a nice simple walk-through guide on polishing it all up and getting everything ...