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

-1
votes
2answers
5 views

Split files and rename the files

I need to split a large file into 5 pieces and rename them. For Example, file Test needs to be split into Test1, Test2 & Test3. However, the split command splits as xaa,xab,xbc.
0
votes
0answers
6 views

linux + dose openswan vpn can support checkpoint gateway + client to site configuration

Openswan is a VPN client for linux Please advice if this VPN can support the following configuration VPN client to site ( client to Checkpoint gateway ) The following diagram explain the scenario ...
0
votes
0answers
11 views

VPN client for linux machine + support checkpoint gateway

Since Checkpoint Company not have a VPN client for Linux (checkpoint VPN SNX R71 not fit for us because this VPN required changes on the gateway side ) I am trying to find if there is VPN client ...
0
votes
1answer
45 views

what programming language required to develop linux O.S? [on hold]

I want to know, what programming language is required to develop Linux operating system?. How to start and what are the required concepts ? I want to create my own O.S to my PC. I have knowledge in C ...
0
votes
0answers
2 views

tcplay: cannot mount filesystem on TrueCrypt volume with hidden volume protection after mapping it

I am using tcplay to work with a Truecrypt volume with a 4 GB hidden volume located at the final gigabyte. When I mount either the normal volume or the hidden volume, they mount just fine. However, ...
1
vote
1answer
20 views

Unrar local files to remote server

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
-2
votes
1answer
27 views

Kali tools on Ubuntu

Okay, So I am new to UBUNTU, and have little experience with Kali and Backtrack! so I wanted to install ALL the Kali Linux tools in UBUNTU, not one by one, or just transform the Kali Linux into Ubuntu ...
0
votes
2answers
74 views

Extract data in linux/unix

I have input data which I want to parse and extract values using awk/grep/sed: group-2 9 10 text color=black,from=ABCB11,fromid=4,order=2,thickness=3,to=ACE,toid=11,use=1,z=1 group-3 0 1 text ...
0
votes
1answer
16 views

How to dump bios data to a file

I want to dump the bios data of my laptop to a file. The only solution I found is the following command: dd if=/dev/mem bs=X skip=Y count=1 X and Y are different in suggested solutions by different ...
2
votes
2answers
34 views

Lose network connectivity when bringing up second NIC

I currently have a CentOS 6.5 box with 4 NICs. eth0, eth2 and eth3 all come up fine, however when I bring eth1 up with an IP address, even on it's own, it causes complete network loss. If I remove ...
0
votes
2answers
44 views

Different forms of executing a shell script

There are a few similar questions around that I've already seen, but I've come up with something different. I'm reading this http://www.tldp.org/LDP/abs/html/invoking.html and I got confused when I ...
6
votes
0answers
48 views

Possible to see dead proccesses?

In man ps, it clearly states the different states a process can have on Linux. D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an ...
1
vote
1answer
32 views

How to make a bash script wait till a pendrive is mounted?

I have a bash script which has a line cd /run/media/Username/121C-E137/ this script is triggered as soon as the pen-drive is recognized by the CPU but this line should be executed only after the ...
1
vote
2answers
45 views

Do I compile Ubuntu Source code on Red Hat System?

If we install the Red Hat System then can we compile the other distros of linux on the Red Hat server system? If so, please provide me the tutorials and links.
1
vote
1answer
24 views

How to know my server's time offset? [duplicate]

I have a few guest machines on VMware. Up until now I was keeping my time sync with ntpd inside guests. Now our VMware admins decided to setup VM hosts to keep time, so VMs don't have to. I disabled ...
0
votes
2answers
27 views

Launch a program on boot (Debian server)

Path to folder: root/CumulusServer Command to execute: ./CumulusServer --daemon [--pidfile=/var/run/CumulusServer.pid] I've spent considerable time trying to figure out how to modify init.d? Any ...
1
vote
2answers
30 views

Openbox won't load wallpaper on startup

I've tried a lot of things. I googled and followed tutorials and I'm still unable to have my wallpaper load on startup. What I've done so far is I've added the wallpaper of my choice via feh feh ...
1
vote
1answer
39 views

Selectively forward email based on domain?

I have an alias on my mail server, call it splitusers. Based on which domain (a couple are run off one mail server) is used, I would like the mail forwarded to a different user account. Eg: ...
3
votes
0answers
16 views

How to use btrfs send/receive for transmitting backup snapshots over a slow and unreliable network connection?

I'd like to use btrfs' send/receive feature for transmitting backup snapshots over a rather slow (initial seed of about 50-100GB, upstream bandwith ~1-2MBit/s) and unreliable (daily forced ...
-1
votes
0answers
33 views

Write a script file 'account.awk' that from a file 'orders' creates the formated printout of account

Write a script file account.awk that from a file orders creates the formatted printout of account. The file orders is as follows: http://pastebin.com/kPF5B0c0 Beside the column Cost the account ...
0
votes
0answers
18 views

RHEL Linux 6 teamviewer 9 upgrade error

I had teamviewer 7 installed on my server RHEL 6, but I wanted to upgrade it. I downloaded the latest rpm teamviewer 9 en from here and upgraded it, now my server X window system won't start up. ...
0
votes
0answers
7 views

Can I use lldb to remotely debug the Linux kernel?

With GDB, I can remotely debug the Linux kernel. lldb, which promises to completely replace GDB, should be able to remotely debug the Linux kernel too. However, I cannot find any tutorial about this ...
3
votes
2answers
20 views

How to tell if a SCSI device is removable?

In DMESG I see: [sdb] Attached SCSI removable disk How does Linux decide what is removable and not removable? Is there a way I can look up if a device is "removable" or not other than the log, for ...
1
vote
1answer
26 views

WARNING: at kernel/irq/handle.c - after changing rootfs, but why?

today I changed from an image with initramfs to an image with separate kernel and rootfs. Theses images are used for an Embedded System (ARM9 SAM9G25), that is runnging with an Linux 2.6.39. During ...
0
votes
1answer
27 views

modpost.h:12:23: fatal error: elfconfig.h: No such file or directory

I am running Ubuntu: #lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise Kernel info: 3.8.0-38-generic ...
1
vote
2answers
37 views

FATAL: Module hello.ko not found

I'm using CentOS-6.5 and default kernel is 2.6.32-431.11.2.el6.x86_64. I downloaded 2.6.32 and built that kernel (under /lib/modules/2.6.32). I wrote a module for simple hello world program. This ...
-1
votes
0answers
15 views

Linux nagative Multipath configuration? [on hold]

I m using two HP server Prolient DL 380de gen8 server installed RHEL 6.5 and have EMC2 VNX5300 Storage.Each server i have 4 nic port and first two ports i configured it as bonding. and in storage have ...
1
vote
0answers
44 views

Segmentation Fault on execution [on hold]

I am getting this segmentation fault (core dumped) error on excecuting my c++ program on Centos. I am compiling my code using g++. Everything was executing fine for hours. Suddenly, on executing the ...
0
votes
0answers
50 views

Question. How to write a Shell script? [on hold]

I need to write a script which could read information from txt file. In that txt file should be 3 words. When Script has to make 3 different directories with those words and two of them should be ...
1
vote
0answers
17 views

Dual seat in Linux with 3d acceleration and one video card

Is there anyway to set up a dual seats (i.e. two keyboards, mice, screens) with 3d acceleration but only one video card, in particular an AMD APU? They seem to support multiple monitors, so it doesn't ...
1
vote
2answers
39 views

Block physical console access

I'd like to block physical console access to my linux. I'd like to find, which module is responsible for keyboard input (ps/2, usb, ...) and vga output (only physical), so I can remove them from my ...
0
votes
1answer
48 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
0
votes
1answer
38 views

Bash code runs correctly when it is executed in terminal but does not work properly when executed using udev

I am trying to move various files present in a pendrive into their respective folders on PC. ie ,Music files into music folder,text files into Documents and so on.. I have written a script for that ...
0
votes
1answer
26 views

Syntax for compress utility [on hold]

I've been having some trouble deciphering the syntax from the man page, as well as other sources. I feel a bit stupid, as I've been studying Linux for a while now and this is the first thing I can't ...
1
vote
2answers
60 views

How to copy three files at once instead of one file at a time in bash shell scripting?

I am running my shell script on machineA which copies the files from machineB and machineC to machineA. If the file is not there in machineB, then it should be there in machineC for sure. So I will ...
3
votes
1answer
38 views

Where can i find any information about ancient doshell(8)?

I check the openvt manual by running "man openvt" command, and i found doshell(8) under "SEE ALSO" section: But there's no manual if i do "man 8 doshell": I checked the online manual at ...
1
vote
1answer
21 views

why can't I install packages with rpm? I get “transaction lock”

I'm having problems with yum and I am trying to re-install it. I've download yum.3.2.0-40-el6.centos.noarch.rpm. When I try: $ rpm -ivh yum.3.2.0-40-el6.centos.noarch.rpm I get: error: can't ...
0
votes
1answer
42 views

Tips on switching to Linux? [on hold]

I plan to switch to Linux as my sole OS in a few weeks/months, and I'm not sure what I'd like to do. I've used CentOS Server, but only in CLI mode, and Ubuntu Desktop. I liked Ubuntu, but Unity was ...
0
votes
0answers
36 views

Can't fix Arch, help please [on hold]

I've been trying to get Arch Linux installed on a 22GB partition on my HDD (Attempting to dual boot from Win8-Arch). I can boot into it, which takes me to grub4dos. I'm able to set my Kernel and ...
0
votes
0answers
24 views

Shrew Soft VPN Client 2.2.1 + how to configure user.c file for checkpoint VPN

I download the latest VPN client - ike-2.2.1-release from: https://www.shrew.net/download/ike. I need to install this VPN on my Linux Red Hat machine – version 6.3. I read that shrew VPN client ...
3
votes
0answers
21 views

Merge partitions

Due to some unfortunate partitioning I ended up with the following layout: /dev/sda1 (0-120MB) 128MB (boot) /dev/sda2 (128MB-500GB) 500GB (empty) /dev/sda3 (500GB-1TB) 500GB (zfs) ...
2
votes
1answer
36 views

unable to load module: disagrees about version of symbol module_layout

Following this tutorial to write my first driver. The Makefile is: # Makefile – makefile of our first driver # if KERNELRELEASE is defined, we've been invoked from the # kernel build system and can ...
3
votes
1answer
22 views

Connect a keyboard / IR controller to a command line program running in a screen

I'm trying to have my Raspberry Pi function as a GUIless music player. I've got Arch Linux installed, and use it through ssh. I've got also an IR receiver dongle, and I'm planning to use it to control ...
3
votes
1answer
57 views

Caps lock doesn't take effect on all letters

I have a laptop running Debian Jessie with only the Linux console (X server not installed). On this laptop caps lock doesn't take effect on the special Danish characters æøå (I just get æøå instead of ...
-2
votes
0answers
12 views

asking for DCOM AND COM Code [on hold]

I studied about Distributed Component Object Model but didn't find any sample code which can help me to code mine. I want to start COM & DCOM programming in VB. Can anybody provide some ...
1
vote
1answer
31 views

Accessing GPIO after kernel boots

my rootfs.cpio has only following files: [root@localhost extract]# ls dev init tmp dev has console only. init is cross-compiled from the program given at the end: Then I make a my image and ...
1
vote
0answers
11 views

Awesome not showing up in GDM?

I recently installed debian with xfce. Once installed, I upgraded to Debian testing and installed awesome, then rebooted. When I click the list of session options at GDM's login screen, the only ...
0
votes
0answers
14 views

Running NFS server as ver 3

As NFS docu stands it is possible to run NFS serwer ver 4 as ver 3 from the boot. Just it is necessery to add such entries in /etc/defaults/nfs file: NFS_SERVER_VERSMAX=3 NFS_SERVER_VERSMIN=3 I ...
1
vote
2answers
32 views

Linux collect only the modified logs every day

Linux collect the modified logs every day I want collect the log files from /var/log/ directory every day. My script will zip all the files in the directory and store it separately. But the problem ...
3
votes
0answers
38 views

linux udev rule to load gadget module for client driver

I'm having a hard time automating loading a gadget module and bringing up the usb0 device as a eth interface. The interface in question is g_ether for a embedded Linux device and connecting to a PC. ...