Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

3
votes
1answer
1k views

How to test the touch screen on embedded devices like iPhone / iPad / Kindle? [closed]

I want to test the touch panels on embedded devices like iPhone, iPad and Kindle against following criteria: Do a gesture, like tap, swipe, pinch ( zoom in/out) 10000 times and validate that every ...
1
vote
2answers
4k views

Kill all processes related to an application

I have two processes that are temporarily spawned and I need to kill them. Here are the processes from ps aux david 38329 0.0 5.0 3916476 104624 s002 S 11:33AM 0:17.43 ...
4
votes
2answers
3k views

/etc/crontab permissions

The /etc/crontab file has the permissions: -rw-r--r-- I understand that this file is for system cron jobs and other users should not have permission to modify it. The current permissions allows all ...
3
votes
2answers
4k views

Why does CentOS not have an NTP drift file?

It seems that CentOS does not have a ntp.drift or similar file. In /etc/ntp.conf, it says that you can use /var/lib/ntp/drift as a drift file but this file does not exist. Does CentOS does not ...
5
votes
1answer
815 views

Needs help on setting up kernel keyboard mapping

I already got the keycode from kernel, but acpi_listen won't recognize it in Arch Linux: # /usr/lib/udev/keymap -i /dev/input/by-path/platform-thinkpad_acpi-event Press ESC to finish, or Control-C if ...
0
votes
3answers
144 views

changing name of some files in bulk [duplicate]

Possible Duplicate: Rename all the files within a folder with prefix “Unix_” how can I rename multiple files by inserting a character? Is there a way to make a change in name of some ...
3
votes
1answer
776 views

CentOS network connection breaks every 5 min

I installed CentOS 6.2 about a month ago and it worked fine. Two days ago I saw that the internet connection is broken, so I reconfigured it. I was able to use it but after a few minutes it broke ...
1
vote
0answers
598 views

Booting linux from SD Card on a Leopard board (Ti DM365)

I have a Leopard board with Ti DM365 processor. Problem is that I tried to flash the bootloader (uboot) to nand and landed up corrupting the NAND. Now I can't use the NAND to bring up the board. So I ...
3
votes
2answers
3k views

How do I install a device driver provided as a .bin file?

I am a new Linux user and am struggling installing a driver for a usb WiFi device I want to use on an embedded system (BeagleBone). When I download the driver for the chipset (Ralink 2070), it is ...
14
votes
1answer
11k views

How can I test the RAM for data corruption on an ARM-based system?

I have an embedded device. It is ARM based, with Linux 2.6.31 and has 256 MB RAM. I wanted to get some ideas/tips on what is the most effective way to test the device RAM for data corruptions. Is ...
2
votes
2answers
1k views

Retrieve deleted files on Linux VM guest

I use Ubuntu on VMware to learn how to use Linux. I used rm on some folders and mistakenly deleted some files from /etc. I have some very important files on it. Is there a way to retrieve that files, ...
1
vote
2answers
106 views

linux with 3.2.x kernel [closed]

Is there a major Linux distribution that uses 3.2.x kernel?
1
vote
2answers
844 views

Suggestions for a Linux distribution for a dedicated SFTP server

I have a desktop which has more than 16GB of memory that I want to dedicate as an SFTP server. Many people have suggested that I install Linux, so I have decided to go with Linux. I am puzzled and ...
2
votes
1answer
1k views

Why am I gettting errors about unpackaged files while trying to build an rpm?

Trying to package up wget-1.13.tar.gz into a rpm (I am re-learning this process) and I'm running into these errors when I do a dry run. error: Installed (but unpackaged) file(s) found: /etc/wgetrc ...
7
votes
1answer
3k views

/dev/tcp not present in Linux

I am porting C/pro*c code from UNIX to Linux. The code is: #define __NFDBIT (8 * sizeof(unsigned long)) #define __FD_SETSIZ 1024 #define __FDSET_LONG (__FD_SETSIZ/__NFDBIT) typedef struct ...
4
votes
2answers
3k views

vmlinuz and initrd not found after building the kernel?

After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
0
votes
2answers
99 views

Where to find acpi mailing list?

Was this mailing list dead: Acpi-devel -- Defunct ACPI Development Discussion List What other source can I utilize , just want to find the developers of acpid
2
votes
1answer
547 views

Which edac module should I enable here?

I got a Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz CPU here , not sure which module should be enabled for EDAC: Chipset: Inter Coporation 6 Series/C2000 , driver in use: i801_smbus
1
vote
0answers
124 views

Setting mailman to reject message when max_num_recipients exceeded?

I'm trying to configure a mailman list I run to reject messages when max_num_recipients is exceeded, but instead it insists on putting the message into the moderation queue. I've searched for details ...
3
votes
1answer
3k views

Keyboard and mouse do not function in Debian

I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
31
votes
4answers
96k views

SSH login with clear text password as a parameter? [duplicate]

I need to login to a user that I've created on a remote host running Ubuntu. I can't use an ssh key because the ssh login will happen from a bash script ran within a server that I won't have access to ...
4
votes
1answer
193 views

Linux from Binaries

I thought Linux from Scratch was a pretty cool tutorial, but I felt having to wait for everything to compile was a bit nerve-wreaking. Is there a tutorial similar to LFS except pre-compiled binaries ...
5
votes
1answer
98 views

assigning files of a group to another one

I want to delete a group using groupdel command, but before doing this I want to assign all files belonging to this group to another one is there a way to do this? I know that I can use find / -gid ...
2
votes
0answers
463 views

acpi_listen returns different result in Ubuntu than Arch Linux

Ubuntu is able to detect my Lenovo "Mic Mute" button with acpi_listen, but when I try it on Arch Linux, there is no output available. Model: Thinkpad X220 4290LY9 Tried to add acpi_osi=Linux in ...
-1
votes
1answer
545 views

What happens if I put these directories chmod 000?

I have this server I administer. I have some users that have email accounts on that server and use stuff like horde to read their emails on that server. The server have a limited space and these users ...
0
votes
2answers
263 views

How To See Which Ports Are Open On A Particular Firewall

Using the terminal I was wondering if it would be possible to see a list of all the active firewalls on a particular system that I have shelled into. I want to be able to see which ports are active ...
6
votes
2answers
2k views

UID of a deleted account

How can an administrator find the UID of a user that's been deleted with the userdel command?
6
votes
1answer
153 views

Why do we need an expiration period?

Why is there a gap between the expiration of an account and its complete deactivation, when one can no longer log in or change his password when it became expired?
17
votes
7answers
13k views

Is there any (good) SQLite GUI for Linux?

I'm looking for a SQLite graphical administration utility for Linux but I can't seem to find any (I found an extension for Firefox I'm not a user of that browser). Is there any that you know of?
1
vote
1answer
564 views

EUI64 and ipv6: how to use own EUI64 for IPv6 autoconfiguration

As I heard the extended unique identifier (EUI-64) can be used as the lower 64 bits of a IPV6 address. How can I set my own EUI64 = ( IEEE_company_ID + manufacture_ID) on the interface on Linux SUSE ...
4
votes
1answer
2k views

When can one reboot from inside a chroot environment?

Sometimes when I chroot into some folder , I could use reboot to reset my box, but sometimes I can't. So I want to know why I could do that sometimes and why. UPDATE The chroot environment is ...
2
votes
1answer
1k views

No effect of umask and chmod on mounted drives

The windows drives are mounted at boot-time using pysdm. The setting were nls=iso8859-1,users,umask=002,sync,user,dirsync,uid=mtk When I try to change the permission of files using chmod, I don't ...
7
votes
2answers
2k views

Is it possible to trigger OOM-killer on forced swapping?

Is it possible to have the system preemptively swap out inactive pages (vm.swappiness), but invoke the oom-killer when the system runs out of RAM (as opposed to running out of memory) and is forced to ...
6
votes
2answers
1k views

Why was fsck priority introduced in /etc/fstab?

Inside the /etc/fstab file, in the sixth column, there is a number that corresponds to whether a filesystem should be scanned for errors. Possible values are: 0 - skip 1 - high priority 2 - low ...
3
votes
1answer
2k views

Debian and system clock change?

If I change my system time on Debian which files would be modified? Would it be /etc/default/rcS? Also, is default time on Debian Dec 31 1969?
4
votes
2answers
427 views

Job to keep a count of XML files

My friend works in a IT company where he is required to keep a count of XML files inside a directory (including subdirectories). However the count using ls -LR | grep .xml or similar takes a lot of ...
3
votes
1answer
1k views

Do I have to list modules in both `/etc/mkinitcpio.conf` and `/etc/rc.conf`?

I've added few modules into mkinitcpio.conf. Are they automatically loaded at kernel boot or with udev if I don't specify them in modules list in rc.conf?
4
votes
2answers
1k views

Having Linux port remap to itself

I have a scenario: I have 4 server and 3 web inbound requests that I have to allow through a modem/router. the ports are https(ssl)443 ssh22 and http80. All 4 servers want them. I had set up the ...
4
votes
2answers
1k views

Are there more advanced LUKS key schemes, e.g. 2 of 3 keys needed?

It seems like the two main LUKS encryption options are: USB keyfile (see http://superuser.com/questions/149578/how-can-i-use-a-keyfile-on-a-removable-usb-drive-for-my-encrypted-root-in-debian) ...
4
votes
1answer
190 views

What does CONFIG_IA32_AOUT do actually?

I'm running a 64bit kernel, already have CONFIG_IA32_EMULATION set, so do I still need CONFIG_IA32_AOUT enabled? From the help in menuconfig, I don't quite get it.
2
votes
5answers
536 views

Is it possible to install Gentoo by building on one machine and copying the files?

I have an older machine with a failing cdrom drive. Because of this I'm having a hard time installing Gentoo on the system. I wanted to run a proposed work around past you and see if it makes sense. ...
15
votes
4answers
3k views

Best method to collect a random sample from a collection of files

Suppose there is a directory holding 300 data files. I want to randomly select 200 of those files and move them into another directory. Is there a way to do that under Unix/Linux?
1
vote
1answer
1k views

How to install/setup psftp in open suse linux?

I'm a newbie in linux. we need to do a file transfer from an open SUSE Linux server to a Windows server and vice versa. We are required to use psftp for the file transfer. Can anyone tell me how to ...
5
votes
1answer
788 views

Commands for Auditing Installed Software

Similar to the question here, http://serverfault.com/questions/387111/inventory-or-audit-installed-linux-software, I would like to obtain ideas about commands that should be ran across various ...
5
votes
0answers
540 views

How can I configure Yast to switch languages completely?

I have an installation of openSUSE 11.4 which was installed in German. I started Yast2 (which displayed in German, like "Netzwerkdienste") and switched the language to English under "System" -> ...
2
votes
2answers
1k views

Fedora 14 command line: assign folder permissions

How can I assign folder permissions in Fedora 14 using the command line? I'd like to give read/write/execute permissions to : 2 users (tom, jim) to the folder /Home/Share 1 group (employees) to the ...
5
votes
2answers
5k views

Why does xargs strip quotes from input?

Why does xargs strip quotes from input text? Here is a simplified example: echo "/Place/='http://www.google.com'" | xargs echo outputs /Place/=http://www.google.com Is there any way to ...
3
votes
1answer
4k views

How can I uniquely identify which device is on USB `hub 6-0:1.0: port 2`?

How can I uniquely identify which device is on USB hub 6-0:1.0: port 2? I receive messages in my dmesg every now and then and I want the system to tell me which device is connected to that port. ...
4
votes
1answer
283 views

Can unformatted partitions have UUIDs?

Can a partition have a UUID without a filesystem?
1
vote
1answer
740 views

How to preload my .so everytime an application executes?

I've successfully used a hook under linux with this article: http://hackerboss.com/overriding-system-functions-for-fun-and-profit/ Now I want to make my .so file load every time espeak loads up. No ...