Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
1answer
33 views

How do I find directories where none of the files inside have been accessed in a year?

I have a tools directory /tools/tool_name that has hundreds of releases of the tool inside. I am trying to find an easy way of knowing what releases can be archived. Is there an easy way of finding ...
0
votes
1answer
12 views

SLES official repository connection (activation code available for SLES 12, not SLES 11 SP3) solution: use SLES SP4

How could I connected to official repository from my SLES 11 SP3? I need to update my kernel etc. Here my previos active-search post =) How to get 60 day SLES activation code
1
vote
1answer
26 views

Restricting CPU time of processes by executable path

Is there a way to restrict CPU time (duration) for all processes which are invoked by executables that are located in a certain directory? I would like to be able to auto-kill all applications which ...
-4
votes
0answers
48 views

Problems installing telnet on RHEL 5.8

telnet is not installed on my Linux server. I tried to install it with yum, but got an error: $ yum install telnet telnet-server -y /usr/bin/python: error while loading shared libraries: ...
1
vote
0answers
25 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the ...
1
vote
1answer
28 views

Really need to understand CENTOS fdisk -l output

I am running centos on a server and the HDD config for my server is 2 1 tb drives with 32 gb RAM. Now when I use fdisk -l command, i see the below output which is really not understandable. Could ...
1
vote
1answer
20 views

Can I trust in memory information of dmicode?

I want to buy 16gb memory for my notebook. I ran dmicode and found this information: Handle 0x0005, DMI type 5, 20 bytes Memory Controller Information Error Detecting Method: None ...
1
vote
3answers
35 views

What does it mean to run a process in background? [duplicate]

What exactly does it mean to run a process in the background? The difference between $program and $program&: Is it just that the input file descriptor is not inherited from the shell or is there ...
0
votes
1answer
14 views

Where is RAX-ARGOFFSET defined?

In Linux 3.16, in asm/x86/kernel/entry_64.S, the following line references RAX-ARGOFFSET (also see [src]): 424 movq %rax,RAX-ARGOFFSET(%rsp) But I can not find where RAX-ARGOFFSET is ...
0
votes
0answers
8 views

How can i install window 8, kali linux and fedora on the same machine? [closed]

I have installed windows 8 and kali linux. How can i install fedora as a third operating sytem on my machine. Help needed...
-1
votes
1answer
35 views

Best distribution of Linux [closed]

I am somewhat familiar with Ubuntu Linux only. Presently using Ubuntu 14.04 LTS 32 bit. I am interested in knowing that which distribution of Linux is useful for a normal user like me. Since I am very ...
0
votes
2answers
33 views

Installing mailx on ubuntu 14.04.2

So I've installed mailx but I'm unable to get it to send an e-mail. I do the following: mailx -s "Test" To: myemail@email.com Cc: "This is a test." CTRL-D (does not work) CTRL-D does nothing. It's ...
0
votes
0answers
11 views

No internet connection [Linux-libre]

I tried to install Parabola what worked after that I rebooted and booted from my hard drive and wanted to update with "pacman -Syu" all were unknown hosts I also tried to ping other sites. As I found ...
1
vote
1answer
27 views

Using the SSD area of a H-HDD drive with LVM/bcache

I heard that LVM/bcache can be used in Linux to store the most accessed files if there is a separate SSD drive. With a hybrid drive (SSHD/H-HDD), can the flash area be manually used by LVM/bcache as ...
4
votes
1answer
30 views

Turn off network on Raspbian

I'm trying to set up cron to turn off networking on my Raspberry Pi during the night (from 23:00 to 8:00). The problem is that none of this commands do the job: $ sudo service networking stop $ sudo ...
0
votes
0answers
17 views

VSFTP user login & activity monitoring

We have a linux box that is configured with vsftp for our ftp sessions. Unfortunately, for the last few days, we've found that files served by vsftpd have been lost (deleted). I would like to know: ...
1
vote
0answers
71 views

Linux desktop keep randomnly freezing after recent updates

I'm experiencing random desktop freezes (I have to hard shut down the system) after recent updates on my Archlinux box. Today it happened a few minutes after startup. The only programs running were: ...
-2
votes
1answer
35 views

Errors trying to execute a Metasploit script

I'm trying to run this exploit in Metasploit on Kali Linux. I have the file in the exploit folder, I just need to execute the script, but I'm getting some errors. This is the description from the ...
0
votes
0answers
20 views

Linux WiFi CRDA SysFs Entries for Regulatory Domain

I'm using CRDA to set the WiFi regulatory domain on Linux with TI's wl18xx module to country code US. When I boot up I see the following messages confirming that I am loading the "cfg80211" module ...
1
vote
2answers
25 views

apt-get upgrade stalls

I had an issue with list.sources file. Now that's resolved and I'm wondering how can I make sure that it's safe to apt-get upgrade and dist-upgrade the system? s2:/var# aptitude upgrade Resolving ...
0
votes
0answers
27 views

How to set mail subject using variable and ensure attachment is not included in email body

I have the following shell script fragment. var_name='ZZPCI' for emailadd in `cat /tmp/email_list.tmp` do subject_text="Subject with Var Name "$var_name subj_text_novar="Subject without Var ...
0
votes
1answer
40 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
2
votes
1answer
36 views

Time is not synchronized in Linux VM

I am using one Linux VM through VNC viewer from my Windows machine. What I am seeing is that time between two is not synchronized, it seems that VM is somewhat 5 minutes delayed from Windows(windows ...
1
vote
1answer
63 views

setserial /dev/ttyS* UART is undefined

I'm working on the nvidia jetson tk1 board which has a rs232 serial port and I'm trying to do a loopback test by shorting the pin 2 and pin 3. I'm using the serial port communicator terminal gtkterm ...
0
votes
0answers
32 views

VM Periodic Task Thread, VM Thread and WebSphere MQ Trace Monitor consume 100+% cpu in linux [closed]

My standalone java application uses nio selector for socket connection, ibm mq classes (version 7.0.1.3) to listen queue and topic and ORACLE_JDBC_DRIVER for db.Three different thread running for ...
0
votes
1answer
52 views

Httpd service suddenly stop

When I try to access my site suddenly I cannot access it anymore, and I tried to check my error log and found this. [Sun Jul 19 03:10:01.233369 2015] [auth_digest:notice] [pid 2570] AH01757: ...
3
votes
2answers
85 views

SSH Connection Timed Out

Hi I have looked all over the internet but could not find a solution. I am not saying that I didn't find anything, I am saying that I tried so many things and nothing worked. So hopefully someone can ...
1
vote
2answers
52 views

Is there way to force Linux to unswap when there is low CPU usage?

After working more than 1 day on my machine swap becomes about 1GB. Some of my panel plugins go to swap so they become laggy. Moreover system doesn't unswap until I make it to do it swapoff ...
0
votes
0answers
28 views

Linux VM as a firewall

I have 3 vms a->b->c. I want to setup b as a firewall. Traffic is routed from a to c through b and I put a file on c. How do I show that b works as a firewall (first show that you are able to transfer ...
1
vote
2answers
103 views

Execute CURL command only once in script?

To explain a little, I am currently monitoring a folder for any changes and when changes are detected it simply uploads the detected files to my server via rsync. This is working without any issues : ...
2
votes
2answers
81 views

How to call in a kernel level function in user space [closed]

I've developed some helper functions in the kernel. They're called by other functions in the kernel. Currently, they make my custom kernel panic :( For now (i.e. debugging), I made them as a passive ...
0
votes
1answer
38 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
0
votes
2answers
91 views

Dynamic change of Linux root password everyday

I want to change my root password everyday based on the date. The password will be like a combination of a string and the date. The below code is working fine. echo -e "pass"$(date ...
0
votes
0answers
22 views

How to redirect roundcube log to stdout

Installed roundcube from source on top of debian. I wanna redirect roundcbe logs to stdout. How to achieve this?
0
votes
1answer
40 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using ...
0
votes
1answer
18 views

How do I read from memory.pressure_level in a cgroup?

I want to see the memory pressure of the cgroup. But simple cat memory.presure_level fails. How do I know the current memory pressure of a cgroup?
2
votes
1answer
56 views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) ...
1
vote
0answers
15 views

GDM flashing and can't login

I recently switched to ubuntu gnome from windows and am very inexperienced. I was using ubuntu fine for awhile and then this morning I had trouble signing in because my login prompt continuously ...
0
votes
1answer
28 views

If dual boot Linux with windows 8 will I still be able to upgrade to windows 10

So I am planning to dual boot Linux will Windows 8 and am wondering if I will still be able to get the Windows 10 upgrade. According to this article it sounds like I might not be able to: Microsoft's ...
0
votes
0answers
30 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
0
votes
1answer
64 views

Routing tables with two network interfaces

When I try to access the internet with my raspberry pi via ethernet, it works, but when I do ifdown eth0 and try to ping any server outside my home network, it tells me connect: Network is ...
0
votes
2answers
30 views

GRUB, device not found, root delay problem

My Kali suddenly froze, when I reset my computer, I started getting GRUB's device not found error. After disconnecting and reconnecting my HDDs many times, I finally got it to a state where GRUB's ...
1
vote
1answer
60 views

What is the purpose of ext2 dynamic node size?

I've looked in some documentation of ext2 and according to them (see sources) at rev 1.0 it is possible to set the size of the inodes but it doesn't clarify what is the purpose of the extra bytes ...
0
votes
1answer
45 views

Forward traffic from first to second server

I have 2 Servers, 1 normal Server without ddos protection and 1 ddos protected v-Server, i try to forward traffic through the v server to the main server. So if someone access to my v-server like tcp ...
3
votes
1answer
64 views

What does “kernel:NMI watchdog: BUG: soft lockup” followed by other errors mean?

I have my terminal always opened (Fedora 22), because all my work I do from there. Sometimes I search some info in browser or just have fun. After 20-30 minutes of browsing (browser starts not from ...
0
votes
0answers
17 views

Formating VGA info to conky

I'm trying get conky working on my system, and I'm stuck on how to format an specific shell variable to display my VGA. From shell I get my VGA using: lspci | grep VGA The output: 01:00.0 VGA ...
3
votes
0answers
28 views

Setting mouse acceleration using xset and xinput

I am having trouble sorting out how the different commands for setting mouse acceleration relate to each other. I will post the different settings that I have set by gathering information from ...
2
votes
1answer
56 views

Is there any advantage to using the -j2 argument when building Linux systems in VirtualBox?

I'm using BuildRoot to build root filesystem images, from within VirtualBox. The builds are very slow. Is there any advantage to running "make -j2" in the virtual machine? The /proc/cpuinfo from ...
1
vote
1answer
29 views

NMI received for unknown reason 20 — Do you have a strange power saving mode enabled?

I am using Debian GNU/Linux 7.8 (wheezy). While running my MATLAB program today, I got this message in terminal. Message from syslogd@sas21 at Jul 18 16:40:49 ... kernel:[1747708.091929] Uhhuh. NMI ...
1
vote
0answers
35 views

Automatic solution to reduce Linux kernel package size at compile time

Are there automatic solutions to disable unused Linux kernel parts (in particular unused modules) before compilation to fasten compilation? A daemon, that logs used kernel functions (or modules) at ...