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

3
votes
1answer
36 views

Why can't my servers talk to each other over direct ethernet connection?

I have two servers running RHEL 7.2. Each have 2 NICs. One NIC talks to a switch, and other is a direct connection between the two servers. One of the servers will be an NFS server, and the second ...
0
votes
1answer
22 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
1
vote
2answers
35 views

Replace part of filename by directory name

I have folders named ACB* and in it among many other files, a couple of files called scanAC_* I want to delete the part called scanAC and replace it with the directory name it is in. For example, ...
0
votes
2answers
32 views

command not found error after giving permission to access file using chmod

I've been trying to run a script using chmod. Here's how I tried to execute the script: $ chmod u+x tester $ ./tester ./tester: Command not found. I always get the Command not found error and I'm ...
3
votes
0answers
37 views

Can using chcon to essentially bypass selinux be less secure than setting selinux to permissive?

I was wondering if it is possible to make a CentOS 7 server less secure by using chcon than it would be if SELinux were in Permissive mode. I am essentially trying to set up Phusion Passenger with ...
0
votes
0answers
23 views

Function call inside make file ( Linux)

Inside a makefile, I saw the entries below: main entry pkt_srv() { } pkt_ent() { } pku_lib() { } So, is this calling another make file. i.e pkt_srv.mak and pkt_ent.mak and what is the ...
3
votes
3answers
77 views

how to monitor a unix directory and if any new file in directory it will be copied to another directory

I want to monitor a unix(Solaris 10) directory and if there is any new file i want to copy immediately. Tried: I have shown inotifywait and incron package in linux for it but i don't know whether it ...
3
votes
2answers
64 views

Is it OK to install 32 bit linux on virtual pc on 64bit windows system?

I am trying to download ubuntu 32 bit to run in virtualbox. is it ok to run 32 bit os on virtual box in my windows 64bit pc? or do i need to download only 64 bit os to run in virtual box of my 64bit ...
1
vote
0answers
11 views

FORTRAN executables: heap maxed out

I am trying to run a FORTRAN program on stampede (xsede machine). The error message I am getting is 'heap maxed out'. I think it has something to do with virtual memory allocation. So I use the ...
0
votes
2answers
38 views

Linux beginner. What OS should I use? [closed]

I recently started JAVA programming and I would like to start learning Linux programming simultaneously. I run a mac and I am planning to use Oracle VM VirtualBox to boot linux. What kind of Linux OS ...
0
votes
1answer
24 views

Downsides of processes with high virtual size but low RAM and GPU memory use

I have noticed that some of my processes take a lot of virtual size in my computer. I understand that the virtual size of a process is the sum of memory it is actually using, memory it has mapped into ...
0
votes
0answers
31 views

Arch install grub cfg file LVM errors

i have been doing an arch installation on top of windows 8 using USB live iso. I partitioned my HDD as follows: SDA1->350mb(windows related) SDA2->781gb(windows related) SDA3--extended ...
0
votes
1answer
29 views

How can I rename a syslog file

How can I rename a syslog file, for example from test.log to test2.log, running on Linux server?
0
votes
3answers
82 views

Need some help on grep command on shell script

I have a log file and I am trying to write a shell script to find multiple strings in a file on multiple lines. For example if I see the phrases ...
0
votes
1answer
25 views

Can I run 1 install on different PCs?

As the title says can I run 1 install of CentOS on different PCs with different specs from a USB install? Thanks
1
vote
0answers
39 views

Linux: Why do init and systemd use so much I/O?

This is probably unanswerable. But maybe someone else will have this problem and find this question, append to it, or proffer an answer. I discovered the pidstat command with its -d option, today. ...
1
vote
1answer
36 views

How to check the erase block size of a Usb flash under Linux?

How to check the erase block size of a USB flash under Linux? Someone said /proc/mtd might be helpful, while for my Centos7 server, there isn't such file. Thanks in advance. Updated on Jan 28 2016: ...
0
votes
0answers
17 views

Why select do not tell me that a client wants to connect? [migrated]

I've made a simple tcp server that I can test with telnet program. When running it on windows, it works as expected, when running it on linux, the behavior is strange: telnet clients understand ...
1
vote
1answer
46 views

How do I find files older than 1 days using mtime? [duplicate]

I'm trying to remove all files more than 1 days old.Before I execute a script to remove the files,I try to find the files using mtime. however, I face same problem with my command- My Current date is ...
0
votes
1answer
37 views

How to fix Linux from doing fake Restarts?

Just as my question title states, how can I stop Linux from doing a fake Restart Computer when I go to select Restart from the Quit menu. What I mean by a fake restart is that, it goes to do a ...
4
votes
2answers
27 views

Change user maildir to custom location upon creation of the user

I use Ubuntu 14.04.3 LTS . How to change the location of the Mailbox /home/user/Maildir/ to /Location/Mail/? I dont have to create home directory for that user. I did some changes in the ...
1
vote
0answers
13 views

How will glusterFS performance degrade (if at all) with > 2 nodes

I have two API service nodes one Amazon Web Services. These nodes are mostly for servicing API calls. They also serve some image content. There's a load balancer in the front so that URL ...
0
votes
1answer
18 views

What service executes that sets up the real time clock

I'm looking for the service that runs that sets up the correct time on my system. Does anyone know what service does this?
0
votes
2answers
37 views

Systemd wait for network interface to be up before running service

I have a couple questions about systemd. I'm having issues consistently getting my script to run once the network interface is up. I have tried Requires and After as seen below but is inconsistent ...
0
votes
1answer
16 views

Can't Launch Freemind in Ubuntu 15.10 - Please Advise

For a long while I've had difficulty launching the program Freemind in Ubuntu 15.10: sudo apt-get install freemind Please take a look at the bug I submitted: ...
0
votes
1answer
17 views

HPUX throwing an RST 30 seconds after a sucessful NFS mount

We have an application written in Dot NET that basically allows Linux and Unix files to access symbolic links stored in the NFS "share". Customer was having issues with the NFS share becoming ...
0
votes
1answer
35 views

Can't boot Linux from usb on Thinkpad W540

i've Ubuntu, Fedora, Kali mounted on 3 USB sticks and can't boot from any of them. i've disabled (fast-boot) option in windows and also made the following changes to BIOS : *secure boot: disabled ...
1
vote
2answers
38 views

How to run a program in a screen, redirect all output to a file and detach

Running a command in a screen and detaching is quite simple. screen -S test -d -m echo "output of command that runs forever" However I would also like to pipe all the output to a file for logging, ...
0
votes
0answers
14 views

Same Wifi network and two devices connected: one works, the other only sporadically

I would be happy to receive a hint about the nature of my problem: When I connect my Laptop running Kubuntu Linux (4.2.0-19-generic #23~14.04.1-Ubuntu SMP) to a certain Wifi network, I get ping times ...
11
votes
3answers
1k views

Is the entire kernel loaded into memory on boot?

I read through this popular IBM doc (I see it referred quite often on the web) explaining the function of the initial RAM disk. I hit a wall in conceptualizing how this works though. In the doc it ...
0
votes
1answer
18 views

Mycroft AI can it be ported for ARM processors

Mycroft AI can it be ported for ARM processors from its openhardware platform for which it is designed?
0
votes
0answers
7 views

lx92 server is not connecting from individual session but its connecting from Jump servre

Please help on this I have an issue in my environment my server Lx52 is connecting from Jump server IX4 but its not connecting from separate putty session Note :we are using Xen desktop through ...
0
votes
1answer
24 views

CentOS 6.7: 'No address associated with name' as 'hostname --fqdn' output

please, before read this question, I would pray you to consider that I'm a Linux newbie and that I really need a help. I apologize in advance if the question will be trivial or stupid, I will search ...
4
votes
4answers
262 views

files greater than a average size of directory?

how could I find all the files and directories with size larger than or equal to the average file size of the current directory?
0
votes
1answer
10 views

get target file size by symlink on cifs share

in shared directory f:/dir on Win2008 absolute symlink created with mklink f:/dir/symlink2file f:/dir/file This share then mounted in Debian with mount -t cifs -o ...
0
votes
0answers
23 views

Dereferencing string pointer in ftrace event filter

I'm currently trying to create an ftrace event filter for the event sys_enter_open which is filtering by the filename argument. Looking at the format definition of it I can see there's a filename ...
2
votes
0answers
27 views

Kdump.service FAILED centOS 7

I am getting this error on my centos 7 x86_64 after "yum update". After rebooting the host it went into emergency mode. after entering this: systemctl status kdump.service I get this: ...
1
vote
1answer
21 views

dsniff & httpsniffing

This is a very noob question. I run the command dsniff -i eth0, and if I open a new terminal window and try my FTP-server, connect, and quit. dsniff returns the username and password. If I try the ...
2
votes
1answer
33 views

How is a function resolved at runtime?

How does a function resolve in Linux at runtime? Is it purely based on the name and and some "symbol table" as I've imagined, or is it a hardcoded address of some sort? I read online that you have to ...
1
vote
0answers
17 views

ASLR implementation details in Linux Kernel

I was able to easily locate code that ranzomizes "stack --> randomize_stack_top()" and "heap (brk) --> arch_randomize_brk()" in Linux kernel. However, I do not see the code which randomizes the ...
0
votes
0answers
5 views

Thunderbird SMIME certificate not imported automatically

I created own CA to sign SMIME certs for email encoding. Next I generated several certificates for particular users. Below script for generating such certs: openssl genrsa -des3 -out humble_coder.key ...
0
votes
1answer
39 views

Boot error with uvcvideo in Debian 8

When booting I get the error: uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1). And it slows the booting for about 1 minute. I have looked for a solution for a while but ...
1
vote
0answers
14 views

Change keyboard layout when using a keyboard or other

Well, i was deep reading into setxkvmap options and changing layouts posts, but i don't find what i need. The problems is the following: I have a laptop running Fedora 23 Cinnamon Spin, the laptop ...
3
votes
0answers
12 views

x2go printer sharing trouble

I have a got x2go server installed on Debian 8 by official manual: On server-side: sudo aptitude install x2goserver x2goserver-printing cups cups-x2go I login on server as user with x2goclient. I ...
3
votes
2answers
194 views

How to write contents of a file to new file removing repeated lines [duplicate]

For example, a file file1.txt contains Hi how are you hello today is monday hello I am fine Hi how are you After the processing of file1.txt it should write to file2.txt and contents ...
0
votes
3answers
36 views

From where the log file updated

How to find, from where/which program using the log file and updating the entries/filling the log file in Linux.
-3
votes
1answer
56 views

Why is linux so popular? [closed]

I am new to Linux and i want to know Why is the GNU/Linux a popular operating system? Why are there so many forks of it? Why is it used by most of the world's pro and some ordinary users? Why is ...
0
votes
1answer
48 views

No input for monitors after GRUB - not solved by conventional methods (e.g. nomodeset, xforcevesa)

This is a problem that has persisted in more or less the same state across two different distributions (Debian and Mint), whether as a live boot or after installed to disk. Essentially, GRUB comes up ...
0
votes
0answers
48 views

No audio on Kali Linux

I know that specifics are what get answers, but unfortunately here's where I'm at. I don't fully understand how the linux system works and operates. I do enjoy it because I feel like there are so many ...
0
votes
1answer
11 views

linefeed in bash script - to email

I am doing printf to a logfile and having that logfile send through mailx, however, it seems that the linefeed "\n" are not recognised or captured in the mail. Snippet of script as below (notice the ...