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
0answers
29 views

What's the “default” routing table for in Linux?

When I list the routing rules in my Linux desktop, this is what comes up: $ ip rule 0: from all lookup local 32766: from all lookup main 32767: from all lookup default I've used routing rules ...
0
votes
0answers
33 views

awk or sed Commands to Print Columns at desired locations [duplicate]

I have a source file which contain 15 columns and so may rows: 2973695.500 633952.188 2440.000 255 0 255 1 1 OP UNK opt TIME SKZ meter ms 2973695.500 633952.188 2440.000 0 255 255 1 1 ...
1
vote
1answer
26 views

Read Only File System view files within .zip

I am working with a read only file system through Putty SSH. I have lots of zip files which contain multiple directories. I want to read a .kml file stored within one of these sub-directories. Is ...
1
vote
0answers
81 views

Unable to compile Linux Kernel 4.7-rc2

I was trying to compile Linux Kernel from source. I've compiled the kernel previously and never got any error. But this time I am facing an error. The error is CHK include/generated/asm-...
0
votes
5answers
97 views

How to view files that have read permission only in my present working directory?

This question seems an easy one for anyone who knows find command. But let's assume that find command doesn't work on my system. How can I view the files based on their permissions without using "find"...
1
vote
0answers
15 views

Package additional in-tree modules

Targeting an up to date Fedora whose kernel unfortunately lacks a module: Is it possible to package the module (using kmod or whatever existing infrastructure), so that the module package has the ...
1
vote
1answer
47 views

inotifywait doesn't monitor Windows users saving to Samba share on Linux

I have inotifywait(version 3.14) on Linux to monitor a folder that is shared with Samba Version 4.3.9-Ubuntu. It works if I copy a file from Linux machine to samba share(that is on different machine, ...
0
votes
0answers
15 views

Settings of Poller Interval and Cron Interval on cacti

Latest version running of Cacti on linux machine and I am bit confused with Poller Type, Poller Interval and Cron Interval. The current setup is set to monitor ping latency, linux machine and dns ...
1
vote
1answer
37 views

How to debug Linux hang?

We are using beagle bone black based custom board, with kernel version 3.12. We are facing system hang during one of the init script,(Which brings up WiFi) this hang happens after random number of ...
0
votes
1answer
26 views

internet connection issue after installing ubuntu

I just installed ubuntu 16.04 on a HP labtop. The installation process was finished successfully. I also enabled the wireless internet, the wireless icon shows the wireless connection is established. ...
0
votes
2answers
33 views

Bash apt-get updater script via desktop laucher

I have a basic apt-get updater script that I am able to launch as root on GNOME3 via the main menu (alacarte). I'd like to be able to launch this script by double clicking via the desktop while signed ...
0
votes
1answer
33 views

How to send a ghost email message?

When I was running tcpdump and watching output on my new created VPS (OS:CentOS 7.1) via SSH, a message appears suddenly: OPTIONS sip:100@My_VPS_IP SIP/2.0 Via: SIP/2.0/UDP 69.64.57.15:5596;branch=...
0
votes
0answers
15 views

resize partition to get some space from EFI partition

I realized that I gave lot more space than required for EFI partition. Is it possible to get some space( 9G ) out of EFI partition into /dev/sda3? This is my current partition: [root@archpc ~]# ...
-1
votes
0answers
16 views

Expanding hard disk partition size

I installed Linux Mint on my computer which already had Windows 10 so it dual-boots now. Unfortunately, when creating the partition for the Linux Mint installation, I allocated too little space for it ...
0
votes
1answer
47 views

Remote docker over ssh tunnel

I have been testing docker. Due to strict firewall policy that blocks all ports except the ones necessary, I bind my docker clients to local ports and use ssh tunnels to access them remotely for the ...
0
votes
1answer
45 views

Unable to clean ^[(B control characters from log file [duplicate]

I am trying to clean all color control characters from log file. I am able to clean all other control characters except ^[(B . Please help me to clean this control character also. I am using these ...
3
votes
1answer
41 views

Create a bootable clone in Linux

I have a working Linux system (Centos 6.7) which I would like to clone to a bootable hard disk. The hard disk is also internal. The purpose of the clone is for disaster recover as well as to allow me ...
2
votes
1answer
50 views

How can I run Linux in 256 color

I want to run a Linux distribution in 256 color. Doesn't matter which distribution can do it. I tested Ubuntu 14.04, but it can't run lower than 16 bit. (using /etc/X11/xorg.conf) Which ...
1
vote
2answers
26 views

bash : export: `PATH:home/pi/netkit/bin:/usr/local … invalid indentifier [duplicate]

Currently I'm struggling with some notification every time I open terminal: bash: export: `PATH:home/pi/netkit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:bin:/usr/local/games/:/usr/...
1
vote
1answer
37 views

cd to previous directories [duplicate]

I'm running CentOS 7, but hoping there is a general Linux way of doing this. So you can cd back and forth between the previous and current directory with this: cd - Is there I way can cd back ...
1
vote
1answer
33 views

how can I schedule a custom script to run whenever I restart a service

I wish to know how can I schedule a custom script to run whenever I restart a service. My use case is that I have to run several commands whenever I restart my Tomcat Service. I want to know if there ...
1
vote
0answers
19 views

Wi-Fi disconnecting after a few minutes

I'm using an old Thinkpad R32 that I found and I installed Debian 8 with LXDE. I'm using a Wi-Fi dongle which is the RTL8191SU. I installed it using firmware-linux-nonfree and firmware-realtek. It ...
1
vote
0answers
46 views

kernel messages “lost 9599 rtc interrupts”

I just started getting these messages on my Fedora 23 x86_64 system. Can someone tell me what they mean please? rtc broken or failing? Jun 4 01:32:54 fc23 kernel: hpet1: lost 9599 rtc interrupts Jun ...
1
vote
1answer
42 views

S-Video has no color output for cx231xx

I've got an Elgato Video Capture V2 capture card I'd like to use for capturing S-Video. Sadly, when I use tvime to capture, the output is shown in black and white. I tested this using cheese as well, ...
-1
votes
1answer
100 views

After upgrade kali linux some fonts have been missed [closed]

I upgraded kali linux 4.3.0-kali1-amd64 into 4.5.0-kali1-amd64 . After that some fonts has been missed.i tried to fix it.but i couldn't. This is an example error of that.. in login screen also the ...
1
vote
0answers
10 views

How to compile latest sources using older gcc glibc versions and run them? [migrated]

I'm able to compile & run the latest "stockfish chess engine" sources using GCC 4.8 or later on Redhat EL 7.X. The latest source code (alongwith README) is available at https://github.com/...
1
vote
1answer
27 views

Disable OS-level caching

I want to be able to prevent the OS from caching in memory either: A particular file, or Any file a particular process accesses (i.e. by specifying a pid) Either would be helpful since I don't ...
1
vote
0answers
39 views

Total memory decreased when increasing swap file?

I am running a low-end server with about 1GB RAM and I was trying to optimize my ram. But after increasing my swap file and emptying the buffers, my total ram, judging from free -m, have lowered from ...
0
votes
0answers
19 views

error nf_conntrack table full without iptables running

Why I am getting "nf_conntrack table full" error in syslog even when I am not running iptables? I believe if iptables not running then nf_conntrack shouldn't used, even it's loaded into the kernel.
0
votes
1answer
27 views

Installing ROOT(statistics program from CERN) on Linux Ubuntu

I'm trying to install ROOT v5.34 on Linux Ubuntu v12.04. After extracting the files and running the configure script, I type in make to initiate the installing process. However, after some time, I get ...
0
votes
1answer
37 views

What desktop environment was Joli OS based on?

I know Joli OS was based on Ubuntu (or some Ubuntu flavour), but what DE was it based on? Or had it built its very own?
1
vote
0answers
12 views

creating a sysupgrade binary from existing install

Is there a way to create a sysupgrade binary from an existing install of OpenWRT? ... i.e. if I have OpenWRT loaded on a device, and configured in a certain way (packages, software ... etc), can I ...
2
votes
2answers
43 views

Mistakenly removed scsi-drive device files

I mistakenly removed my sd* device files via the following command: rm /dev/sd*. Is it possible to recreate the device files via mknod?
1
vote
2answers
26 views

Adding others rw permission to file

I have list of file with permission -rw-r-----. I want modify this permission and give access to other. i.e -rw-r--rw- Without modifying current permission setting, just add permission to 'other' ...
3
votes
1answer
45 views

ICMP - Destination unreachable (Port unreachable)

I have two Ethernet-wired connected devices. I gave to both of them address from same sub-network. As result I can see second device in arp-table of the first. $ arp -a ? (128.247.77.90) at 10:60:4b:...
1
vote
1answer
39 views

Automating ftp processes

My shell: bin/ksh My system: Linux 2.6.18-406.el5 #1 SMP Fri May 1 10:37:57 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux My script: ftp -divn XXX.XXX.XX0 << EOF! user user pass cd /home/dir1/...
1
vote
1answer
36 views

Search files in a certain period and copy them into another directory

The problem is that I have a directory containing many files with extensions .xml, .txt and .p7m from year 2015 up today. I must create a script that searches into the directory 1 all files created ...
3
votes
0answers
41 views

Dbus: Logout other user

I'm new with dbus. I know how to logout current user from terminal using dbus messages dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager ...
1
vote
1answer
44 views

Will these commands return the same output on different Linux distributions? [closed]

I am writing a monitoring script. I am running it on a specific machine, and it works. It is planned to be ran on several Linux machines, not bound to a single distribution. Here are the commands and ...
-1
votes
0answers
33 views

How to get character level difference using “wdiff” command in Linux using shell script?

I have two SQL files, one is old.sql and the other one is new.sql. old.sql contains a table with three fields, Emp_Id, Name and Address and data stored in old.sql as follows: INSERT into tab1 values ...
-1
votes
1answer
51 views

I SSH into a linux server via putty, and i have a linked drive on my windows machine. How can I access files on other drives?

I am using a linux server to run scripts and manage a database. I get to this using a SSH through PuTTY. On my windows machine there is a mapped drive to a directory (/mapped_drive/) on this server (X:...
1
vote
2answers
26 views

why do we need to specify 1 in the command iptables -I INPUT 1

While I configure the Linux firewall there is a command iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT In this command why do we need to specify 1 after INPUT
0
votes
1answer
36 views

Mount Samba in Linux Mint

How can I mount my Samba HD from my stock Asus n66u router to Linux Mint laptop over the air? I’ve tried tutorials, but they are either very confusing (since I don’t use Linux too often) or using a ...
1
vote
1answer
27 views

Can I clone a larger disk with lots of free space into a smaller disk

Is it possible to clone an OS disk with all its partitions into a smaller disk. The original disk has a lot of free space and the total used space is much smaller than the capacity of the new disk I ...
2
votes
1answer
35 views

USB keyboard won't work in Debian 8

Recently I installed debian on a separate drive on my desktop. My keyboard worked in the grub menu but not in the installation menu (I figured this was a fluke and pulled out an old ps/2 keyboard ...
0
votes
1answer
31 views

Find the video card information on the command line

I am trying to find the basic information (name, version) of the video driver(s) (which graphic cards are present) on a Linux machine (version 2.6.9). I've tried these commands: lspci lshw glxinfo | ...
1
vote
1answer
36 views

why the executing shell within cron job will take longer time than normal? [duplicate]

I have a shell script which will run project consist of multiple JUnit tests. Then I call this shell within cron job every a period of time. In this case, I observe the following: Time to complete ...
1
vote
2answers
29 views

crontab each 12 hour - when will it send an email?

I am installing new crontab job which will execute a shell script and then send the printed errors on the console to email. I know all of the required steps to do, which will be as following: 0 10,...
3
votes
3answers
52 views

Grep/awk/sed for lines composed of only two letters, and lines that start with a letter and meet a certain length

Not sure how many people are familiar with DNA sequencing data, but if this is part of my file (lines starting with ">" are IDs, and lines starting with a letter are DNA sequences): >NB501013:9:...
-3
votes
0answers
23 views

Audacity crashes on saving file on Mint LXDE

I have Audacity installed using the program manager on Mint LXDE. I have the most recent update of Mint. When I go to save an audio project Audacity crashes. I am able to export an mpg4 file just not ...