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

learn more… | top users | synonyms

0
votes
1answer
19 views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other entries regarding /dev/sr0 ...
3
votes
2answers
27 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
19 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 ...
2
votes
1answer
28 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 ...
-1
votes
0answers
33 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
30 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
24 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
34 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
30 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 * ...
0
votes
1answer
74 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
50 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
91 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
77 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
87 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
53 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
28 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
59 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
47 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
18 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
71 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
40 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
vote
1answer
29 views

How to realign a disk on logical volume with minimum to zero down time

A system running un-align disk partition that needs to be aligned without loss of data on all the partition including mbr with the minimum to no down time.
1
vote
1answer
31 views

Can AMD and NVIDIA display cards work together on linux?

I know that two AMD graphics cards/two NVIDIA graphics cards can work together ,e.g. in xinerama/crossfire/multi-view. But if I have one AMD graphics card and one NVIDIA graphics card, can I use them ...
17
votes
4answers
659 views

What doesn't need defragmentation? Linux or the ext2 ext3 FS?

Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system or because it's Linux? That's relevant, because a have a double boot system (W7 / Ubuntu) and a common ...
2
votes
2answers
41 views

Install third party software on Linux from source

What are good practices for making Linux installations? Suppose I wanted to install some so-very-useful library of my own design and documentation/reference for it on a Linux system. Which part ...
2
votes
1answer
30 views

Benchmarking Apache using ab

I was doing some performance testing for Apache using ab. Apache in our case is only working as a load balancer balancing load between two Liferay servers. Initially, I did the testing for 1000 ...
0
votes
2answers
64 views

How to create as many variables as needed from shell script(bash)?

I'm making a script for monitoring some user processes with Upstart but, since its for the company I work for, they asked me to do it generic...how's so? Well, the number of processes being monitored ...
0
votes
0answers
26 views

what does the linux standard base specify about the kernel?

I was taking a look at the linux standard base (lsb) and could not find much interesting info on the kernel. Does the lsb specify anything at all about the kernel or kernel interface? Is it kernel ...
0
votes
1answer
63 views

What is the meaning of “\_” in output of 'ps ef'?

When I executed ps ef command in a linux server, I saw that one of the command starts with \_. For example, \_ /bin/sh /usr/ Could any one please let me know what is the meaning of \_ in this ...
5
votes
1answer
58 views

How to get proccesses currently running semaphores by /proc?

I wonder how to get processes currently running semaphores by /proc ? I guess it's possible by SysVIPC subdirectory.But I don't know how to use this commands. Ubuntu 12.10
1
vote
0answers
25 views

How to install manually from live CD? [closed]

I got a live CD and I tried to install it manually because it doesn't support installing. So I booted from live cd and did: mkfs.ext4 /dev/sda5 mount /dev/sda5 /mnt cd /mnt unsqaushfs ...
5
votes
1answer
40 views

Finding all the hard-links of a file without traversing the file system

I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
4
votes
3answers
58 views

Can I pipe any two processes to each other?

In this page from The Design and Implementation of the 4.4BSD Operating System, it is said that: A major difference between pipes and sockets is that pipes require a common parent process to set ...
2
votes
1answer
29 views

ssh/scp works but rsync just constantly says “no”

Hi I have a windows 2003 server that I need to back up onto a linux client so I install cygwin on the Win2k3. On the Win2k3 I have enabled ssh, scp but (because the Win2k3 server uses an customised ...
3
votes
3answers
55 views

RHEL: Creating stable names for network interfaces

We have a RHEL 5.5 box with 8 interfaces. And the eth interface naming is flip flopping. Sometimes eth0 comes up on physical port 7th, and sometimes on another physical port. We want the naming to ...
2
votes
2answers
39 views

Can I use partitions made by Windows 7 in Linux?

I am planning to leave Windows and get to Linux (yet do not know which one, but it is not the question). I was using Windows 7, I have 2 partitions (C:198 GB, D:488 GB). And I have a lot of documents ...
2
votes
1answer
47 views

how to keep file owner same for newly created files

This question is regarding samba file access. I have created a folder A, and under folder A created two folders B and C. And also created three users A, B and C. User A has access to all three ...
2
votes
1answer
34 views

Adding a user to a group by default

I have a group that all users on the system share. The group name is common and it is to allow for a universal fileshare for everyone on the machine. How would I make it so that all new users are ...
-3
votes
0answers
42 views

pipe() is not working well [closed]

I'm trying to make a program using the pipe communication. This is what I'm trying to do: the user sends positive integers. If the user sends a negative number the communication ends. The parent ...
2
votes
2answers
44 views

Specify the sort order with LC_COLLATE so lowercase is before uppercase

Given the file: $ cat file 1 a C B 2 c 3 A b By default sort will: $ sort file 1 2 3 a A b B c C With LC_COLLATE=C so will sort in uppercase letter before lowercase: $ LC_COLLATE=C sort file 1 ...

1 2 3 4 5 86