These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
2answers
281 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 ...
6
votes
5answers
887 views

Is it possible to view media on the console?

I know the console (outside X11, e.g. /dev/tty1) works in text-mode, but I think if it is possible to play music using programs like cvlc and mplayer, it should be possible to view pictures and watch ...
1
vote
3answers
666 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 ...
4
votes
1answer
3k 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 ...
1
vote
2answers
9k views

Could not bind socket: Permission denied when trying to start NDOUtils using UNIX socket

I followed these directions to a tee: http://shah-oss.blogspot.com/2010/12/ndoutils-installation-on-centos-for.html Everything was going well until I actually tried to run this command (there is a ...
4
votes
1answer
584 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 ...
2
votes
1answer
666 views

i915 cannot work with nomodeset?

I'm trying to get X to work on a ThinkPad W530. I set the BIOS to only use the integrated graphics, I attempt to boot. The display goes blank when KMS is executed and does not recover. I append ...
1
vote
0answers
61 views

Can we Bring Up eth1 after removing e1000e modules?

I am trying to setup TCP in RTnet. I am not sure whether its possible. I read that RTnet is not supporting TCP. Is that so? So now I am trying to setup rteth0 as server and eth1 as client. To setup ...
2
votes
1answer
349 views

Restrict applications to access certain hardware (webcam, microphone…)

If I tell applications like VLC or Audacity to record from my webcam or microphone, they just wake the hardware if sleeping and do their work without my interference. Although this is a good thing, ...
0
votes
1answer
307 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 ...
4
votes
1answer
2k 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 ...
6
votes
3answers
573 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 ...
5
votes
1answer
446 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 ...
2
votes
2answers
2k views

How to install backtrack 5 onto a USB that doesnt mount with existing OS

I believe the title states what im mostly asking but here's the specs. Sandisk Cruzer 4GB USB 2.0 Existing OS: Windows Xp Professional SP3 Hardware: Intel Pentinium 4 Xeon Class (x86 F15 M2 S4) ...
5
votes
2answers
29k 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 ...
4
votes
1answer
1k views

Debian Unstable: How do I install this i386 package under AMD64 using multiarch?

I am currently running Debian unstable (sid) on a AMD64 platform. I have previously enabled multiarch by: dpkg --add-architecture i386 ...and successfully installed some i386 packages, including ...
1
vote
4answers
1k 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 ...
1
vote
1answer
308 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, ...
1
vote
2answers
8k views

How would I mount a linux shared folder on another linux system?

What I'm trying to do is to share my VM development web server's /www folder, to make it more convenient to transfer the HTML, PHP and web documents I have made to test on the web server. Would I ...
16
votes
3answers
17k views

Extracting SFX files in Linux

I am trying to extract an SFX file under Linux Mint 15 (64 bit) but it's not working. I've done chmod +x on the file and tried to run it like a script with no luck (it gives me an error that there's ...
3
votes
1answer
1k 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 ...
3
votes
1answer
365 views

How to increase ftrace precision to microseconds?

I'm trying to generate FTrace files inside an Android environment, using: root@adroid:# echo 1 > /sys/kernel/debug/tracing/events/sched/sched_switch/enable root@adroid:# echo 1 > ...
1
vote
4answers
4k 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. ...
6
votes
2answers
1k 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 ...
0
votes
1answer
974 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 ...
4
votes
3answers
6k views

QEMU how to ping host network?

I'm trying to ping from guest to my host network without success. qemu-system-x86_64 -hda debian_squeeze_amd64_standard.qcow2 -netdev user,id=user.0 -device e1000,netdev=user.0 I try to ping a ...
4
votes
1answer
1k 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 ...
2
votes
1answer
788 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 ...
5
votes
1answer
4k views

Cannot remove or reinsert kernel module after error while inserting it without rebooting

I am learning how to create kernel modules and it was all working fine: I compiled, inserted the .ko with sudo insmod cheat.ko, and the printk messages inside the init function (set by module_init) ...
1
vote
3answers
1k 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
vote
2answers
2k 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 ...
12
votes
1answer
521 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 ...
3
votes
0answers
2k views

Windows 7 to Debian Linux: install without CD/DVD or USB drive or net during install

Installed : windows 7 home premium. Now want debian linux. Tried a couple of things (see question below). Got installer menu using win32-loader.exe of debian from the goodbye-ms site. But I have a ...
2
votes
0answers
514 views

Bonding configuration on a blade server with Oracle 6.3

I'm trying to configure a mode 6 bonding on a blade server. Blade Enclosure: HP c7000 Blade Server: ProLiant BL460c G1 Redundancy part of the bond is working, I can pull out any one of the cables ...
0
votes
3answers
3k 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 ...
3
votes
1answer
1k 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 ...
7
votes
4answers
40k views

Fix “firefox is already running” issue in Linux

I am trying to open Firefox in CentOS, but I'm getting the following message: Firefox is already running but is not responding and Firefox doesn't open. I tried this in command line: kill ...
1
vote
1answer
461 views

Permission error to access mounted directory in localhost

OK, I formatted my flash to ext4 file system, changed all the permissions to 777 and mounted it to /var/www/html/web. Now, when i access localhost/web it gives the following error: "You don't have ...
1
vote
0answers
319 views

Can't see my ssd drive when booting using grub on a usb pen

I installed debian on my laptop and everything was fine (I may need to mention that I'm using LVM) until I reached the grub point. Since I have a GPT partition he refuses to install properly. I ...
0
votes
1answer
348 views

How to know which Linux kernel versions Qt 4.7 supports

I'd like to develop Qt 4.7 based applications running on my arm-linux MCU. However, I'm not sure if this Qt 4.7 supports the following two things: my Linux 2.6.37 kernel my Ti3530-cortexA8 MCU. I ...
4
votes
1answer
2k views

How can I tune Ubuntu for running from a flash drive?

I feel like this is a bit of a duplicate of this other question about making caching more aggressive, but I tried a lot of the suggestions there and I just can't figure out why I'm having trouble. My ...
1
vote
1answer
120 views

How to find out which devices require manually installing a specific driver?

Most of time, you don't need to install drivers in Linux manually, since it already has it installed. But there must be some times when Linux does not have the right driver for a device. How can I ...
1
vote
1answer
639 views

since which version does linux kernel support multi touch screen?

I'm having a Linux 2.6.37 kernel on hand and I'd like to know if it support multi-touch screen. If so, I'd like to know since which version does Linux starts to support multi-touch and to what extend, ...
1
vote
1answer
174 views

Samba: Sharing some folders without duplicate?

I keep all my Photos on my Share: //COMPUTERNAME/Photos In the Photos share, it contains all the years folders follow by album name, example: //COMPUTERNAME/Photos/2012/New York/ ...
3
votes
1answer
1k views

How can I convert this bash function to the fish shell

I'm trying out the fish shell 2.0 to replace bash. I'm trying to convert the following bash function to a fish function, but its giving me hell. I have a several similar functions so if someone ...
0
votes
2answers
2k views

How to install MySql on Red Hat 6.1?

I am trying to install MySQL-server-5.6.12-1.el6.i686.rpm on a Red Hat Enterprise 6.1 server. I receive the following error: rpm -Uvh MySQL-server-5.6.12-1.el6.i686.rpm error: Failed dependencies: ...
4
votes
3answers
2k views

Windows 7 to Linux: install without CD/DVD or USB drive

Update Sorry, Question has multiple parts see below for details: I have been using Windows for many years and only used Linux from the command line, but want to shift after realizing Windows is ...
2
votes
3answers
1k views

Wireless on Slackware

Ok, so I finally got my wireless working on Slackware. Trouble is, I don't really understand what I'm doing. I'm currently root and in order to get wireless, I first have to: wpa_supplicant ...
21
votes
6answers
8k views

Can ps display only non kernel processes on Linux?

How can I ask ps to display only user processes and not kernel threads? See this question to see what I mean...
1
vote
2answers
809 views

How to boot Slackware from second hard disk when it was installed on first?

I first installed slackware with the drive in HDD1 slot, then once I got a caddy for HDD2, I reconnected the slackware drive to the HDD2 slot. (I have Windows on my HDD1). Is there a way to boot ...