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

4
votes
3answers
158 views

Can some explain what this command does?

Can someone explain to me what this command does? sudo find / -exec rm {} \;
1
vote
2answers
49 views

How to check a Linux Distro is secure and has no malicious code?

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
6answers
10k views

Black screen after GRUB

I recently bought a new laptop which came preinstalled with Windows 8 (no! please don't run away yet!). I'd like to try and put Linux on it in a dual boot (probably Ubuntu, with its UEFI support), but ...
23
votes
2answers
4k views

How do I make a file NOT modifiable?

While logged in, I can do the following: mkdir foo touch foo/bar chmod 400 foo/bar chmod 500 foo Then I can open vim (not as root), edit bar, force a write with w!, and the file is modified. How ...
0
votes
1answer
29 views

Parent mount becomes inaccessible after mounting child into subdir?

Im installing arch. Upon installation, after partitioning my drives, right when I go to chroot to begin the fun stuff, I get an error mount:mount point mnt/etc/resolv.conf does not exist chroot: ...
0
votes
0answers
12 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
30 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
1answer
13 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 ...
0
votes
1answer
21 views

Configure internet connectivity in Centos 6.4 through wired LAN

I have a broadband internet connection through Hi-5 service provider in windows 8.1. In windows I connect to the internet after creating a connection and entering user name and password through the ...
0
votes
1answer
7 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 ...
4
votes
3answers
69 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 ...
0
votes
4answers
77 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? Rules: The file cannot be renamed or moved. The file is not an executable or system critical. Administrator has ...
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 ...
1
vote
1answer
782 views

Possible to download all the packages from “groupinstall” and then run ( yum --nogpgcheck localinstall *.rpm )?

This is the original command: yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" I would like to create 4 folders for these. (1 folder for each). mkdir Desktop mkdir ...
0
votes
0answers
11 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 ...
1
vote
1answer
14 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 ...
6
votes
4answers
16k views

How do I kill all screens?

I accidentally created over 1000 screens. How do I kill them all with one command? (Or a few)
0
votes
1answer
13 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 ...
0
votes
0answers
8 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
0answers
19 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 ...
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 ...
0
votes
1answer
12 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 ...
-2
votes
1answer
17 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 ...
7
votes
7answers
4k views

How can I get an alert when my battery is about to die in Linux Mint?

This happens to me more than I'd like to admit, but sometimes I don't notice the power getting low since it only shows up in my status bar, then the computer just quits. I'd like a big alert that ...
15
votes
3answers
27k views

show gateway IP address when performing ifconfig command

Currently, when using the ifconfig command, the following IP addresses are shown: own IP, broadcast and mask. Is there a way to show the related gateway IP address as well (on the same screen with ...
3
votes
1answer
611 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
5
votes
2answers
89 views

Why do Linux/POSIX have lchown but no lchmod?

It seems that Linux supports changing the owner of a symbolic link (i.e. lchown) but changing the mode/permission of a symbolic link (i.e. lchmod) is not supported. As far as I can see this is in ...
1
vote
0answers
43 views

Autocomplete not working on mounted directory in AIX 6

Summary : Tab to complete in bash or a similar shell no longer functions on an IBM AIX 6 client mounting an NFS share from Red Hat Enterprise Linux 7.1 Details : I have a Linux server (linux_server) ...
1
vote
2answers
38 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 ...
7
votes
2answers
77 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 ...
2
votes
0answers
10 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
6 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 ...
1
vote
2answers
29 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 ...
2
votes
2answers
559 views

Place grub on virtual disk

To learn about Linux startup process I placed grub in a disk image file and tried to boot using qemu. I currently has not put any kernel image into the drive just grub. I installed grub using kpartx ...
3
votes
1answer
2k views

Kali Linux can't see my windows partitions!

I'm trying to install Kali Linux alongside with my Windows 8.1 using live USB , but I can't because Kali is unable to see my partitions and unallocated space in my disk which I prepared 50GB ...
0
votes
1answer
14 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 ...
1
vote
1answer
3k views

mod-mono-server 4 is not working, while 2 does

I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...
1
vote
1answer
2k views

Deleting Non-empty Directory with smbclient

How can I remove a non-empty directory with smbclient? I have tried the following: 1) rm Result: NT_STATUS_NO_SUCH_FILE listing [dir_path] 2) recurse;rm Result: No Error but also nothing ...
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
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
88 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 ...
0
votes
0answers
40 views

Disable VGA port via GRUB in Linux

I want to disable VGA port of my hardware by making changes in the GRUB. How can I do this? I am using Red Hat.
0
votes
1answer
18 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 ...
8
votes
2answers
17k views

why can't I install packages with rpm? I get “transaction lock”

I'm having problems with yum and I am trying to re-install it. I've download yum.3.2.0-40-el6.centos.noarch.rpm. When I try: $ rpm -ivh yum.3.2.0-40-el6.centos.noarch.rpm I get: error: can't ...
22
votes
11answers
20k views

Linux replacement for Apple Keynote software?

I am trying to migrate from Mac OS X to a Linux distribution, maybe/probably Ubuntu. One of my favorite applications for the Mac was Apple Keynote, which makes amazing sideshow presentations. Is ...
2
votes
2answers
422 views

Using regular experision in “rpl” command

I need to replace text in lots of files. I'm using rpl for this purpose, but I can't find any way to make it use regular expressions. Can rpl use "regex"? how? Edit: I'm using rpl 1.5.2 from Ubuntu ...
1
vote
0answers
11 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 ...
0
votes
2answers
14 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 ...
-2
votes
2answers
27 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
10 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, ...