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

1
vote
1answer
18 views

Moving application to another folder

I installed an application (Matlab) in it's default location /usr/local/MATLAB a symlink to the executable was created by the installer itself in /usr/local/bin I then notice that my root partition is ...
0
votes
0answers
11 views

Connected UPnP clients on LAN network

I want to implement a home LAN network, which shares media and files using UPnP. On my router, which runs openWRT based Linux OS, I've added a miniupnpd to act as a server, and all other clients on ...
0
votes
1answer
65 views

how to execute a command only on the 3rd file of each folders

I have sub folders which contain 3 .txt files. Is it possible to choose only the 3rd file of each sub folder? Actually I want to copy and rename/add"e" at the end of each filename.Only on 3rd file of ...
0
votes
0answers
32 views

How to create a backup of your current state of Linux Operating System?

I want to create a backup of my Linux OS system with all the its present installed softwares and data. So that in case of hard disk failure or if I require to install the Linux OS on another system, I ...
0
votes
1answer
30 views

How to start the upstart process for golang application?

I am using upstart to start my golang application. I have my application folder structure like this, Web-app/ /app main.go I built the application $cd /home/ec2-user/go/...
-1
votes
1answer
42 views

ssh login does't work using key without password

It seems that id_dsa doesn't exist and it tries id_ecdsa, but it's there and I tried to regenerate it several times and still doesn't work. any one has the same issue and solved? or any one know how ...
2
votes
2answers
29 views

compare 1 column in 2 files and print the different line

I have file1 and file2. file1: a james b mike d john file2: a 10 20 30 40 b 11 12 13 14 c 20 30 40 50 d 10 20 30 50 I want the output file to only find the difference in column 1, and print ...
1
vote
1answer
25 views

Application folder owner is root

I'm going full Linux for in my laptop (Fedora 24 at the moment). I'd like to clear some confusion about applications ownership and what entail. I installed Chrome from the rpm on the official site. ...
0
votes
2answers
26 views

how to compress a folder without to leave the original folder and without to remove the original folder

under SQL directory we have only the tmp folder (tmp folder usage 59G) is it possible to compress the folder tmp without to leave the original tmp folder ? , so the compression will work on the ...
1
vote
2answers
18 views

How can I know which specific private key is used for 1 ssh connection?

I cannot find from my linux box in which file the private key is stored. In below testing, my findings is , there is no ~/.ssh.config file, nor ~/.ssh/id_dsa or equivalent. From the testing result, ...
1
vote
0answers
9 views

“Cache status for node is full”Both the system hard drive and storage drive are getting full in one day [closed]

I have 30+ cameras in one NVR and I'm using two 500GB hard disks for the operating system and four 2TB hard disks for storage. It was working for four years with no issues but after we installed 2FA ...
2
votes
2answers
41 views

Properly set execute bit based on file type?

I'm trying to cleanup permissions on an Apache web server. I'm finding lots of files with the execute bit that don't customarily have it (or should not have it): $ sudo find /var/www/html -executable ...
4
votes
2answers
45 views

Is a mail forwarder possible without a domain?

I'm trying to use net-enabled Arduinos to instrument some stuff around the house. For example, I'd like my dryer to text me when it's finished. So it would be useful to have a local mail server on a ...
1
vote
0answers
22 views

Debian GNU/Linux - Cannot preseed the installer [closed]

I grabbed the latest Debian Jessie GNU/Linux Standard Live CD from debian.org and it works fine, both in live mode and in the installer, but I need to preseed the installer. I can modify everything ...
2
votes
0answers
38 views

Ethernet to USB adapter is not initialized as ttyUSB or ttyACM device

When I plug a Ethernet-to-USB adapter to my Ubuntu 14.04 on the USB port. I can see the Ubuntu has an extra ethernet device. However, I want to see /dev/ttyACM* type of device. I'm wondering why the ...
1
vote
0answers
50 views

Load Lakka(linux based) onto the Intel Compute Stick?

Okay, so I have recently purchased an Intel Compute Stick and I have noted that it can either take Windows 10 or Linux operating systems. My main goal was to us Lakka, a linux based retro console, in ...
1
vote
0answers
17 views

Linux with low resources [duplicate]

I have a question if anyone of you can help me. Anyone of you know what linux consume fewest possible resources? I have old laptop with: CPU: T550(it's dual core but have some problem with bios and ...
1
vote
0answers
32 views

Linux or Unix for Isp providers? [closed]

For an ISP providers without thinking about cost and which one is open source or close source. Consider only performance!!!! which one is better than another?and why?
2
votes
0answers
17 views

startx not starting when you want to write its log

I have set up a very minimal linux. No desktop environment just window manager. I used i3 as window manager and set up X to start it; upon login I want startx to run so I added this code on ....
1
vote
2answers
42 views

Unable to completely remove installed package with yum remove [closed]

I removed a package on Centos 6 with yum remove, but if I run the command yum list installed | less it's shown as installed and my problem is that it conflicts with a newer version I'm trying ...
4
votes
1answer
24 views

what is difference between tap interface and normal interface?

I'm studying about virtual networking. I saw the youtube video that makes tap interfaces and adds them to Open Virtual Switch. From here, I don't know what tap interfaces are. What's different ...
2
votes
1answer
34 views

How to set per process disk quota?

I want to set disk quota (limit maximum space used in the file system) that a particular process can use under Linux. There seems to be plenty ways to limit disk quota for a user, but not at a per ...
0
votes
1answer
27 views

Looking for an old linux distro for testing [closed]

I'm currently looking for a very old Linux distro that has an old kernel, doesn't support PAE/XD bit, doesn't support VASLR (Virtual Address Space Layout Randomization) and doesn't have X^W memory ...
-1
votes
0answers
12 views

triggering file transfer with a criteria for time and validity of file with the specific words

i want monitor directoryX/folderA for new files and trigger a copy of all those files that have a specific list of words/ headers in the first line of my file to a different directoryY/folderB . And ...
0
votes
0answers
17 views

Will multiarch give negative impact to linux OS?

In order to runing 32bit application in 64bit linux OS, AFAIK i need to have multiarch library. But will it give negative impact to the OS performance or maybe will using too many resource of the ...
1
vote
1answer
72 views

Is there a linux distro that's UNIX certified? [closed]

Is there a Linux distribution certified with the Single UNIX Specification? What are the primary reasons that most distributions don't get certified?
1
vote
1answer
39 views

How to use the setarch uname command in a shell script

I am trying to create a korn shell script in RHEL7 to silently install an agent at my job. However the agent requires an old version of the agent be installed before being upgraded to the new version ...
2
votes
2answers
78 views

Change MAC address of network interface on lower level

I know that I can change a network interface's MAC address by bringing the interface down, using a command like ifconfig eth0 hw ether 00:11:22:33:44:55 or ip link set eth0 address 00:11:22:33:44:55 ...
1
vote
1answer
26 views

Linux eth0 is down, can't up it

I do have a vps server. It's not too good but I use it only for teamspeak. Recently I got a massage from provider that my service is suspended becuase of some sort of sync flood attack. Idk why. ...
1
vote
0answers
25 views

nodogsplash build: undeclared identifier

I want to install nodogsplash and I followed the instructions to download the package. While installing it gave me the following error: $ make cc -O0 -g -Wall -Isrc -c src/gateway.c -o src/gateway.o ...
1
vote
1answer
35 views

Using netcat for port forwarding

I have a process that listens on an IP:port - in fact it is spark streaming which connects to a socket. The issue is that I wish to somehow create a server that connects to spark on one port and data ...
0
votes
1answer
26 views

Learn the base of security and defend myself from external attack [closed]

i would like to learn and work on internet security, because thia is a world that is in continuos change and id like to improve myself on it..anyone can help me linking site or PDF where i can study ...
0
votes
3answers
56 views

piped command after grep not working

I want to monitor a file. So I have tailed a file using below command, to execute a script per line. tail -3f logfile.log | grep "action.*add" | sed -u -e "s/^/'/" -e "s/$/'/" | xargs -L 1 -P 5 bash ...
1
vote
1answer
39 views

Catch number of syntax errors in shell script [duplicate]

EDIT: This question was marked as duplicate. While this might be true on a larger scale, the answer provided by Kusalananda gave me a better understanding of my options. If a syntax error inside a ...
2
votes
1answer
37 views

Incorrect $HOME env variable for a newly created user

On my Ubuntu machine, I logged in as "olduser" and created "newuser" using the following command: adduser --system --home /usr/share/newuser --no-create-home --ingroup newgroup --disabled-password --...
1
vote
1answer
20 views

Midnight Commander - rescan compressed archive

When I open any archive (for example zip) in midnight commander it open it and as I understand it caches its content. When you open this archive second time MC uses its cache. How to reset this cache? ...
4
votes
2answers
105 views

How to check if currently running Linux kernel has been loaded with kexec?

By checking I mean something quite rock-solid, i. e., trying to analyse loader's configuration or available kernel files and matching to uname's output clearly isn't an option.
0
votes
3answers
34 views

run a command in subfolders

I have a command rdseed -d -R -p -f filename which gives an output of response time and etc for each file in a subfolder. The problem is I want to run this command in all subfolders and the output (...
0
votes
0answers
20 views

how to validate the xml file in sqlldr

can someone please guide me on how to validate the data before loading into the xml table using sqlldr. I have created one table as: CREATE TABLE TEST_XML OF XMLTYPE XMLTYPE STORE AS SECUREFILE ...
0
votes
2answers
22 views

Iptables accepts any ip or range in any format

Update Jun 30 I have a list of ips.txt and I want iptables accepts any ip or range in any format. Example: # IPs List 199.59.243.120 157.60.1.0/24 91.190.0.0/16 192.168.2.1-192.168.2.25 My rule: ...
0
votes
1answer
28 views

How to filter files/directories according to permission and owner(tree command)

I use tree command to get files and directories under the /usr path, tree -pgufi /usr Does it have a way to filter files/directories under this path according to several conditions(1 and 2 and 3)...
0
votes
0answers
32 views

new folder not inheriting permission from parent folder (linux Ubuntu 16.04)

So I have this folder here: => ll total 512 drwsrwsr-x 2 root users 4 Jul 1 01:27 storage/ If I create a new folder inside storage, the new folder has the permissions "drwxrwsr-x". Please note ...
0
votes
0answers
25 views

Linux Server Management Tool [migrated]

I recently deployed 13 servers Red Hat 7.2 and I would like to know what will be an ideal server management tool that will allow me to patch, and automate servers within a small environment such as ...
0
votes
1answer
19 views

Debian : Monitoring if server is offline

We have a dedicated Debian X64 server, running projects and we require availability under any situation. Since last 2 days we have noticed that the server went offline for 10-15 minutes, and then it ...
0
votes
0answers
13 views

setsockopt IPT_SO_SET_REPLACE flag return error (linux) [migrated]

I try to use setsockopt with the flag IPT_SO_SET_REPLACE but i keep getting the wired error from errno Protocol not available this is my code: #include <stdio.h> #include <stdlib.h> #...
1
vote
1answer
28 views

Linux distro to learn linux [closed]

Im actually new to all Linux stuff, before I used to have several VMs, where I used Debian just to see what it actually is. Now I'm on a long vacation and I thought about picking it up again and ...
1
vote
0answers
50 views

Systemd: stop the main process (or the service) when a subprocess crash

I have two programs that I called program1 and program2 which perform a main task of two operations. When program1 start running it pipe its results to program2 which performs the final result. ...
0
votes
1answer
37 views

how to change colors of my ps1 root terminal permanently [duplicate]

I want to change the colors of root@MyComputer:~#and when i type the ls command show me the result as colors! I write a simple BB code to display what i want: [color=red]root@MyComputer:[/color][...
1
vote
1answer
44 views

NIC cards in a LINUX server

I have below doubts, Can someone clarify, please? Four interfaces(say eth1, eth2,eth3,eth4) are configured with different subnet IP addresses in my LINUX server, so does that mean are there four ...
0
votes
0answers
17 views

Error with modprope and ndiswrapper

I'm trying to install a wireless usb dongle driver using ndiswrapper but I'm getting a modprobe error. Output from ndiswrapper -l: vnwl: driver installed device (1106:3253) present Output ...