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

learn more… | top users | synonyms

-1
votes
0answers
8 views

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

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 ...
1
vote
2answers
23 views

How to programmatically determine the highest version kernel RPM installed?

What I want to script is something along the lines of: if [ uname -r is not == highest version of kernel RPM installed ] then echo "You need to reboot to use the latest kernel" fi The problem is, ...
0
votes
2answers
38 views

Linux listing files between two date without touch command

I need a command which will list the files between given date and time (YYYYMMDDHHMMSS - format) in to a text file. I don want to use touch command as its creating permission issue. I am new to this ...
0
votes
0answers
8 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 ...
0
votes
4answers
42 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
26 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
70 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
41 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
45 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
21 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
38 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 ...
3
votes
1answer
35 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
39 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
34 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
42 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
49 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
34 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
42 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
62 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
43 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
22 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
34 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
40 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
35 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
25 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
vote
0answers
21 views

Linux shell lagging one step

I upgraded busybox from 1.2.1 to 1.7.4 in my embedded system platform and it is connected to linux host via serial cable. Now when I type any command in shell on that embedded system platform like ...
0
votes
1answer
37 views

building/compiling kernel headers

I am compiling kernel 3.4 and 3.8 for different target devices. I would like to install compat wireless driver which requires kernel header. Could anyone tell me how I can compile/build the kernel ...
2
votes
1answer
32 views

extending a partition by resize2fs

I have a 4 GB SD card. Before the image load root@ubuntu# fdisk -l Disk /dev/sdb: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * ...
1
vote
1answer
96 views

Best Linux Distribution for Scientific Computing? [closed]

I recently bought a new laptop to be used for scientific research when I'm at home. The machine has Intel i7 processor with 8 cores, 4 GB of RAM, and a graphic card from Nvidia (2 GB, Ivy Bridge). The ...
3
votes
0answers
55 views

Fork vs. thread system time [closed]

I got the following logs: Program 1: Taken from a program executed 64 fork calls: real 0m0.023s user 0m0.068s sys 0m0.008s Program 2: Taken from a program executed 64 thread calls: real 0m0.613s ...
0
votes
0answers
13 views

How to run Oracle10g forms in browser in Linux

How i can run Oracle Database 10g forms in browser in Linux? I want a complete tutorial for this.
3
votes
3answers
97 views

Where is the environment string actual stored?

But when we first time we adding a new name,we have to call malloc to obtain >room for a new list of pointers. We copy the old environment list to this new area and store a pointer to the ...
-1
votes
0answers
34 views

Declaration of variables in Makefile [closed]

Meaning of XYZ = ANIMATION in Makefile is understood. But how can we define this in a Makefile install : ${xyz_files} xyz_files = $(files :%=$(pqrdir)$(abcdir)/%) $(pqrdir)$(abcdir) /% : prm/% ...
0
votes
5answers
78 views

What stuff can be safely removed for disk space sake?

I am using Scientific Linux. So is there any stuff that can be safely removed from disk except /tmp?
3
votes
2answers
93 views

Linux distro for a developer

I am mainly using Linux for programming. I basically started with Archlinux and Manjaro and I kinda like it. What I really like is the package management. It has a huge collection of new software and ...
1
vote
1answer
27 views

How to set up a blacklist for insmod?

I want to block a certain driver module from loading in the linux kernel. So I created a file in /etc/modprobe.d/cdc_acm.conf. In this file I added the following line: install cdc_acm /bin/false ...
0
votes
1answer
65 views

Use of .. in Linux scripting and makefiles [closed]

what is the use of .. in linux scripting and in the following makefile? MODULE = EQUALIZER = .. SRCS = include ${EQUALIZER}/xyz.mak include ${EQUALIZER}/pqr.mak
2
votes
0answers
56 views

sed couldn't flush stdout no space left on device?

What could be the reason for this error : sed couldn't flush stdout no space left on device This is come of the stuff that i am doing at last in my code sed -n '/.*needs to be executed ...
1
vote
1answer
36 views

How to write a script to read wifi SSID and password from USB drive at boot up and auto logon to wifi network

I have an embedded system that is running Debian. I want to be able to provide wifi network SSID and password information via a USB thumb drive. That way I can easily deploy it to any wifi network. ...
2
votes
2answers
61 views

Equivalent of “passwd -sa” in RHEL?

I feel a little silly having to ask this, but: In Solaris you can issue a passwd -sa command which gives you (more or less) the same output as passwd -S userName does, except it prints out the status ...
1
vote
2answers
51 views

Where is iptables script stored on DD-WRT filesystem?

I have an ASUS RT-N16 router that I've flashed with the open-source DD-WRT firmware. According to my ssh login, I'm running: DD-WRT v24-sp2 mega (c) 2010 NewMedia-NET GmbH Release: 08/07/10 (SVN ...
0
votes
0answers
23 views

How to create customized xsession in RHEL 6?

I want to create a customized xsession so that it should run at a time only one application without any desktop in RHEL 6
1
vote
0answers
19 views

SPSS temp directory space issue

I am trying to import a table data into SPSS Statistics Server, but due to space constraints in the temp directory location I am not able to facilitate the data import. I need to either increase the ...
1
vote
1answer
54 views

Routing 4 Networks

I've been trying for almost a week to make it work but without success. I'm starting to feel hopeless. I have 4 Ethernet adapters : 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state ...
1
vote
0answers
16 views

Get process's timeslice in user mode [migrated]

How can I get the value of process's timeslice in user mode? I designed a new scheduling policy, and I want to check if processes with the same policy (my policy) have the same timeslice to run. It is ...
1
vote
4answers
73 views

How can I find the hardware model in Linux?

I used a system information utility to take the model number of a system, and also of the motherboard. DMI System Manufacturer LENOVO DMI System Product 2306CTO DMI System Version ...
3
votes
1answer
59 views

How can I delete a hardlink to a directory?

Before I get 100s of answers that tell me it is impossible to hardlink directories in linux: yes, I know that. The file in question appeared in lost+fount after I checked the filesystem with e2fsck ...
0
votes
1answer
42 views

NFS server on qemu guest

I need to know how I can mount block devices, placed on a qemu guest system, from host. So in this case we have NFS server placed on guest system and NFS client on the host's side. There are a lot ...
4
votes
0answers
46 views

btrfs and the discard mount option on an ssd

I can't seem to find an answer to this so I thought I would ask here: In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...

1 2 3 4 5 87