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
1answer
135 views

What is a remote config server?

I found myself enabling one of my computer on LAN to connect to a server through port 1236. A check on the list of services show: bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote ...
0
votes
0answers
24 views

Cannot boot into Windows 7 after deleting Linux partitions [duplicate]

Possible Duplicate: After removing linux Grub error I was dual-booting Linux Fedora 17 and Windows 7. I used Windows to delete the Linux partitions, but now I can't boot into Windows ...
1
vote
1answer
459 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 ...
0
votes
1answer
2k views

Installing prstat package command on Ubuntu Linux

I'm trying to run the prstat command on my Ubuntu server, but it doesn't seem to be installed, I have searched the web for the package name needed to install it but without any luck for some reason.. ...
3
votes
2answers
504 views

Use variables in find command

mount |awk '{print $3}' --> list of mount points find "list of mount points" -name "aaa" -print How can I redirect the result from previous line into find command as searching directory? I would ...
1
vote
1answer
77 views

What are possible issues with installing a package from the developer instead of the distro-repositories

It might sound like a trivial question to some but even though I have been using Linux for quite a few years I haven't really figured out this question. Little background info; I recently upgraded my ...
53
votes
2answers
40k views

Linux: Difference between /dev/console , /dev/tty and /dev/tty0

On a Linux system, what is the difference between /dev/console , /dev/tty and /dev/tty0 ? What is their respective use? How do they compare?
2
votes
1answer
232 views

Can MD cope with a badblock list?

I have a MD drive set in RAID6 configuration with LVM2 on top. One of my drives was faulted last night due to bad blocks. Now apart from the fact that I am aware I should physically replace the drive, ...
2
votes
1answer
609 views

How to decode cmd = 3222823425 in ioctl in Linux 2.6.29

I am just confused like how can I break cmd=3222823425 value into different parts to figure out what this command means actually in the Linux kernel. I know, some functions are making ioctl command ...
1
vote
1answer
3k views

How to reduce kjournald activity

The culprit that do large write to my hard disk has been caught. It's kjournald One way to solve the issue is to change the file system to ext2. Is there an easy way to do so? Another thing that ...
1
vote
1answer
1k views

Identify text/ascii files in Linux/Solaris

I have a little project to build bash script that search in the OS ( Linux/Solaris ) the current IP address from files and replace them with other IP address. The problem is that IP address could be ...
1
vote
3answers
273 views

Why isn't there standard library to modify /etc/{passwd, shadow}?

Why doesn't glibc provide standard library to modify /etc/passwd and /etc/shadow, i.e add a user, change passwd, I came to that conclusion because I checked the source code of shadow and failed to ...
1
vote
2answers
2k views

How to know recently updated files

If I run iostat -x 1 I saw ocassionally large 5MB to 10MB writes. What files are being written? I want to check the recently created files with size over 5MB for example. How would I do so?
6
votes
2answers
8k views

How to undo sudo add-apt-repository?

I run sudo add-apt-repository ppa:noobslab/indicators to install my-weather-indicator but it requires GTK3 and I don't want to proceed. So I'd like to undo that command. I'd checked my ...
7
votes
1answer
598 views

Can I run multiple cores at different clock speeds?

I see the cores on an Intel i5 machine I'm looking at can only be run at the same clockspeed: /sys/devices/system/cpu/cpu1/cpufreq/related_cpus lists all of the CPUs. Setting cpu1's clockspeed changes ...
3
votes
1answer
713 views

How to safely replace one Linux distribution with another one via SSH?

I'm intending to replace a NAS's Custom Linux with Arch Linux (details at the bottom), of course wishing to preserve all user data and (due to the SSH-only headless access) attempting to be fool-proof ...
1
vote
2answers
693 views

Why won't my binary run?

I have a binary that runs on my Debian Squeeze system, but then it doesn't do anything on my Debian Wheezy (kernel Linux 3.2.0-4-amd64) system. Both systems are 64 bit, while the executable is a 32 ...
0
votes
2answers
189 views

file command + how to view all results from file command

I use the file command in order to verify if file (PATH) is text/ascii file or encrypted file Because file command have allot of results ( small example in example 1 ) I want to get the all ...
1
vote
1answer
329 views

User gets rejected after system crash on CentOS

The power went out on my PC running CentOS 6.3 while I was logged in as a regular user. Since then, when I try to login from the GUI, my screen flashes to black then returns to the login screen, ...
3
votes
2answers
4k views

ATOP shows red line vmcom and vmlim. What does it mean?

utility atop shows: ATOP - MyServer 2013/01/07 00:03:57 10 seconds elapsed PRC | sys 2.18s | user 8.33s | #proc 141 | #zombie 0 | #exit 0 | CPU | sys 21% | ...
3
votes
1answer
7k views

Convert .ISO to .IMG in terminal (Mac) (Linux)

I am trying to make a bootable flash drive with Linux on it for my Mac. I have Ubuntu desktop downloaded, and it is in my downloads. The instructions on the Ubuntu website tell me I need to convert ...
1
vote
0answers
189 views

What chunk size for KVM under Debian linux is optimal with RAID 5?

I would like to know, how to set optimal chunk size for my debian squeeze in future. I Work with 3x WD RE4 500Gb 7200RPM in SW-RAID 5, under debian squeeze. (in the future maybe under wheezy) I Saw ...
2
votes
1answer
197 views

Sensors showing bad values

I use Debian linux squeeze x64 now on gigabyte 970a-DS3. I installed this OS on motherboard which burned (from asus). And I've changed my motherboard to that gigabyte. After running back into linux, ...
2
votes
2answers
4k views

I have high io stat. High writes. But what files are being written?

avg-cpu: %user %nice %system %iowait %steal %idle 11.50 0.02 5.38 0.07 0.00 83.04 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz ...
7
votes
2answers
815 views

Are SUSE servers intended to be used graphically?

After being a long-time Debian Linux user, I decided to give SUSE a try. One of the major selling points of SUSE is the YaST configuration system. It provides a set of wizards for common configuration ...
0
votes
0answers
3k views

Install Broadcom wifi adapter driver in BackTrack 5 R1

How can I install the Broadcom BCM43142 driver in BackTrack 5 R1? Please can anyone guide me with step by step instructions as I am new at Linux.
2
votes
3answers
2k views

How should I prevent data corruption on an NTFS partition shared by Windows and Linux?

I use Linux for most of the things but I still need Windows sometimes. So, I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer with the following disk setup: sda1: The 350 MB ...
16
votes
8answers
17k views

How to determine which sd* is usb? [duplicate]

Possible Duplicate: How to know if /dev/sdX is a connected USB or HDD? The output of ls /dev/sd* on my system is - sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdc sdc1 sdc2 ...
0
votes
2answers
139 views

How to know which hard disk is the new one and which one is the old one

I ordered 2 SSDs from my provider. However, which drive is the main drive? How do I know which drive is the new SSD drives?
1
vote
1answer
611 views

linux driver installation error - “/lib/modules/2.6.18-194.el5/build: No such file or directory. Stop.”

I got an error /lib/modules/2.6.18-194.el5/build: No such file or directory. Stop. while installing moxa driver, following is the shell screen shot. [root@lnx149-252 driver]# pwd ...
5
votes
2answers
2k views

Why are there so many virtual terminal devices?

I've been reading the Advanced Linux Programming book and it mentions about virtual terminals which, if I understood it correctly, it is a Linux-specific feature (not in Unix) to allow multiple login ...
4
votes
2answers
3k views

What a 64 bit Linux can do that 32 bit linux can't?

I ordered a server from fdcserver. Then I realized that, unless changed, fdcserver actually provides 32 bit operating as default. I logged in using SSH, typed uname -m, and to my horror I saw that I ...
1
vote
0answers
126 views

Creating a Virtual filesystem to boot linux

I am trying to boot the linux kernel (bzImage) in QEMU but have had issues. After asking on U&L I found out that my problem was that I was booting the kernel without a filesystem to boot from. So ...
1
vote
1answer
101 views

After running screen, screen doesn't seem to be running

I use ssh to log into a remote machine and then I use the screen command to create a virtual screen. Now, if I type in exit normally I should only exit the screen and return to the remote ssh ...
5
votes
0answers
226 views

How to disable select-on-release right mouse button in Linux [duplicate]

We are having issues with mouse behavior in Linux. In Windows: In any application, to open a context menu and select an option: right mouse button down + release move the cursor to an option left ...
0
votes
1answer
325 views

Opendns setup failed. How to fix it?

I have problems trying to configure OpenDNS. I have contacted OpenDNS support but they did not answer. I cannot access websites like Twitter and Facebook. I tried welcome.opendns.com (did not ...
1
vote
3answers
894 views

Killing all the process of a command except first process

I am sometimes stuck in a situation where a script/command kept in Cron runs more than once because of some reasons (the first instance is not completed fully, the second instance of the same process ...
1
vote
2answers
647 views

btrfs performance

I decided to mess around with btrfs and found some weird performance anomalies. The tests I've done are with with two external hard drives one formatted with ext4 the other btrfs. ext4 performance ...
3
votes
1answer
347 views

Removing windows partition from dual-boot

I have a dual boot of Windows 8 and Linux Mint 14. I want to remove the windows partitions and format them to ext4. sudo fdisk -lu gives me this.. Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 ...
1
vote
0answers
48 views

How to find system call implementations in Linux/Android 2.6.29? [duplicate]

Possible Duplicate: Understanding the Linux kernel source I want to modify some system calls for tracing purposes. To be specific, whenever a system call open is made, I want to print some ...
1
vote
0answers
587 views

Busybox `uname -r` shows wrong kernel version

My kernel is 3.2.27 and /lib/modules/ contains 3.2.27 + folder. But when I am using /# uname -r 3.1.9+ It's showing a strange output. My problem is that for modprobe depends on uname when I put ...
13
votes
3answers
1k views

Why do Linux people always say to read the manual? [closed]

Why do Linux people always say to read the manual when it would be so much easier to just give you an answer? There's no manual! It didn't come with one.
2
votes
2answers
420 views

Transfer a file from Android to a PC (not in the same network)

If I were connected by wifi in my network, there isn't any problem because with AirDroid I can access the sdcard files using the browser. However when I am out, how can I transfer a file from my ...
0
votes
1answer
277 views

What is a datastore especially when considering *nix systems as hosts?

Is it the .vmx files that are created on installing VMWare, does it differs across Windows and Linux platforms as hosts? How can we create or browse datastores when the host is Linux or Windows?
2
votes
2answers
1k views

Very slow SW-RAID 5 in Debian Squeeze

I don't know why, but I have big trouble with speed of my raid. I have 4x WD RE4 7200RPM 500GB. Size of RAID 5 is 1000GB. 1 of HDDs is Spare. Problem is here: Every 1,0s: cat /proc/mdstat ...
2
votes
2answers
697 views

No /proc in a Busybox-based embedded Linux distribution

I am making an embedded Linux distribution and my board is a Raspberry Pi. My kernel version is 3.2.27 without initramfs and my root file system as follows: /lib /* contains ...
2
votes
1answer
970 views

Passwordless sudo of a command containing a comma

I have a number of users of a desktop machine, who each have a folder on a remote samba server. I am trying to set up per-user mounting of these network folders following the instructions here: ...
4
votes
3answers
127 views

What is contained in these addresses?

I am working on MUlti-processor record-replay feature of a virtual machine. I have a log of non-deterministic memory access done in the virtual machine by virtual CPUs. A very high proportion of these ...
4
votes
2answers
1k views

Restrict file access to append only

I have a directory with log files and I'm putting logs from script launched by users into them. Logging with syslog doesn't seem possible in this case. (non-daemon rsync) I want the users to have ...
1
vote
0answers
456 views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...