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

2
votes
1answer
49 views

How can I share my internet connection (wireless) with an ethernet only computer?

I have a raspberry pi B+ set up in a server configuration and it connects to internet succesfully over Wifi with a USB dongle. My other pi (an A+) has always been located downstairs in the garage, ...
0
votes
3answers
91 views

A fast and lightweight distro with GUI (for web development) [closed]

I know this is probably very controversial but I spent 2 weeks googling, downloading, installing and erasing various distros and still have no clear answer. My machine An old Asus EeeBox PC EB1012P ...
0
votes
0answers
12 views

Trying to use KDBG, but it produces error 11

I am trying to start kdbg on Ubuntu, but it produces this error message: MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; ...
0
votes
1answer
24 views

Collective service to build packages for Linux

Is there a service that guides how to wrap your software for all flavors of Linux, and provides a build farm that cross-compiles them?
1
vote
1answer
36 views

Physical and logical extents size

I have created a partition with 36TB (/dev/sdb1) in rhel 6.6 Now I want use this for lvm What is recommended size for Physical Extents, Volume Extents and Logical Extents How important PE, VE and LE ...
0
votes
0answers
12 views

How to make controller driver work with new system

I have an old SuperMicro server: X7DB3 From the link I can find the AIC-9400 driver for old version of CentOS/RedHat and SuSe driver. It works with CentOS5.4. But when I install newer version it ...
0
votes
3answers
67 views

Is there something like “common Linux commands”? [duplicate]

I come from the windows world trying to switch to Linux. Sorry for the naïve question but is there something like "common Linux commands"? For example in Windows, the command line is pretty limited, ...
2
votes
2answers
60 views

Linux-KVM, QEMU, Virtualbox, VMWare [closed]

I'm new to Linux. I'm trying to build Chromium OS and run it on QEMU. Meanwhile I came across Linux KVM, Virtualbox and VMWare. So I have basically two questions about virtualization in Linux: What ...
0
votes
1answer
21 views

UMASK not having effect on some file creations

I have umask set to 002 in my Linux server and its working fine while I create file using touch. But I still have some files that are created with permission contrary to umask. These problematic files ...
25
votes
9answers
2k views

Uninstalling programs on Linux

I've been using Windows and Mac OS for the past 5 years and now I'm considering to use Linux on a daily basis. I've installed Ubuntu on a virtual machine and trying to understand how I can use Linux ...
1
vote
0answers
7 views

Skip syslog/rsyslog logging of certain cron jobs

In most GNU/Linux distributions the default is to log start (and many different events) of every cron job to syslog. It's rather convenient, but not for a very frequent jobs, which started, say, every ...
0
votes
0answers
23 views

Install linux os on HP iPAQ Pocket PC h4350

A friend gave me a working HP iPAQ Pocket PC h4350. It works fine (it's really nice device) but has a (UGH!) Microsoft os and only syncs with MS pc. I'm running ubuntu mate. I have found that you can ...
1
vote
1answer
21 views

Linux IPTables - Ignore Range of IPAddresses

I am currently modifying some of my IPtables rules on a public server and have run into a bit of a dilemma. The goal is to do the following: Rate limit the amount of SSH connections that can be made ...
0
votes
1answer
56 views

Cannot install gcc on CentOs 6.6

I cannot install gcc on centOs because it cannot find some files, this is the last part of the console when I execute the "yum install gcc*": --> Processing Dependency: binutils-hppa64-linux-gnu ...
1
vote
0answers
56 views

How to set Ruby GEM_HOME and GEM_PATH

I'm a NOVICE user of Linux and using Linux mint 17.1 I've reinstalled Linux mint 20 time in last 3 days for that issue but could not fix it I'm trying to install ruby on rails using rvm what ...
1
vote
0answers
12 views

equivalent of iptables rule in ip6tables

I m newbie in the iptables. I have the following iptables rules in the source code of a project iptables -t mangle -I PREROUTING ! -i br0 -p TCP --dport 45 -j MARK --set-mark 0x1000 iptables -t nat ...
0
votes
1answer
16 views

Linux - grub prompt appears on booting the system

I was trying to install HELiOS in a system during which system was shut down forcefully, Now when i try to boot all i get is, grub> As some sites suggest recovery using set command. I am not ...
0
votes
1answer
22 views

Purpose of each disk access and why it may not occur

I'm going over past papers for an exam I have and my university do not provide answers so that I can check them, please could you let me know if my understanding is correct and if not please could you ...
2
votes
0answers
23 views

How to read the output of the show-memory-usage SysRq?

I couldn’t find any (recent) documentation on reading the output of the show-memory-usage SysRq (Alt+SysRq+m). So what can one learn from looking at it? Here is an example output form my box (Kernel ...
1
vote
0answers
26 views

How to understand the security context in “ls -Z”?

After referring "man ls", it shows "ls -Z" can display the security context: -Z, --context Display security context so it fits on most displays. Displays only mode, user, group, security ...
0
votes
1answer
38 views

sorting ps output by CPU time on linux

I want to sort ps output by process CPU time ("TIME" column). I've tried: ps -aux --sort cputime | tail but it doesn't sort by cpu time. I'm running with: ps --version procps version 3.2.7 ...
0
votes
1answer
13 views

makeing a script to change Java SDK

I actually have the script running, but I think it's not very efficient and the only way to get it to take is to run it as "source change-java.sh" Is there a way to get it to not have to output to a ...
0
votes
2answers
22 views

How to find out Bluez version from command line?

I am using some custom Linux distribution without any UI. I would like to find out the Bluez version through the command-line. How can this be done?
0
votes
1answer
34 views

VM Machine rebooted, cant find how?

One of my VM machine was rebooted yesterday, but cant find how & who did it. In the log I can only find "receiving single 15, terminated" please help how to do further troubleshooting.
2
votes
1answer
26 views

Data Recovery from a 4-Disk NAS RAID 10

I know there are similar questions to this but none specific to RAID 10 extracted from a NAS, so any help is greatly appreciated. So, basically the NAS is kaput but the drives are ok. Following the ...
0
votes
0answers
37 views

Cannot install grub-pc

When trying to install grub-pc I get the following messages: Setting up grub-pc (2.02~beta2-22) ... Generating core.img grub-probe: error: failed to get canonical path of `unionfs'. Installing for ...
1
vote
0answers
31 views

Two-finger scrolling on Linux Mint

I recently installed Mint 17 Cinnamon on my laptop and am not able to get the Two-finger scrolling to work. I have changed the Panel Layout to Two-finger scrolling in system settings but that doesn't ...
4
votes
0answers
84 views

Unexplained files found in home folder

For background information, I'm running openSUSE 13.2 and KDE 5. Today I found a number of unexplained files and folders in my home folder which state they've been edited 3 days ago. I do not ...
1
vote
0answers
26 views

Is it secure to mount with defaults my /chroot partition?

I run debian with GRSECURITY patched kernel. Apache is chrooted with mod_chroot under /chroot For now I have mounted /chroot partition with defaults,nodev. However, Apache need to access ...
1
vote
0answers
10 views

Is the perfmon2 tool obsolete due to the same functionality being included in the current Linux kernel?

I was having some issues with the PAPI tool and multiplex and this answer by the PAPI creator led me to check out perfmon2: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/2008-April/000900.html ...
0
votes
0answers
44 views

LINUX processes are forking up to thousand of processes again, even after kill command

On one of our boxes, I'm encountering strange problem from time to time.. in.tftpd processes are forking up to thousand of processes, getting server to almost unresponsive state. I've tried various ...
0
votes
0answers
15 views

Backup using rsnapshot not working

I have a server web based Linux and i want to make backup every hour using rsnapshot. this is my rsnapshot file configuration : config_version 1.2 snapshot_root /var/Majjane-Save/ cmd_cp ...
0
votes
2answers
26 views

Where can I find the speciation that a terminal emulator must meet?

I'm interested in writing a terminal emulator for fun. I roughly understand the division of labor between the shell and the terminal emulator from this post: What is the exact difference between a ...
0
votes
0answers
43 views

How to detect the user has logged in a domain or local host in the linux shell script?

In the default, the linux doesn't support the domain. But the user can join a domain by applictions, such as: Likewise, Winbind, and so on. For my project, my customers are all enterprise members. For ...
1
vote
1answer
34 views

How to send AT commands to modem once the connection is established?

I have a zte 3g modem. I use carrier provided dialer for connection establishment. Once the ppp connection is active, i would like to send some AT commands(for ex. Query signal strength, AT+CSQ). But ...
-1
votes
0answers
51 views

Centos 7.0 update command not working

I have just installed CentOS 7 on my PC. After install completed I tried to update CentOS using the yum update command: Downloading packages: No Presto metadata available for base warning: ...
0
votes
0answers
32 views

Redirect with axel in linux

I am trying to download a file from googlevideo. This download link may expire in a few minutes but I will post everything I have. When I use axel with the following command, I get $ axel -n 10 ...
3
votes
1answer
27 views

Error codes for watchdog daemon

Here's a line from a linux syslog: watchdog[2423]: shutting down the system because of error 101 However, after searching online and in man watchdog, I cannot find any discussion or explanation of ...
1
vote
1answer
16 views

Resend (bounce) a message with attachment in mailx (or any other tools)

I've got a mail folder which contains a unique e-mail containing several attachment. I'd like to script the resending of the email as verbatim as possible. If I write cat tosend | mailx ...
0
votes
1answer
17 views

Synaptics touchpad loses its settings intermittently

From time to time, the Synaptics touchpad on my Samsung N145 Plus will lose "advanced features", like scroll area on the right side. I used to have a script to take care of this, IIRC by doing sudo ...
0
votes
0answers
13 views

fontconfig availability on major linux systems

I need to install a font on my qt-based app, the function to do so says: Adding application fonts on Unix/X11 platforms without fontconfig is currently not supported. Since I'm a linux newbie ...
0
votes
0answers
37 views

How to manage any command access privileges on debian linux

I am using Debian 7, and my desktop is xfce. I want to achieve managing any command on Linux. For example, executing /usr/bin/xfce4-taskmanager command would not require sudo privileges so any user ...
2
votes
1answer
32 views

How do I create executables that can work on old systems on modern distros?

Typically even old programs (copied from systems with Linux kernel version 2.4) just run file on modern Linux systems, unless they depend on a lot of libraries or use frameworks. New programs, (often ...
1
vote
0answers
22 views

Allowing sudo kill for remote user for recovery purpose. Security implications?

I'm planning to create user allowed to SSH in and with right to sudo kill in case something disables local terminal/keyboard/display etc. Would probably add ps and/or htop to the list, as well. I ...
0
votes
0answers
41 views

Gedit start problem in kali linux

I try to open gedit after install third party plugins but it won't open. When i try it by terminal it shows root@localhost:~# gedit Segmentation fault I think gedit is running background but it ...
-1
votes
0answers
21 views

Search for a file on a domain in the command line

I'm running a Direwolf20 minecraft server, which doesn't auto-update and I want to write a script to do so, but I won't know the new server version at the time of the update. Is there any way I can ...
6
votes
3answers
517 views

How does Unix implement file permissions?

I have a text file named foo.txt with root permission in one Linux distribution. I copied it to another Linux distribution on another computer. Would file permissions be still maintained for ...
2
votes
3answers
61 views

When to use reboot(2) vs reboot(8)

I'm writing a custom reboot program in C and trying to decide if I should use reboot(2) directly or call system("/sbin/reboot"). Both reboot(8) and init 6 change the runlevel and gracefully shut down ...
0
votes
0answers
22 views

How would you find just the files created by a specified user? [duplicate]

I'm trying to create a script that prompts a user within the terminal to enter a username. If the username exists then the script will display all the files created by the user, else display a error. ...
31
votes
4answers
1k views

Does bash open files in O_APPEND when using “>>” on linux?

If we use echo 1234 >> some-file then Documentation says that the output is appended. My guess is that, if some-file does not exist, then O_CREAT will make a new file. If > was used, then ...