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

replicate and isolating user environments on the fly

I will be using Ubuntu Linux for this project. For training of a particular application at a conference I need: To have each student be able to ssh into the same user account on a server Upon each ...
17
votes
5answers
6k views

How to find creation date of file?

I want to find out the creation date of particular file, not modification date or access date. I have tried with ls -ltrh and stat filename.
5
votes
1answer
2k views

Enable num-lock as default in Linux

There has been a similar question - but IMHO there has to be a simpler solution. If num-lock is on in the BIOS - why is it turned off during linux boot and/or KDE/Gnome/whatever startup?
1
vote
2answers
26 views

Could not mount UBIFS on SD card

I guess this is not a big problem, still I can't see what's the matter. I'm building Images for an Embedded Linux (2.6.39) ARM9 System with Buildroot 2013.11, which is booting from an SD card. I was ...
3
votes
2answers
221 views

Kernel 3.3.2-6.fc16.x86_64 broadcom wireless not appearing

I'm using kernel 3.3.2-6.fc16.x86_64 and I have a Broadcom 4312. When I run iwconfig, I get the following: lo no wireless extensions. p2p1 no wireless extensions. I cannot use ...
2
votes
1answer
29 views

determine what service is running a script

I share a dev server with some colleagues, it's a Ubuntu server and we have several scripts there, so basically the usual way we run a process is using a screen session. My problem is that when I do ...
3
votes
1answer
26 views

When would you use pivot_root over switch_root?

I'm wanting to understand the Linux init process better in order to netboot a system over ceph rather than nfs. In the process I've come across two forms of switching root. One called switch_root, ...
0
votes
1answer
686 views

Centos CMake Does Not Install Using gcc 4.7.2

A similar problem has been reported here with no solution:https://www.centos.org/modules/newbb/print.php?form=1&topic_id=42696&forum=56&order=ASC&start=0 I've added and upgraded gcc ...
1
vote
0answers
12 views

Linux firewall distro that can configure a vpn connection as a WAN interface?

I'd like to setup linux as a router w/firewall between My machine and the internet. The linux box should connect to a VPN account using OpenVPN on boot (managed to get that done) Then the firewall ...
4
votes
3answers
128 views

How can I benchmark my HDD?

I've seen commands to benchmark one's HDD such as this using dd: $ time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync" Are there better methods to do so than this?
1
vote
0answers
39 views

Disable commands for users [duplicate]

I have users that login automatically via ssh to a script I defined instead of a shell. The script basically launches a program which has a shell-escape in it which would allow the user to execute ...
4
votes
0answers
23 views

How to use an SSD for caching, so my hard disks can spin down?

I've got a file server with a bunch of disks running together in a BTRFS pool and want to add an SSD for caching. I'm not mainly after speeding up things, but want to catch the regular small accesses ...
1
vote
2answers
15 views

How I can enable Linux full tickless mode using CONFIG_NO_HZ_FULL?

Where do I enable the CONFIG_NO_HZ_FULL kernel configuration? Is it something I can set in conf files or is it something that has to be enabled when I build the kernel? I am using CentOS with an ...
2
votes
1answer
15 views

mutliple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 differents nets, and I need to define 2 ...
0
votes
3answers
44 views

How can we remove duplicate line without sorting?

I want to remove duplicate lines without sorting lines. Also I want to ignore leading white space. cat test.txt abc def pqr abc xyz def efg then ...
2
votes
3answers
8k views

linux + add X days to date and get new virtual date

I have Linux ( RH 5.3) machine I need to add/calculate 10 days plus date so then I will get new date (expiration date)) for example # date Sun Sep 11 07:59:16 IST 2012 So I need to get ...
8
votes
2answers
294 views

How can I find available network interfaces?

This is in regard to linux, but if anyone knows of a general *nix method that would be good. I booted a system yesterday with an ethernet cable plugged in. "NetworkManager" is not installed, so once ...
6
votes
0answers
172 views

Why is the kernel using the default block driver instead of my driver's code? [migrated]

I wrote a block driver program which creates a dummy block device (sbd0). I registered all device operations for that block device: (Refer to include/linux/blkdev.h in 2.6.32 kernel source) static ...
0
votes
2answers
332 views

tkdiff error on Linux Redhat 5.5

I installed tkdiff as root, and it runs fine under that user, but when I switch to a local user I get the error: Application initialization failed: Can't find a usable init.tcl in the following ...
0
votes
1answer
8 views

Current pending sector count error

Recently my hard disk show some error message in SMART utility, I have taken a screenshot from error messages. That's something like : Current pending sector count error && Relocated sector ...
18
votes
4answers
282 views

How to find the driver (module) associated with a device on Linux?

On Linux, given: a device, for example /dev/sda, and its major and minor numbers, for example 8, 0, how can I know which module / driver is "driving" it? Can I dig into /sys or /proc to ...
3
votes
1answer
368 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
11
votes
1answer
1k views

Fix Fn-keys for keyboard illumination

I've tried following the Ubuntu hotkeys/media keys troubleshooting guide and /usr/share/doc/udev/README.keymap.txt.gz to make the Fn keys work. After copying the map file and modifying ...
62
votes
9answers
4k views

Does `sl` ever show the current directory?

For those out of the loop, sl is a humourous command line tool that is meant to trip people up if they mistype ls. When invoked it prints a Steam Locomotive. For example: ( ...
0
votes
3answers
59 views

Open a terminal with a login prompt [on hold]

I want to open a terminal (xterm, gnome-terminal, tilda, whatever) and have it prompt for a username and password to login as. I thought this would be simple but all my Google results are polluted ...
0
votes
1answer
9 views

Unrar local files to remote server [duplicate]

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 ...
1
vote
1answer
305 views

Windows 8.1 not appearing on grub after Linux Mint 16

I had followed a tutorial to install Linux Mint 16 Cinnamon and it works perfectly fine, currently using it to post this question. But when grub loads the only 3 options I am given, are Linux Mint, ...
34
votes
1answer
39k views

In Linux “top” command what are us, sy, ni, id, wa, hi, si and st (for CPU usage)?

When I issue $ top in linux, I get a result similar to this (see here). One of the lines has CPU usage information represented like this: Cpu(s): 87.3%us, 1.2%sy, 0.0%ni, 27.6%id, 0.0%wa, ...
1
vote
1answer
257 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
6
votes
1answer
65 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 ...
2
votes
1answer
35 views

VPN client for linux machine + support checkpoint gateway

Since Checkpoint Company does not have a VPN client for Linux (checkpoint VPN SNX R71 is not fit for us because this VPN required changes on the gateway side ). I'm trying to find if there is a VPN ...
2
votes
1answer
40 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 ...
0
votes
2answers
90 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 ...
2
votes
2answers
40 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 ...
2
votes
1answer
278 views

iptables port forwarding

I have a CentOS server with Java/J2EE(Tomcat) installed on TCP port 8080. I have two interfaces, eth0 and lo. I need to forward all incoming connection on TCP port 80 to 8080. I tried doing the ...
0
votes
2answers
50 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 ...
-3
votes
1answer
42 views

Kali tools on Ubuntu [on hold]

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
0answers
12 views

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

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
1answer
61 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 ...
3
votes
1answer
31 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 ...
1
vote
0answers
4 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
2answers
47 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.
0
votes
1answer
22 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 ...
1
vote
2answers
33 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 ...
0
votes
1answer
594 views

Setting permissions with FTP

I'm having some issues setting up permissions for FTP. Read another thread on here regarding it, but I wasn't sure if it really matched what I needed. Essentially, right now I've got the client's FTP ...
0
votes
2answers
180 views

Making Puppy Linux more “Unixy”?

I am playing around with Puppy Linux Wary 5.3 on an old machine (Pentium PII, 160 megs RAM, 6 gig HD). I did an install on the HD. I appreciate it's light footprint, the fact that it plays nice with ...
-1
votes
0answers
34 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 ...
-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
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 ...
2
votes
1answer
235 views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I am going desperate... I have imported all of the DNS zone files using ...