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

3
votes
1answer
177 views

Using tcpdump to log blacklisted IPs

I am using tcpdump to log traffic outbound on a network. I would like to be able to log traffic on a host or IP-only basis but then I would like to be able to log large numbers of potentially ...
5
votes
1answer
978 views

How to confirm/verify WiFi is WPA2?

How do I, from the command line, confirm on the host that the wireless network connection uses WPA2? The wireless router is set to use WPA2 Personal (WPA2 with a pre-shared key) and AES on the ...
1
vote
2answers
393 views

perl one liner + how to match IP address that located in the first/sec field of file

the following perl one liner syntax verify if IP address in "$IP" match the IP ADDRESS in file perl -ne 'BEGIN{$IP=shift} print if /(^|\s)\Q$IP\E(\s|$)/;' $IP file file have two fields as the ...
0
votes
1answer
2k views

How to install Cinnamon with SLiM on Arch Linux? [duplicate]

I have recently installed Arch Linux and since I'm new to hard it's a little hard to get around the things in here. I wanted to know how I can instal cinnamon desktop environment with SliM display ...
5
votes
3answers
96 views

How can I remove a file called “--help” with bash command line? [duplicate]

I've somehow managed to create a file with the name "--help". If I try to remove the file using "rm" funny stuff happens. Please help here's a printout of the dir listing: [pavel@localhost test]$ ls ...
2
votes
1answer
1k views

what is the structure of a linux process? [closed]

what is the structure of a linux process? In linux there are processes executed on a address and which use system resources. Can anyone tell me the structure of a process and which parameter ...
2
votes
1answer
40 views

Viewing hostnames in network

Is there Linux command equal to Net View in Windows, that shows hostnames in your network? I am in a VPN network and want to see computer names in my network.
5
votes
2answers
493 views

What happened to my RAM?

I am trying to understand the basics of the Linux OS. I'm running 64-bit Ubuntu 12.04 on a 64-bit CPU. The system has 2GB of RAM. cat /proc/meminfo MemTotal: 2012040 kB Question 1: Where is ...
3
votes
0answers
266 views

How to set CONFIG_PREEMPT_NONE in RHEL 6.4 (linux)

I am trying to tune the RHEL6.4 Kernel to handle server style load for of my application. With RHEL 6 scheduler has been changed to CFS and with RHEL 5 my application works fine. I would like change ...
2
votes
1answer
742 views

Mapping AltGr to left control

I mapped my AltGr key to Ctrl with the following command: setxkbmap -option ctrl:ralt_rctrl However, when displaying the bindings with xmodmap -pke I can see that the keycode is associated to ...
4
votes
3answers
1k views

Reading a binary file as an array of bytes or 16 or 32 bits using shell script

I am working on ARM-based modem Linux host machine and I need to read a bin file as an 8-,16- or 32- bits array. I basically need to encrypt the file in question and was thinking of just XOR-ing the ...
2
votes
2answers
204 views

linux & solaris - separate netmask IP's from ordinary IP's

I have file with IP address and netmask IP's my target is to cut the netmask IP's from the file_with_IPs.txt and paste them to another file as file_with_only_netmask_ips.txt remark - netmask IP can ...
3
votes
1answer
569 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
1
vote
3answers
2k views

cant compile install and Configure any linux kernel in debian 7

I followed these steps from the link: (http://www.howopensource.com/2011/08/how-to-compile-and-install-linux-kernel-3-0-in-ubuntu-11-04-10-10-and-10-04/) but these commands don't work: sudo make ...
-3
votes
4answers
1k views

perl one liner + how to replace any last IP address octets

How to replace any last IP address octets (four octet ) to 0 remark: Implementation should be by Perl one linear on linux machines for example 192.9.200.124 will replaced to 192.9.200.0 ...
-1
votes
1answer
35 views

Problem on update manager

I am using OS4. When I installed the OS and went to update manager it told me: Requires installation of untrusted packages : mountall Can you tell me what I should do?
1
vote
3answers
950 views

Make web project writable by apache and other user

I am running ubuntu 12.04 LTS . To be able to view my web project in the browser I did the following: chown -R www-data:www-data /var/www/project Now I wanted to open the project in netbeans but it ...
-1
votes
2answers
2k 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: ...
5
votes
1answer
373 views

init: is it a user thread or a kernel thread?

init is the first task executed after kernel is loaded, right? Then who is its owner. also I can see [swapper/0] [swapper/1] ..... [swapper/7] having pid 0 PID PPID CPU TASK ST %MEM ...
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
359 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 ...
2
votes
3answers
213 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. ...
2
votes
1answer
62 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 ...
6
votes
4answers
5k views

When installing linux on USB Drive, which filesystem should I use to format for best performance?

I'm planning on installing Linux on a USB drive, and I was wondering which filesystem I should use to format the drive for best performance (overall responsiveness), and life of the drive?
5
votes
2answers
5k 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. ...
5
votes
3answers
2k 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 ...
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 ...
3
votes
1answer
4k views

open /dev/fb0: No such device

I installed fbi framebuffer to view images on TTY terminals (outside X). When I do: fbi image.jpg it outputs the following error: open /dev/fb0 no such device Yet when I run ls /dev/fb*, I ...
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 ...
2
votes
1answer
88 views

RapidIO packet filtering in Linux

I was wondering if there is support in Linux Kernel for RapidIO packets filtering, something similar to iptables, but based on RapidIO header?
0
votes
2answers
183 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
546 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
1answer
490 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
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 ...
1
vote
1answer
6k 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 ...
2
votes
1answer
258 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
539 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
59 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
255 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
215 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 ...
3
votes
1answer
897 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
3answers
413 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
363 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) ...
3
votes
2answers
16k 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
841 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
930 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
260 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
6k 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 ...
15
votes
3answers
15k 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 ...