These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
1answer
578 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
7k 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
1answer
40 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?
8
votes
2answers
8k 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
0answers
153 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 ...
0
votes
3answers
121 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
1answer
168 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
1answer
31 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 ...
0
votes
1answer
62 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 ...
16
votes
11answers
74k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
0
votes
0answers
350 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
86 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 ...
1
vote
1answer
2k 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 >...
0
votes
1answer
69 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 ...
1
vote
0answers
38 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 -...
2
votes
4answers
263 views

How to set the process won't be terminated when the terminal stops

[Edit] Make it simple. I invoked java xxx... on Machine A using putty to connect from Machine B. However I cannot reach Machine B. How can I connect Machine A from Machine C to set the running ...
0
votes
1answer
689 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 ...
3
votes
0answers
266 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 ...
3
votes
0answers
401 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 ...
1
vote
1answer
627 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
vote
2answers
42 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 &#...
8
votes
3answers
2k views

How do I know the name of a tmux session?

Recently, I started using tmux. I find it nice, but I'm still having issues understanding this application. One of the basic questions I have is: How do I know (from the command line) what is the name ...
1
vote
0answers
36 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 /dev/...
17
votes
6answers
12k views

Correlating /var/log/* timestamps

/var/log/messages, /var/log/syslog, and some other log files use a timestamp which contains an absolute time, like Jan 13 14:13:10. /var/log/Xorg.0.log and /var/log/dmesg, as well as the output of $ ...
1
vote
1answer
70 views

how to know smartd test was successfully completed or not

I am using smartmontools 6 and redhat5.In my smartmontool, smartd dameaon is working fine that means logs at the location of /opt/smarttool/logs changes at every 30 minute. logs file name are: ...
0
votes
0answers
104 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 ...
1
vote
0answers
111 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 /...
2
votes
2answers
2k views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar PID_PATH_NAME=/usr/...
0
votes
0answers
349 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 ...
33
votes
4answers
2k 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 ...
2
votes
1answer
61 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
2answers
1k views

Kali Linux openVPN does not pass the DNS Leak test

I recently installed Kali Linux on VMWare. I was able to successfully install openVPN following these instructions, but it seems that it does not pass the DNS Leak test. Is there anything that can fix ...
2
votes
2answers
1k views

Google Hangouts chrome extension transparency issue in Linux Mint?

I am new to Linux Mint. I just installed the Google Hangouts chrome extension (the one that looks like Facebook's Messenger pop-up heads). Unfortunately, all the circles have a white box around it, as ...
3
votes
1answer
383 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
94 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 some-...
0
votes
0answers
85 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 ...
15
votes
2answers
128k views

Boot windows from grub rescue command prompt

Previously I had installed the Ubuntu 10.04 and Windows 7. Now I logged on to Windows, opened thepartition editor and deleted the volume containing the Ubuntu (Thought it will delete the Ubuntu and ...
7
votes
3answers
714 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 foo.txt?...
0
votes
0answers
159 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
vote
0answers
61 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 ...
21
votes
2answers
69k views

Orphaned connections in CLOSE_WAIT state

I've got a SLES machine that accumulates TCP connections in a CLOSE_WAIT state for what appears to be forever. These descriptors eventually suck up all available memory. At the moment, I've got 3037 ...
2
votes
3answers
145 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 ...
2
votes
2answers
29 views

Utility which gives line from /proc/id/maps by specific address

Is there an utility that gives me specific line from /proc/id/maps when given specific address from this process? For example when given 0x7fb4a84f6008 it returns: 7fb4a84f6000-7fb4a84fd000 r-xp ...
0
votes
0answers
23 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. ...
42
votes
5answers
29k views

Can Linux deal with ultra high resolution displays?

A few months ago, Samsung announced the Ativ Book 9 Plus, a pretty cool ultrabook with a screen resolution of 3200 x 1800 pixels (QHD+). The device ships with Windows 8 until Windows 8.1 is released ...
0
votes
2answers
379 views

dmidecode - what is the “system”?

In dmidecode types 0 BIOS Information 1 System Information 2 Baseboard (or Module) Information What is the second entry? For exmaple, First is for bios, second for Motherboard. What does ...
1
vote
2answers
1k views

How to display open file descriptors with thread id but not using lsof command

How to display open file descriptors with thread id but not using lsof. I know a similar question exists but the answer doesnt include thread details.
-1
votes
1answer
63 views

How to get the screen logs of a oracle VM [closed]

When I start an oracle VM with Linux operating system I want to get the standard output, i.e whatever is coming in the screen. Is there any tool or is there any way to get that so that I can check ...
-1
votes
1answer
122 views

What is Dash(-) actually in unix or linux? [duplicate]

It's been While since i'm using dash(-) in unix command. But have never found out what exactly is this. Have searched at some place it says . It mean stdin/stdout when used in end of command or like ...
-1
votes
1answer
76 views

Vsftp too much time for login [closed]

While I'm trying to connect my new Vsftpd server using ftp client. The user authentication passed quit speedy but next steps lag too much. Please help me to speedup my Vsftpd server.