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

2
votes
1answer
42 views

Can GNU/Linux software run on GNU/Hurd?

I am only familiar with the GNU/Linux system and I recently discovered the Hurd kernel, so the first question that came up in my mind was: is the software that I can find on a GNU/Linux system able to ...
0
votes
2answers
60 views

What is the use of -l option in ping command?

I am learning ping command and its options. In that the -l option is provided, it sends that many packets to the destination without waiting for a reply. And for normal users the preload limit is 3. ...
0
votes
0answers
26 views

Sed command for find and swap string [duplicate]

We are having the entry shown below in /etc/ldap.conf uri ldap://abccmnldap01.xyz.com ldap://pqrcmnldap01.xyz.com I want to swap abccmnldap01.xyz.com with pqrcmnldap01.xyz.com in ldap.conf with ...
2
votes
3answers
57 views

Copying file to block device

I have an NTFS formatted USB Hard drive that has my personal files backup. Today I mounted the drive to an Oracle Linux system and copied a regular file using the below command (please see below ...
0
votes
0answers
26 views

Tiny Core Linux persistent home directory

I have a command line frugal install of Tiny Core and I want to have a persistent home directory, because the programs I run save results there. I read the persistent option details and followed ...
0
votes
1answer
34 views

Cannot Install Cent OS 7

i'm having extreme difficulty trying to install CentOS 7 on a HP Z640 Workstation, Specs http://www8.hp.com/h20195/v2/GetPDF.aspx/c04400040.pdf I have tried installing CentOS 7 and 6.7 in UEFI and ...
1
vote
1answer
36 views

Getting symbolic links to behave more like shortcuts in Windows [closed]

I'm trying to launch a game from a symbolic link located on my desktop, but every time I do the game installs all its files onto my desktop. And when I try relaunching the game after moving all the ...
1
vote
1answer
60 views

What page replacement algorithms are used in Linux kernel for OS file cache?

Linux uses the unused portions of memory for file caching, and it cleans up the space when needed. My question is about how it picks a victim page for replacement? There are various algorithms (LRU, ...
3
votes
0answers
47 views

Check if a remote machine is in a cluster

How can I verify if a remote machine is a cluster machine? I just created the following ssh command to verify if the remote machine is a VRTS cluster or a Linux availability Red Hat cluster ...
1
vote
1answer
11 views

Unable to install libltc-dev in beaglebone black debian

I am trying to build some C programs in beaglebone black (using debian) which I git clone from here. Now I try command make I got this error :- Makefile:9: *** "https://github.com/x42/libltc version ...
-4
votes
0answers
41 views

Join column with columns of next two line in shell script

I want to join value of the first line with the value of next two line. If some value includes number (G, G1, G2) in input data, It should be considered for all combinations. For example, input ...
1
vote
1answer
19 views

Nostalgia: Linux 2.0.x and PCI sound

Nostalgic as I am, I've put together some old hardware and installed a S.u.S.E Linux 4.3 from 1996 with kernel 2.0.18 from the original CDs. It runs great including network and decent graphics. Just ...
0
votes
1answer
28 views

Linux red-hat + kernel patch update

I need to run the yum update on my Linux redHat machine during the yum update , I sow that yum perform some patch kernel update therefore I little worry to perform a reboot , because the patches of ...
0
votes
0answers
42 views

wifi driver fails to load firmware on kernel 4.6.0-rc2

Distro - Ubuntu-14.04. For development purposes I built and installed 4.6.0-rc2 kernel. All works well except wifi: % dmesg ... [ 9.092503] Intel(R) Wireless WiFi driver for Linux [ 9.092506] ...
1
vote
1answer
45 views

How to wake up sleeping process? [duplicate]

Shell script runs to function as child processes (via &). Both of them went to sleep (via sleep command). Is it possible to wake them? I have their pids. P.s. I don't want to run sleep with ...
3
votes
2answers
27 views

Limiting System Libraries that an Program Can Use

I have a program that runs under Linux. The program crashes if a particular library exists on the system but runs normally if the library is not present. (It only seems to look for the library at ...
2
votes
1answer
34 views

Compiling a kernel on STLinux

I have recently accessed STMicroelectronics Base Distribution with BusyBox v1.18.2, built-in shell. I read all the information on STLinux documentary regarding my problems, and followed all the ...
0
votes
1answer
22 views

Linux red hat + replace PATH or word on scripts

Under folder: /var/userTN/applo folder I have around ~100 shell scripts that include the following PATH: GLOBAL_PATH=/export/pop/PLW5 I want to replace the PATH on all the scripts under folder: ...
0
votes
5answers
83 views

Delete N lines, keep the next N and so on

I want to delete the first 12 lines from a file, keep the next 12 lines and repeat this to the end of the file using a Linux command or shell-script.
1
vote
1answer
37 views

Subsequent calls to wpa_supplicant fail - can't connect to wifi

I have an ubuntu 15.10 server which utilizes wpa_supplicant to connect to wireless network profiles created with wpa_passphrase. On a fresh reboot, the first time I call sudo wpa_supplicant -B -i ...
2
votes
0answers
31 views

How to assign different configuration for ttyS0 under different environments

I have a computer (let's call it as DevPC) that sometimes run Linux in native environment and that sometimes run Linux on Xen. I connect this computer to another computer (let's call it as MonitorPC) ...
0
votes
0answers
13 views

System not pinging after running `rescan-scsi-bus.sh -r`

I am having a system on which multipath is enabled. I recently replaced a SCSI device and in order to remove old entries, I executed rescan-scsi-bus.sh -r. Now the server is not getting pinged. I ...
1
vote
0answers
32 views

Long term solution to running 3D applications in a virtual machine or container

I have a complex script written a few years ago and, although it currently works, almost every time I upgrade my machine something gets broken, and maintaining it really hinders my work. It acts as a ...
3
votes
1answer
40 views

Deleting hardlink with rm -rfv deletes the original?

I was reading up on similar questions on here about what happens when you delete a hardlink to a file and the majority of the answers I was getting were that the hardlink is deleted but the original ...
1
vote
1answer
40 views

How to read from another terminal?

I opened two terminals (/dev/pts/1 and /dev/pts/2) and started my application from /dev/pts/1. I want to read in real time from /dev/pts/2 but my code doesn't work: actually some of the symbols are ...
0
votes
1answer
39 views

Copy files from Linux Server to Windows - bash script

i am trying to automate a simple process, but i m new and stuck. I have a number of bash scripts that when ran, zip and move files to specific directories on the linux box. I want to create a bash ...
3
votes
1answer
43 views

Understanding the following find command

I am currently having a hard time understanding the following find command: find / -o -group `id -g` -perm \  -g=w -perm -u=s -o -perm -o=w\ -perm -u=s -o -perm -o=w \ -perm -g=s -ls  ...
3
votes
1answer
39 views

Unable to access internet after making ip static in beaglebone black

I am newbie in Beaglebone black. I am trying to make my IP static in my Beaglebone black. For this I follow this tutorial. After making changes according to tutorial, my /etc/network/interfaces file ...
0
votes
1answer
41 views

What will happen if I run a “fork bomb” on my machine?

What will happen after using the fork bomb command?
2
votes
0answers
74 views

munin phpfpm plugin

I have setup PHP-FPM plugin All graphs works except three PHP5-FPM Average Process Size PHP5-FPM Memory Usage PHP5-FPM Processes setup /etc/munin/plugin-conf.d/munin-node [phpfpm_*] env.url ...
0
votes
1answer
28 views

How to setup broadband connection on Fedora23?

This is how I setup broadband connetion on Window7 with DHCP IP. But how can I setup this connection on Fedora 23 ? In Fedora23 Workstation(Gnome), I see this: Sorry I didn't find anything ...
0
votes
1answer
24 views

iptables connection mark not balance

The following is my network topology: + + | | | | | | | ...
3
votes
2answers
41 views

Running mkfs on file image partitions

I am creating an empty file... dd if=/dev/zero of=${SDCARD} bs=1 count=0 seek=$(expr 1024 \* ${SDCARD_SIZE}) ...then turning it into an drive image... parted -s ${SDCARD} mklabel msdos ...and ...
1
vote
2answers
54 views

Top command output explanation (in embedded system)

Can someone please help me understand the output that I get from the top command? This is the point that the oom-killer is invoked and kills my main application. What exactly is under the VSZ and ...
1
vote
2answers
36 views

Can't clone hard disk with dd no space left

I am trying to move elementary OS from primary HDD to external HDD. So, I can boot elementary OS from external HDD and install Windows 10 on primary HDD. Hewbot on super user stackexchange suggested ...
1
vote
2answers
33 views

History -c, where all the erased histories have been saved and in which directories though?

Usually, when i used (root@example ~ # history )and it displayed a lot of commands which had been entered before. So, my question is : when i enter "history -c" is to delete all the history at the ...
0
votes
0answers
12 views

insserv: warning: script 'startup.sh' missing LSB tags and overrides

I have created a script startup.sh. I have tried to execute it at boot but I made a mess. After some changes, I rolled back everything but now every time I install something I can see the error logs ...
0
votes
1answer
22 views

What is meant by ewma in ping statistics?

I was learning ping command implementation. In that I had one doubt that is If I provide the -f or -A option, finally in statistics report, it have two extra field when compare to normal ping. The ...
0
votes
3answers
39 views

How to save case values in variable

selection= until [ "$selection" = "0" ]; do echo "" echo "PROGRAM MENU" echo "1 - display free disk space" echo "2 - display free memory" echo "" echo "0 - exit program" echo "" echo ...
3
votes
1answer
35 views
1
vote
1answer
66 views

Unable to boot after updating the kernel rhel 6.7

I am having a Red Hat 6.7 running on VM which I updated with the latest version kernel-2.6.32-573.26.1.el6.x86_64. but after this update I received the below error: kernel panic-not syncing: VFS: ...
0
votes
0answers
9 views

When mic boost is activated, I don't have any sound input from microphone

I have an Asus computer (and before another Asus computer with the same problem), I'm running debian unstable on KDE Plasma (but I got the same problem with ubuntu, on lxde, kde, unity...). The idea ...
0
votes
0answers
22 views

NFS v4: export directory as root, but no give server root access

I have one diskless system and I do not want to use no_root_squash parameter to load / exported OS. Why? Mainly because this is not secure. When I load my machine with my reboot system it try to ...
0
votes
1answer
33 views

Kali Linux Installation Attempt, Stuck in Initramfs!

I tried to install Kali Linux today. Everything went well and the installation completed without any problems. Though now when I start my computer I am prompted into grub. My linux installation is ...
4
votes
2answers
57 views

Tool to watch other ttys for linux?

BSD systems have a neat watch tool for snooping other ttys : Have you ever had a user login to your box and then ask you for help? Or have you ever been curious as to what your users are doing on ...
1
vote
1answer
105 views

headless firefox failed on aws amazon linux

I have followed the procedures as described in [https://lambda-linux.io/blog/2015/01/28/announcing-firefox-browser-support-for-amazon-linux/ However, when I tried to start up firefox, I am still ...
2
votes
1answer
32 views

How can I display a message before login only on the next login?

Background: I have a virtual machine image running Linux Mint that I am distributing to multiple users. The first time they boot the VM, it takes a long time for Tomcat to load as the applications ...
1
vote
2answers
25 views

How to extract files to “/usr” directory without overriding other files?

I download swift installation package, and extract it into my home directory: # tar -C / -xvf swift-2.2.1-RELEASE-ubuntu14.04.tar.gz swift-2.2.1-RELEASE-ubuntu14.04/usr/ ...
0
votes
0answers
15 views

Applying a patch to mdadm

I have configured RAID 6 using mdadm, and after trying to add a new disk to the ARRAY (replacing a faulty one), I am receiving the following error: mdadm --manage /dev/md0 --add /dev/sdi mdadm: ...
3
votes
1answer
64 views

Why ping receives another ping command packet?

I am learning about the ping implementation in C. The problem is, I was using a raw sockets to receive the packet. For all packets we have a identification value in ICMP header. I was running the ...