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

0
votes
0answers
21 views

I can't ping the gateway

The network error is that I can't ping the gateway after ip forwarding configuration. Here's the my configuration: linux microcore(server)(First PC) sudo su ifconfig eth0 192.168.2.200 netmask ...
0
votes
1answer
17 views

To find files like '-file9' files [duplicate]

This is Venkat I was created a file. Name is '-file1'. So how can we open or find these type of files Thanks, Venkat.K
0
votes
1answer
17 views

Find the time of the file received in a particular directory

I have a directory called /home/mydir/test A file will be sent from some other team which lands in this directory. How to find what is the time the file came to this particular directory? ( I need ...
1
vote
0answers
27 views

How do I find out hard disk model and serial number in amazon machine?

when check in local machine /proc/scsi/scsi file it contains Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3160215AS Rev: 3.AA Type: Direct-Access ...
2
votes
1answer
213 views

make a process unkillable on linux

I'm working on password manager application, and for security reasons I want to launch an unkillable process. And besides I don't want this program to be a daemon since I need to read from standard ...
0
votes
1answer
24 views

groupadd: group 'terminal' already exists in Linux

I have created a group called "terminal" using groupadd terminal and when I list out the groups using groups command it will not show the newly created group name in the output but if I add the same ...
0
votes
1answer
20 views

Which file attribute changes when we copy a file from some other user's account?

Which file attribute changes when we copy a file from some other user's account, which may be in our own group or in some other group?
0
votes
1answer
23 views

exclude files in tar.gz

I want to exclude two files from a tar file.. But it doesn't seem to work cd /var/www/public/api_test tar -zcvf api_v2.x.tar.gz api --exclude "./api/distributor_test.php" --exclude ...
0
votes
1answer
15 views

I need to directly access shared folder in linux with out using the root user previlage.Host Win7, Guest Linux Mint 17.2?

I need to directly access shared folder in Linux Mint with out using the root user privilege. I have tried to change the user and user group using chown command but it did not work. chown -R go:go ...
1
vote
0answers
19 views

uboot & uImage & linux boot process

Usually, in embedded systems the NAND flash is partitioned in four parts:-- A partition for the bootloader (here goes uboot.bin) A small partition where uboot saves its environment variables A ...
1
vote
0answers
22 views

Encrypted LVM vs TrueCrypt / Veracrypt [on hold]

I am installing Linux Mint v17.2 on my laptop. I may have sensitive client information on it and I would like to encrypt my whole hard drive. I was wondering if it would be better to use encrypted LVM ...
4
votes
2answers
242 views

How to check a Linux Distro is secure and has no malicious code? [on hold]

I am new to Linux and I love it. However, while I have been playing around with several flavours of Linux, only one question comes into my mind as a new user to the Linux systems: how can I ensure a ...
0
votes
0answers
14 views

(Linux) unable to mount from initramfs

I am trying to install Linux (Debian) on a new laptop. This requires special care because the laptop keyboard needs a kernel patch (and I have not compiled a kernel for about 10 years). Also, because ...
0
votes
1answer
12 views

How to copy/burn a loop device image to a partition?

I'm building a rootfs for a embedded device. I start by making an empty loopback file system, then mount it, and add files to it. When I finish, I end up with a file system image. Then I can burn ...
0
votes
1answer
14 views

Reverse DNS for external DNS server

I have my forward zone configured and now I am writing my reverse zone configuration. I've read through Pro DNS and BIND book and the examples given are if you own a portion of an IP address space ...
4
votes
3answers
77 views

I have accidentally broken /bin/bash

I just started using Linux. I'm using Ubuntu and I think I made a very grave mistake. I made a script and by some stupid sense I decided to move it to my /bin folder, but I accidentally typed mv ...
1
vote
1answer
16 views

TTL values for external DNS records

Upon setting up my zone files, I went back to review my TTL values. The default is set for 24 hours and I have individual TTL values set for each individual record. My thought was NS, MX, and CNAME ...
0
votes
0answers
14 views

HTML5 video lags in web browser

I have an nVidia GeForce 9500 GT on a 32-bit Linux Mate 17.2 system. If I try to watch 1080p videos in a web browser, the videos are lagging, even when they're fully buffered. If I download the video ...
0
votes
0answers
11 views

MSFvenom not working in Kali Linux 2.0

I recently updated My Kali Linux to version 2.0, and everything seems to be working fine. I have tried to use msfvenom to create a windows reverse_tcp file. I entered the comand i always used before ...
0
votes
1answer
18 views

Kali Linux 2.0 stopped update proccess

So I decided to update my Kali Linux to 2.0 using the dist-upgrade command and obviously having the official mirrors from the Kali website. It was over a GB of data that needed to be downloaded, so I ...
-2
votes
0answers
18 views

Stuck in httpd unable to start

I am trying to start apache it is throwing an error saying: httpd: Syntax error on line 100 of /opt/xag/apache2/conf/httpd.conf: Cannot load modules/libphp5.so into server: libssl.so.1.0.0: cannot ...
0
votes
1answer
31 views

Package dependencies Debian

I have a problem when installing certain software for Debian Jessie. I use apt-get install. Sometimes it works, but in most cases I get the message: The following packages have unsolved ...
0
votes
3answers
105 views

How would an administrator of a system prevent himself access to a file for 24 hours?

How would a single administrator go about locking himself out of a file for 24 hours? By "lock" I mean prevent access. I have removed the 'rules' placed on the original post, as it is clear that the ...
2
votes
0answers
11 views

NUL entry in syslog?

My servers went down on the 30th. It just came back online today. At first I thought it was the router because the router the server is connected to is a bit squirrely but when I checked syslog I have ...
0
votes
0answers
21 views

4.2 kernel build, missing version.h

I have installed a 4.2 vanilla kernel on Kali Linux 2.0 and prepared the kernel source with make clean prepare I then copied the source to the /usr/src/linux-4.2 directory. And this is symlinked to ...
0
votes
0answers
7 views

Gnome doesn't start(is dead)[Debian Jessie]

Everything was working fine. I just updated some files on my computer. I turned off my PC, but when I tried to run it again it took my to a black screen and reported a few errors before that. I found ...
0
votes
1answer
13 views

install AVG free edition into Amazon Linux AMI

I was trying to install AVG free edition into Amazon Linux AMI. It looks like it installed, but I could not start the any avg service. The command I used to install AVG is sudo yum install ...
1
vote
2answers
33 views

figure out ip addresses of all the machines remotely?

I have around 40 machines and I want to know what are their IP Address. One way is to login into those boxes and figure out their IP Address by using ifconfig command but is there any other simple way ...
0
votes
1answer
16 views

ssh -> screen -> ssh - how to kill remote screened ssh without killing original ssh session

I keep a screen session running on a dev box at work, and I ssh into my dev box and resume my screen session while I'm at work. From there, I hope to other machines. Occasionally, I find myself ...
0
votes
0answers
10 views

Linux SAR vs SS commnad to fetch network information

In one of my tool I need to collect network information from system, in present I am using command ss -pant just now I came to know ss -n DEV OR ss -n EDEV can also serve something similar, having ...
0
votes
1answer
20 views

Why does systemctl start docker with different arguments

I'm running an instance of VMware's Photon distro, which uses systemctl. I want docker to use a TCP port so I can play with the REST API. I used 'systemctl stop docker' and the service stops. I ...
7
votes
2answers
80 views

How to watch films/images without X?

I'm wondering if there is a way to watch films or images without running X server. I'm not using login manager - I log in to tty and start X server manually. Hypothetical situation: I log in, but ...
0
votes
0answers
23 views

Use iptables to redirect **all* requests, even DNS-unsolved domain?

Context: With iptables, I redirect all the traffic - incoming at port 80 - to a distant server IP (X.X.X.X). I aim that anywhat you write in the urlbar of browser, you get X.X.X.X. IP That works ...
0
votes
1answer
89 views

What do these commands do?

I have been working at this company for around 8 years now and something that has always puzzled me is that we have a software supplier who often connects to our network to provide user support on ...
-2
votes
2answers
30 views

What is the default path of newly created tar archive?

I created tar archive using following command: tar -zcvf archive-name.tar.gz directory-name After this operation, where that tar.gz is located?
0
votes
0answers
11 views

how unshare -i/-p/-U and -r works in realtime

Can anyone give examples of unshared command for -i, -p, -U and -r options. I got only -m and -n examples to test my code. And please mention any test cases to test IPv6 for unshared too. Thanks, ...
1
vote
0answers
12 views

Different behaviour over WIFI and LAN-Ethernet when connecting via VPN

I have some problems getting my internet connection working over the LAN, meanwhile over the WIFI, everything seems to work nicely with my Ubuntu 14.04 LTS machine. First thing I do is connecting to ...
1
vote
2answers
39 views

not able to execute multiple commands on multiple linux machines?

I have around 50 ubuntu machines on which I need to run below commands: sudo apt-get install htop sudo scp -r todd@machineA.host.com:/home/todd/pip /tmp/ sudo apt-get install python-pip sudo pip ...
0
votes
2answers
15 views

How to foword firefox graphics from remote to local system?

I have installed CentOS7 in virtualbox through vagrant. Both guest and host operating system is CentOS7. Guest operating system is minimum installation of centos7 with no graphics. On both system I ...
-1
votes
1answer
31 views

Why readdir() only reads 32K of directory entries at a time?

readdir() only reads 32K of directory entries at a time. Why does it read only 32K entries? Is it dependent on buffer or any other parameters? Can I change that value so that I can read as many ...
-1
votes
0answers
9 views

control and data flow between 2 linux machines [on hold]

I am doing a project on R-car H2(automotive SOC) in Linux platform. I would like to know how the data and control flow between two Linux machines is, if am using two such boards. Can I get the ...
0
votes
1answer
17 views

Manjaro Linux — Can ONLY log in from root account

First time Linux user. Treat me like a complete idiot. Installed Manjaro on VMWare. I'm required to get into this whole Linux thing for college. First problem: Created user account from root. ...
2
votes
0answers
23 views

Random pieces of ancient hardware not working together (Mac G5, Sun network adapter)

This is probably some kind of weird esoteric hardware combination but it's not why I did it. It's just what I had lying around. I have a 2x 2ghz Mac G5 and I can't really bring myself to part with it ...
3
votes
1answer
41 views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
0
votes
0answers
18 views

isolinux.bin is missing

I want to build a debian live CD and live USB image. It seems as if I need the following file: isolinux.bin I use following tutorial: ...
4
votes
0answers
34 views

Where in GRUB2 source code is the handover/jump to kernel code?

I'm looking for the line of code where GRUB2 finally jumps to kernel code and thus hands over execution on x86 systems? I guess it's in an assembler file since this is very low architecture stuff. I ...
3
votes
0answers
22 views

How to obtain mouse events from the kernel when X is active?

When switching to a virtual terminal on my system, The kernel successfully delivers mouse events to a generic input event interface -/dev/input/event6 in my case- as well as legacy interfaces mouse1 ...
0
votes
2answers
48 views

Where is the latest source code of man command for linux?

I'm looking for the latest source code of man command, the version in my Linux is pretty old(v1.6f), but I failed after googling a while. I mean the latest source code of man, not man-pages but the ...
-1
votes
0answers
18 views

Can't locate Vim folder anywhere on linux mint system

I'll try to keep this short. I've been trying to install YouCompleteMe and have had a bunch of trouble, so consequently I have installed and uninstalled vim a few times. Now my problem originated ...
1
vote
1answer
20 views

How to install drivers for integrated intel graphics?

I am building a minimal Debian system. I installed Debian Wheezy with the netinstall iso, and selected to install only basic system utilities, no desktop environment. The computer that is running this ...