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
2answers
17 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
4answers
23 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 ...
2
votes
1answer
2k views

Build Chromium from source

I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions: ...
4
votes
2answers
33 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 ...
0
votes
1answer
8 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
2answers
2k views

Failed dependencies trying to install package 'libxml2'

I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system. The ultimate goal is to install xml_grep2, I have been trying various methods ...
0
votes
0answers
11 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 ...
28
votes
10answers
161k views

How to remove all the files in a directory?

I am trying to remove all files and subdirectories in a directory. I used rm -r to remove all files, but I want to remove all files and subdirectories, excluding the top directory itself. For ...
-1
votes
0answers
14 views

cannot install mysql binaries for linux with all installation steps

I am trying to install mysql-5.6.22-linux-glibc2.5-x86_64 according to all steps as : shell> groupadd mysql shell> useradd -r -g mysql shell> cd /usr/local shell> tar zxvf ...
0
votes
0answers
5 views

Linux kali wont boot from usb [on hold]

So,I want to instal kali on my pc and i tried burning kali iso on a 16gb usb stick with rufus and when i boot from usb it just load a grey screen for a sec and then windows boot up...
1
vote
2answers
788 views

Writing openSUSE image to SD card

I am releatively new to linux and I have assembled a raspberry PI 2 model B and I'm relavively unexperience with linux. I have tinkered in the past with SUSE and want to start doing it again. I have ...
0
votes
0answers
5 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 ...
2
votes
1answer
30 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 ...
4
votes
2answers
97 views

Better method for acting on IP address change from the ISP?

I have a Debian server at home. The server is my router and provides VPN access to the outside. I do not have a static IP address; the lease time given by the ISP is two hours.This cable cell seems ...
3
votes
1answer
55 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 ...
103
votes
4answers
59k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
-1
votes
1answer
15 views

How run script from rsyslog [on hold]

Is it possible to run a script from rsyslog? For example, to run a script if (a log is received) on facility local1.
0
votes
0answers
20 views

Unknown job error on running service

I am getting an 'start: Unknown job: elasticsearch' error when I try to do service elasticsearch start When I run service --status-all I can see elasticsearch present in the list. But I ...
0
votes
1answer
16 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/][1] However, when I tried to start up firefox, I am still ...
-1
votes
0answers
20 views

list of sofwares inspired by emac's dabbrev-expand [on hold]

I like the idea of dabbrev-expand in emacs, but I don't want to use emacs. What other software could I use? To ease the decision it would be nice to compile a little overview: Emacs — dabbrev-expand ...
1
vote
1answer
505 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
0
votes
2answers
5 views

Output of ping command with option -T

I was learning about the ping command. In that I am not able to understand the output of ping command with -T tsonly and tsandaddr. The output is, $ ping -T tsonly 192.168.1.52 PING 192.168.1.52 ...
20
votes
6answers
115k views

mount.nfs: access denied by server while mounting on Ubuntu machines?

I am a linux newbie and I have a very basic question. I have three machines in production - machineA 10.66.136.129 machineB 10.66.138.181 machineC 10.66.138.183 and all those machines ...
2
votes
1answer
26 views

Remove route from routing table by position

I know how to delete a route from a routing table providing all of the route's details (ip r d ...). Is there any way to list routing table with some kind of indexes and then delete from its ...
1
vote
1answer
26 views

Install ModSecurity Commercial Rules

We bought the ModSecurity commercial rules, but I am not having success installing them. I tried using the ModSecurity dashboard, but it seems that it is not working. Even though I get a message ...
1
vote
3answers
278 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use make menuconfig to ...
0
votes
0answers
13 views

how the ping implementation calculating the round trip time? [migrated]

I was learning about the ping implementation. In that I had one doubt. The doubt is, how they calculating the round trip time. They done some calculation to calculate the round trip time. I am not ...
2
votes
1answer
550 views

How to automate configuration of the Linux kernel build

I'm compiling a flavor of the Linux kernel based on the default configuration (for an ODROID system), with some additional features enabled. I want to automate this process so that I don't have to ...
0
votes
0answers
20 views

Good squid documentation + question [on hold]

I have a question concerning the logic used in the configuration of squid server. I was wondering how squid_acl, squid.conf, squid_whitelist.conf and squid_lans.conf interact, I was trying to look for ...
2
votes
1answer
70 views
+100

How can I make windows stay opaque when inactive?

I set Xfce to make all windows semi-transparent when they don’t have mouse focus. How can I set a particular window to remain opaque when inactive? Xfce doesn’t have an option to change settings for ...
41
votes
2answers
12k views

How to create /dev/null?

I deleted my /dev/null. How can I restore it?
0
votes
0answers
12 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: ...
2
votes
1answer
1k views

Linux Mint: LAN “Cable not connected”, despite it is

I've just installed Linux Mint 13, 64 bit (from the CD of "c't kompakt Linux", if this matters), and came across a very unexpected problem, for which I've not found a solution with Google or searching ...
0
votes
2answers
25 views

What does %h and other symbols like it mean? [on hold]

I have seen % and then some letter for example %h in config files in Ubuntu and in other Linux distributions but I do not know the names of them or what they all do, so I am just wondering if there is ...
2
votes
1answer
38 views

How to hide a specific process?

The command hidepid is used to prevent users from seeing all processes that do not belong to them, but it doesn't offer the possibility of selecting a specific process. Is it possible to hide only one ...
0
votes
0answers
4 views

having troubles booting yumi multiboot on my windows 10 pc with a sandisk ultra usb 3.0 flash drive

I have been trying to multi-boot Linux distros on my MSI WS60 Windows 10 pc with a new 64gb Ultra 3.0 SanDisk flash drive. I have tried to troubleshoot the fast boot with Windows 10 and format the ...
1
vote
0answers
8 views

Changing readahead value using blockdev command

I am trying to modify read ahead value using blockdev. When I issue this command blockdev --setra xxx /dev/sda - it changes the readahead value of the entire partition in that device, which is fine. ...
0
votes
2answers
35 views

How to burn an iso image from the command line

Is that possible to get an alternative to the command dd to burn an iso image including some options: Detect the burning device , Burn an iso image and eject the CD from the command line?
3
votes
1answer
35 views

How does the kernel assign cpu ids to physical cores?

One may find a lot of info about how to inspect physical cores layout in a running linux system, but I'm wondering how the physical cores are assigned a cpu id in the first place. After experiencing ...
1
vote
0answers
23 views

How to prevent the latest ImageMagick vulnerability? [migrated]

According to the CVE-2016–3714 there are a some vulnerabilities in the ImageMagick program (4 packages) : Insufficient filtering for filename passed to delegate's command allows remote code ...
4
votes
5answers
92 views

How do I sort on the first column every 4 lines in a file with a key in the second column

Example File : first column can have fixed set of 4 unordered values world1.com,world2.com,world3.com or world4.com second column is a key belongs to each line such that each of the four sets has ...
68
votes
3answers
184k views

How do I make `ls` show file sizes in megabytes?

What commands do I need for Linux's ls to show the file size in MB?
1
vote
4answers
1k views

How to install jdk in Linux Mint

I am unable to install jdk on Linux Mint. I tried the following: # apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib Reading package lists... Done Building dependency tree Reading ...
2
votes
1answer
1k views

E: Package 'dkms' has no installation candidate

I installed Kali 2.0 on an Oracle VirtualBox. Everything was going fine until I tried to run the command apt-get -y install dkms This gave me the following error message Package dkms is not ...
0
votes
1answer
766 views

Installation of Linux mint from cd makes it stuck on splash screen.

I am installing Linux mint Rebecca cinnamon onto a Windows XP Professional computer. I burned the ISO file using windows burner (Windows XP Professional) The menu loads correctly. Let it boot ...
116
votes
4answers
131k views

Why do I need a tty to run sudo if I can sudo without a password?

I have configured sudo to run without a password, but when I try to ssh 'sudo Foo", I still get sudo: sorry, you must have a tty to run sudo. Why does this happen and how can I work around it?
8
votes
6answers
10k views

Lightweight X11 alternative available?

Is there any lightwight X11 alternative suited for old systems? (Say, 1GHz and 256-314MB RAM)
0
votes
0answers
19 views

After install vnc4server xsession error on Linux Mint 17.3

the second time this problem haunts me, (in RASPBERRY and now my Dear Mint 17.3) Briefly my problem is the following: I do the standard procedure found on Google: sudo apt-get install vnc4server ...
-1
votes
1answer
26 views

What is the use of mdev in ping?

I am learn about the ping command and their options. The ping command finally prints the statistics. $ ping google.com PING google.com (216.58.199.174) 56(84) bytes of data. 64 bytes from ...