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
1k views

How to know ip camera address

I have ip camera with static ip address preset. How can I know it ip using linux? I connect camera direct to my notebook. My system is Linux machine 3.5.7-gentoo #2 SMP ifconfig eth0 eth0: ...
1
vote
1answer
182 views

Display ONLY IP addresses of currently logged users

I want to get a list of the currently logged users and their respective IP addresses. I tried the following command line: w -s However, the TTY, IDLE and WHAT columns are also displayed. I don't ...
4
votes
1answer
2k views

operation in /dev/shm causes overflow

I am repeating tens of thousands of similar operations in /dev/shm, each with a directory created, files written, and then removed. My assumption used to be that I was actually creating directories ...
2
votes
1answer
57 views

Is there a PAM Standard?

Related to a StackOverflow question I have. Since it's more or less really a SO question through and through, I won't go into the whole spiel. My platform question is this: Is there an industry ...
2
votes
3answers
199 views

Is Firefox for Linux generally unstable? [closed]

Started using Firefox in the early days and have used it as main browser for a long time. Under Windows, where I used it a lot until approximately 2011, I generally seldom had problems with it. ...
0
votes
1answer
34 views

how to display I/O file on shell [closed]

I am writing shell script and I need to display my output at the same time however it doesn't work with 2> somefile.txt and if I do | tee -a somefilel it will not overwrite which I need to . <> ...
2
votes
1answer
291 views

Creating partition from a start point till the end of the disk using parted

This is my partition table : Model: ATA Hitachi HTS54757 (scsi) Disk /dev/sda: 750GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File ...
0
votes
0answers
64 views

How can I add PAM functionality in netkit-rsh-0.17

I am using CentOS. In my project, that is working on a network, I need an rsh utility. I downloaded netkit-rsh-0.17 for that and until recently all worked fine. But now I found that this utility ...
4
votes
2answers
4k views

syntax of ls --hide= and ls --ignore=

ls --hide and ls --ignore provides the possibility leave out files defined through regular expressions set after the --ignore= part. The latter makes sure that this option isn't turned off via -a, -A. ...
1
vote
1answer
142 views

Determine how much a process is using each disk?

How do I tell how much load a particular process is contributing to each of several available volumes/mounts? It seems that dstat only shows aggregate stats across all processes per disk, and iotop ...
0
votes
2answers
169 views

Why are there empty lines in the output of my command?: find ~/x/y/ | shuf > ~/Desktop/z.txt

As it turns out the reason for this problem was one filename with several newlines. (No idea how that happened.) find ~/x/y/ | shuf > ~/Desktop/z.txt This command works pretty much as expected ...
2
votes
1answer
317 views

How to get rid of dummy interface?

Hey guys I have a strange problem. There isn't an eth0 interface on my Linux embedded (ttylinux v7) client instead I have a dummy0 interface. With this interface I can't ping anything, and I think it ...
1
vote
4answers
2k views

How to stop the executing process in Linux

I have a script file pingIP.sh which just pings the given IP address, ping -c 70 74.125.228.71 The problem is when I try to stop the executed script in the middle its not stopping it properly. ...
5
votes
3answers
1k views

Determining the particular processor on which a process is running

I have access to an 8-core node of a Linux cluster. When logged in to the node, I can see a list of processors using this command: more /proc/cpuinfo In my 8-core node, the processors are numbered ...
0
votes
2answers
321 views

Safe Linux dual-boot partitioning?

I'm about to get a Linux laptop with Ubuntu preinstalled. Among my first tasks will be a dual-boot installation of Linux Mint. From what I can tell, the following seems like an okay partition ...
3
votes
1answer
12k views

NFS permission denied

When I configure NFS and create a file on the client NFS shared dir, I get the following message: permission denied. My configuration: configuration nfs server ...
1
vote
2answers
1k views

Linux-distro with built-in Xen?

Are there any Linux-distros with Xen "built-in" and ready to act as host for virtual-computer out-of-the-box? Alternatively, distros where you can easily select "Xen-host" as an install option? I'm ...
2
votes
5answers
1k views

How can I improve my productivity in Linux? [closed]

I have been mostly using Windows but I know my way around a Linux system but I am not as productive as in Windows. I am looking for some "survival" guidelines on what should I focus to be able to ...
1
vote
1answer
457 views

Cannot mount eCryptfs

I tried to install eCryptfs on my server to open an eCryptfs I did on my home computer. I got these errors. $ sudo mount -t ecryptfs /home/(place)/enc/ /home/(place)/enc/ Unable to get the ...
2
votes
1answer
633 views

UNIX-, BSD-, GNU-options in Linux's ps command. Where are they from? [closed]

In the manual for the ps command on Ubuntu there is this text: This version of ps accepts several kinds of options: 1 UNIX options, which may be grouped and must be preceded by a ...
1
vote
1answer
235 views

Bonded Interface Pair Performance Difference b/w CentOS 6 and RHEL 6

I have two new dell servers, both pretty close to the same hardware. One has RHEL6 installed and one has CentOS 6 installed. I have the machines configured identically from a network-scripts, ...
5
votes
3answers
374 views

How can I get rid of this invisible file?

Background I have a folder named akorg✽. That Unicode character causes headaches for me when software makes incorrect assumptions about the text encoding of my file paths, so I'd like to remove it ...
0
votes
1answer
166 views

Openwebload installation linux

Am trying to install openwebload in Debian. I realize the latest version is pretty old. I used alien to convert the rpm to deb. When trying to run openload as a command however I get this error: ...
1
vote
1answer
481 views

Read snort.u2 files

I am just getting started with learning and testing snort. I have some snort data in snort.u2.timestamp files. What is the best way to view / read these files? I have found some info via Google ...
5
votes
1answer
324 views

What does the “00:00:00” timestamp mean in kern.log?

I'm looking for causes of a particular problem in kern.log. There are many entries with a 00:00:00 timestamp: Jun 11 00:00:00 mymachine kernel: [ 0.000000] Initializing cgroup subsys cpusetJun 11 ...
1
vote
4answers
880 views

crash shell: any way to check if a command executed Successfully

I'm automating a test using crash package. Is there some thing like $?, which can be used to check if the previous command executed successfully or not inside a crash shell? For example, when ...
2
votes
1answer
200 views

Configuring SELINUX to allow logging to a file that's outside /var/log

I have a daemon that uses syslog(3) to log to a file that is not a descendant of /var/log. Currently, this requires that SELINUX be disabled. How can I configure an enabled SELINUX to allow this ...
13
votes
3answers
2k views

Given a git patch id, how to find out which kernel release contains it?

Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know ...
3
votes
1answer
720 views

How can I efficiently dereference all symlinks in `find` *output* filenames?

I need paths to be both fully resolved and relative to a given directory. This must be done efficiently, since the number of paths is often greater than 100,000. Situation: I have directories which ...
5
votes
2answers
2k views

What is “automatic stack expansion”?

getrlimit(2) has the following definition in the man pages: RLIMIT_AS The maximum size of the process's virtual memory (address space) in bytes. This limit affects calls to brk(2), mmap(2) and ...
0
votes
1answer
181 views

How to put backtrack on a partition with Windows XP

This is a similar question to my previous one. I now am trying to get Backtrack5 onto a separate partition of my main hard drive with windows but the site says that I need a clean hard drive. Is ...
1
vote
2answers
180 views

/dev/console points to tty0?

I've been trying to understand the /dev/console device, but there are a few things I'm not clear on: What is the purpose of this device? From what I can gather it's just a place for the kernel to ...
3
votes
1answer
891 views

Can I unzip and merge sorted text files in a single operation?

I have tens of thousands of gzipped text files, each of which has already been sorted internally. I've written a script to unzip them (creating a copy) and then using sort -m to merge them. It all ...
5
votes
2answers
649 views

How do I refresh the magnetic state on a disks with backups?

I have a couple of large disks with backup/archive material on them. They're ext4. Regarding the ones of those that will be stored for a couple of years without reading the whole disc again I've been ...
3
votes
2answers
717 views

nVidia proprietary driver

I successfully installed NVIDIA-Linux-x86_64-290.10.run on my Debian Squeeze desktop but I do not see /var/log/nvidia-installer.log clearly stating which file(s) have been added/replaced. Does anybody ...
3
votes
1answer
2k views

What's the easiest way to decrypt a disk partition?

I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...
3
votes
2answers
256 views

Clarification regarding behavior of shell script along with pipe

I need help understanding the behaviour of the following shell script. #!/bin/bash echo "First more" more $1 echo "First echo" echo $1 echo "Second more" more $1 When I run the following command: ...
4
votes
5answers
297 views

How to disable graphical shell?

I have a Linux system (Ubuntu) running in a VM, but now I want to disable the graphical shell. Where in the startup process are the graphical components launched? Is it some run-level dependent ...
0
votes
1answer
460 views

ip function exit code

I use use ip by system("ip link set eth0 up") in a C program. I know that system returns -1 if it fails and returns what the called function returns(exit). E.g., if eth0 is not exist on the system, it ...
3
votes
1answer
714 views

Risks involved with lazy_itable_init=1 for ext4 fs on SD card

My setup is the following: Linux kernel 2.6.28 e2fsprogs 1.42.7 64 GB class 10 SD card I am attempting to speed up the time it takes to format the entire card to an ext4 filesystem. My research ...
6
votes
2answers
1k views

Inotifywait for large number of files in a directory

What I want to do is, to monitor a directory (not recursive, just one) for new files created and append those files to one single big file as they are being written. The number of files that are ...
1
vote
0answers
142 views

Are there any good Embedded Linux image builder? [closed]

I'm looking for an image builder to create several Embedded Linux images for different ARM boards. I know the following image builder: linaro, buildroot, openEmbedded, yocto If I've missed one, ...
5
votes
1answer
3k views

Is it possible to run any distro from RAM from within an .iso saved on an NTFS file system?

Running entirely from RAM been done on various distros such as Slax, DamnSmallLinux, and newer Ubuntu versions, and since I have 8GB it seems reasonable that I could run many distros entirely from RAM ...
7
votes
3answers
5k views

How can you trim mp3 files using `ffmpeg`?

Here is a Linux audio MP3 puzzle that has been bugging me for awhile: How to trim the beginning few seconds off an MP3 audio file? (I can't get ffmpeg -ss to work with either 00:01 or 1.000 format) ...
1
vote
2answers
1k views

Fedora over-current condition on port 1

When I boot up my Fedora 18, I got this message > [1.817675] hub 2-1:1-0: over-current condition on port 1 shown on the screen. Right after the Fedora logo disappear, and it is not yet boot into ...
1
vote
3answers
882 views

How to install Skype on Linux Mint

I downloaded the installer from the website. When I run it, I get the following error: Your system has broken dependencies. This application cannot continue until it is fixed. To fix it, run ...
-1
votes
3answers
1k views

run file from different directory [closed]

I have a directory mainfolder with a subdirectory execution which contains a configure script. I can switch to the execution directory and run ./configure and it works fine. Now I'm trying to figure ...
10
votes
1answer
243 views

What happens to RPM transaction when it is interrupted in the middle?

Let's imagine that I'm installing with RPM packages A, B and C. They are installed in the same order. And suddenly in the middle of installing B there is a power cut. 1) regarding state after turning ...
2
votes
1answer
1k views

Invoking memory compaction on linux 2.6.35 kernels and beyond

This LWN article about memory compaction indicates that memory compaction can be invoked in the linux kernel by Writing a node number to /proc/sys/vm/compact_node, causing compaction to happen on ...
2
votes
1answer
191 views

Can I remount as readonly if there's a swap image in use?

When am playing with my Android phone (CyanogenMod 10.1 with kernel 3.0.78), I found this: A script in /etc/init.d/99system.swap.sh It remount /system as rw, and creates an image file in ...