Linux is the family of Unix-like operating systems that use the Linux kernel.

learn more… | top users | synonyms

0
votes
0answers
7 views

BCache and disk encryption

I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet. I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
1
vote
1answer
13 views

Installing debian 7 besides windows 8

I ask this question in superuser but no one can answer my question, I hope any one can help me: I bought a VAIO laptop which Windows 8 preinstalled on it in UEFI mode. Now I want to install Debian 7 ...
0
votes
1answer
26 views

Identify Tasks/Process which are 7 days old in linux

How can I identify the processes running since 7 days in Linux?
0
votes
0answers
8 views

Why is my wlan0 interface on Angstrom (Beagleboard) “Not Associated”?

I'm installing a Angstrom (custom build, not the default build) on a Beagleboard XM. I can scan for wireless networks using iwlist and see the neighborhood wireless devices. I have set my SSID and ...
-1
votes
0answers
14 views

How to install flash in fedora for firefox with rpm [closed]

when I installed it to this step in the official readme guide: Installing the plugin using RPM: o As root, enter in terminal: + # rpm -Uvh <rpm_package_file> + Click Enter key and follow ...
-1
votes
0answers
22 views

How should I proceed with transfering sites from external hosting to in house? [closed]

I'm a mix of both a sysadmin and developer. In my job we current host around 50 sites across 15 servers with external companies. Now my manager wants them in house , with new servers and virtual ...
1
vote
3answers
39 views

List all files in a directory recursively but exclude directories themselves

Simple question, I'm running the following find command: find . -type d \( -path ./.git -o -path ./log -o -path ./public -o -path ./tmp \) -prune -o -print To list all the files in my directory, ...
1
vote
0answers
39 views

Why does this code work on Linux but not on SunOS? [migrated]

#include <stdio.h> int main() { char *str = "11111111-22222222 r-xp 00000000 00:0e 1843624 /lib/libdl.so.0"; unsigned long long start_addr, stop_addr, offset; char* access = NULL; ...
-2
votes
1answer
36 views

GParted doesn't recognize the unallocated space after my current partition

I'm using GParted to resize my partitions on Linux. There is about 5GB of unallocated space following the partition sda5. However, when I right click on sda5 and select 'resize/move', it doesn't show ...
2
votes
1answer
28 views

Boot up problem with RHEL 6

I restarted my RHEL 6 box and now I can't get past the logo screen. I tried booting without the splash screen so I could see what's going on, and I'm getting an error message saying something along ...
1
vote
3answers
46 views

bash script to login multiple remote server and execute a script

I want to make a script that will remote login to the multiple servers listed in a txt file like 10.3.9.6 10.3.9.7 and all servers have same username and password. and want to capture the output of ...
1
vote
1answer
48 views

Privilege escalation detection?

I am not a linux/unix expert but everytime when I read about some local privilege escalation exploit (e.g. this), I wonder if an OS can detect that there is someone logging in as root (or new root ...
4
votes
1answer
39 views

How to configure Linux to cache file metadata in preference to contents?

I’d like to set the system up to use most RAM for file system metadata caching, but only a reasonably small amount for read/write caching and prefetching files. Ideally I would like to be able to ...
1
vote
1answer
39 views

JOIN command does not return results

I am trying to join 2 large files(1 file is 699M and other is 20GB). Both the files have only 2 columns. The command I am using is: join -1 2 -2 1 -t , -o 1.2,0,2.2 file1 file2. When I try the command ...
-2
votes
1answer
21 views

Configure Clock on different port other than port 80 in CentOS

I installed CentOS 6.4 & noticed that port 80 is being used by Clock application [root@l-22733-p11 logs]# lsof -i tcp:80 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME clock-app ...
-1
votes
1answer
24 views

While using ssh with Gui script it is giving error

When I'm using the line below in script: ssh -Y user@host /home/user/xxx (xxx is gui script will open GUI window) It is giving me error as below: xauth: not found. stty: : Not a typewriter X11 ...
0
votes
0answers
47 views

Need help understanding to errors in /var/log/messages

Recently I've been checking my log and found two weird errors which I don't understand. The first one: May 22 08:11:00 localhost dbus: [system] Rejected send message, 1 matched rules; ...
2
votes
1answer
47 views

Is it Safe to write to linux Partition from Windows?

I do tasks some of which require Windows while some require Ubuntu and thus I sometime need to access linux from windows, though the reverse is easily possible. So, I searched in google and got an ...
1
vote
1answer
28 views

Measurement of free ram through /proc/meminfo with ramdisk (initrd)

I am booting a disk image via PXE, it is a full system on an initrd ramdisk. I would like to measure the actual free memory of the system (not including buffers and file system caching). I was told ...
1
vote
1answer
50 views

restore filesystem after fdisk

I split a partition in two with fdisk, but after rebooting I've got partition in FAT filesystem (was ext4). What's can be wrong? And how to fix it or get data from bad partition? I hope this is ...
0
votes
0answers
8 views

compat-drivers-3.9 crash video card driver

I try to install wireless driver on my linux with compat-drivers-3.9. After installing compat-drivers-3.9 linux , the video driver seems to be crashed. The resolution is not correct. How can I restore ...
2
votes
2answers
34 views

How to remove a locally installed library?

I had just compiled and installed libc locally into my home directory. Sadly, after this, virtually every basic utility like ls and xz failed to function. The error message prompted up when ...
0
votes
0answers
44 views

unexpected bash behaviour after console login (openSUSE)

I'm trying to install a Linux OS on the computer I use as a home server, because I liked "Raspbian" so much on my Raspberry Pi. I created a custom linux using openSUSE Studio, that's just text based ...
0
votes
1answer
48 views

obtaining kernel build tree

Could anyone explain me what the kernel build tree is? What files does it include? How can I obtain it from a cross-compiled kernel source (e.g. 3.4.0)?
-6
votes
0answers
45 views

Why GNU/Linux distributions and most of their apps developers don't take care of design [closed]

I'm Ubuntu user. I always have this question. Why design in GNU/Linux ditros is not always first priority? Apps are not really well designed (even ones provided by big companies like firefox for ...
4
votes
3answers
96 views

What is the best practice for adding disks in LVM

According to the Linux manpages you can add raw disks as well as partitions to a volume group. In other documentation (RedHat, CentOS or openSUSE), all examples refer to adding partitions to the VG ...
2
votes
0answers
26 views

Including pending update list in motd

How would you include the list and / or count of pending updates in the welcome banner? Eg. username: User password: ***** Hi 'User', welcome on 'localhost' There are 8 pending updates, you need to ...
1
vote
1answer
22 views

How to change the Linux Nadia splash screen?

I was wondering if it is possible for me to change the spash screen when Linux Mint is loading? I am talking about the logo of mint which apprears when you start the computer. If so what kind of file ...
1
vote
4answers
58 views

What type of permissions should a user's home directory and files have?

I'm working with a fresh install of Ubuntu 12.04 and I've just added a new user: useradd -m testuser I thought that the -m flag to create a home directory for users was pretty standard, but now ...
1
vote
2answers
32 views

Why there are two ifcfg-eth0 file but in different directory

I am trying to understand why there are 3 ifcfg-eth0 on my CentOS 6.4 server, they are hardlinks to the same file looks like. Anyone knows why ? $ ll /etc/sysconfig/network-scripts/ifcfg-eth0 ...
3
votes
3answers
82 views

How can I display octal notation of permissions with ls - and can octal represent all permissions? [duplicate]

After looking at the man page for ls on my system and searching Google, I see there IS a hack of way to use awk or perl to show octal permissions when using ls, but with bash is there anything more ...
2
votes
0answers
45 views

Change ip addr label in Linux

How can I change the eth0 zero to eth0:1 using ip addr without deleting. When I run ip addr show eth0 Here is the output 2: eth0: mtu 1500 qdisc mq state UP qlen 1000 link/ether ...
-4
votes
1answer
49 views

How does using linux affect your career and computer skills overall? [closed]

so I would really love to move to linux as my only OS, i had linux installed several times(different distros) But i always go back to windows. Sad, i know Anyway I'm really into computers, i like ...
1
vote
1answer
27 views

Ignore Symlinks when Extracting Tarball

I have a relatively simple question that I cannot seem to find the answer for. I am attempting to extract a tarball (*.tgz, to be exact) and receiving terminal errors on extracted symlinks. ...
4
votes
2answers
44 views

How to Save X Session — ArchLinux+Openbox

I use Arch Linux and Openbox. How can I save the state of my current openbox/X session and later restart them? The scenario is like this: I've several browsers windows open, terminals, file ...
4
votes
1answer
44 views

Which set of commands will limit the outgoing data rate to X kbps for traffic to or from port Y?

I have a Raspberry Pi, and I'd like to have bitcoind running on it. This consumes a lot of my outgoing bandwidth at times, so I'd like to make sure it never uses more than 20 KB/s for Bitcoin data. ...
3
votes
1answer
46 views

“No such file or directory” on an executable, yet file exists and ldd reports all libraries present

ldd xls linux-gate.so.1 => (0xb77bc000) libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb6cc2000) libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6c98000) ...
4
votes
3answers
50 views

Dynamic file content generation: Satisfying a 'file open' by a 'process execution'

I have a read-only file, F. A program, P, that I'm not the author of, needs to read F. I want the content of F to come from another 'generator' program, G, whenever P tries to read F (taking F to ...
1
vote
1answer
44 views

How to find speed of wlan interface?

I'm trying to find speed of network interface using file-descriptor. It's easy to do it for ethX, just calling cat /sys/class/net/eth0/speed. Unfortunately this method doesn't work with wireless ...
0
votes
2answers
50 views

Undestanding the output of route -n

Hi there can someone explain me what the out put of route -n? # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 ...
3
votes
2answers
36 views

How do I detect wheter the audio cable is connected?

I'm using Ubuntu Lucid (10.04). In my shell script running as root I want to detect whether an audio cable (analog jack) is connected to the laptop or not. How do I do that? I don't need a portable ...
1
vote
2answers
44 views

What does longterm mean on kernel.org?

It's fairly easy to understand EOL, mainline and stable kernel, but I'm not sure about longterm here, What does it mean, or how does it differ from stable kernel?
2
votes
2answers
70 views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other ...
3
votes
2answers
44 views

Create custom wordlist

I want to create a custom list of (scientific) words for purposes like spell checking and OCR based on my collection of scientific papers in pdf format. Using pdftotext I can easily create a text file ...
1
vote
1answer
25 views

Writing triggers for mcelog

Just starting to look into mcelog for the first time (I've enabled it and seen syslog output before, but this is the first time I'm trying to do something non-default). I'm looking for information on ...
3
votes
1answer
38 views

IPTables - Port to another ip & port (from the inside)

I currently have a NAS box running under port 80. To access the NAS from the outside, I mapped the port 8080 to port 80 on the NAS as follow: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT ...
2
votes
1answer
47 views

Can iptables be used to convert a single-homed host into a NAT server?

Given: I have a machine (HostA) with only one NIC which has Internet connectivity. I have another machine (HostB) with one NIC on the same switch. HostB is not configured for Internet access yet. ...
-1
votes
0answers
34 views

create a /proc symlink

I'm trying to build a module using the method shown in this answer. Basically I need to create a symlink I got it to build, when I try to load it using insmod I get: -1 invalid module format and ...
1
vote
1answer
41 views

compressed and uncompressed kernel on an embedded device

I have been using several different embedded boards that store kernel, init files, filesystem, etc. on partitions of a (micro)SD card. I notice in the example usage or instructions that compressed ...
1
vote
1answer
27 views

Clipboard sharing between the host OS and a virtual console of a VirtualBox linux guest

I have a CentOS guess OS running without X11. Is there anyway I can paste text from the host clipboard into the virtual terminals or highlight text in the vt via the console mouse daemon and paste it ...

1 2 3 4 5 87