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

0
votes
0answers
21 views

Linux Disk IO Statistics Across Devices

I've read a whole bunch of posts regarding methods of capturing disk IO on Linux, however none of them have answered the source of my confusion. In my case, I am monitoring disk IO on Linux using ...
0
votes
0answers
43 views

Is IP over USB 3.1 type-C between two Linux hosts at 10Gbps possible?

I've been unable to determine on my own if I can do this. I'm wondering if it is possible to connect two Linux systems with USB 3.1 with type-C connectors to setup a point to point network (IP or ...
1
vote
0answers
12 views

Webcam Intel Realsense not working on Fedora

My laptop carries an Intel RealSense F200 webcam that isn't working properly on Fedora, when I start the webcam the output image is green with my silhouette. I searched the net and found this library ...
0
votes
1answer
48 views

Hidden files beginning with B

I am currently doing an assessment and I am stuck on a question, it's "how do you modify the ls -a command so that it only shows hidden files beginning with B?" I have managed to find out how to show ...
0
votes
0answers
12 views

Cannot start GlassFish 4.0 on RedHat 5.11

I successfully installed Java jdk1.7.0_79 and NetBeans 4.0 on my server Red Hat 5.11 Server with these instructions I run GlassFish using the command: [root@lts5srv1 bin]# ./asadmin start-domain ...
0
votes
1answer
27 views

Working dual boot system screwed up after booting from an external drive?

I have had a working dual booting fedora (23) and Windows 10 system (for quite a while). I was tinkering with an old computer and was using the above system to update a 32 bit Ubuntu system on a ...
0
votes
0answers
14 views

Squid Download limit for the particular user for a particular day

I have used reply_body_max_size for setting the download limit for the day. But it is working for the maximum size of the file to be downloaded. Used delay_pools but it is setting the bandwidth. ...
0
votes
0answers
12 views

boot in legacy mode Dell tiano bios

I would like to boot from a USB storage device on my Dell XPS 17 with tiano bios. The problem is that I am in legacy mode and my PC seems to not support UEFI. I've created my USB key with the ...
0
votes
0answers
19 views

Watermark in cups

how can i add a specific watermark in top of all papers that printer print in cups ? i need make a header for all pages. is it possible ? my watermark is a text or a photo. I need a way I want add ...
1
vote
1answer
24 views

Linux core file not created

I want to investigate why my machine suddenly rebooted but I am not finding the core file. My machine has RH 7 and kdump installed: rpm -qa | grep kexec-tools kexec-tools-2.0.7-19.el7_1.2.x86_64 ...
1
vote
1answer
29 views

How to test linux NAPI feature?

I am trying to test the NAPI functionalities on embedded linux environment. I used 'pktgen' to generate the large number of packets and tried to verify the interrupt count of my network interface at /...
1
vote
1answer
42 views

wget a website to csv

is there a way to wget a website and put it's tabular content in .csv? or maybe a cURL request a webpage, grab it's tabular content represented in numbers that consists of HTML to .csv?
1
vote
0answers
19 views

Network teaming or bonding in Ubuntu 12.04

I have two NIC cards and two ISP providers. If one network is down, how can I automatically switch to other network which is up. I am using Ubuntu 12.04, is it possible?
-1
votes
1answer
31 views

How to preload Linux on a laptop [closed]

I want to erase a laptops hard drive and preload it for someone else. How could I do that? Is it even possible?
0
votes
0answers
63 views

Insert missing numbers in a sequence, make corresponding column default to `0` [duplicate]

I want to include any missing numbers in a sequence, and introduce 0 as default value in the corresponding columns which would otherwise be blank. Input "afile": 1 4 2 7 3 8 4 3 10 145 ...
1
vote
6answers
88 views

How to check what file content changes, not the atime, mtime, ctime in Linux?

Is there any ways to find out what file content has been modified or added in Linux. I am aware of the atime,ctime,mtime. Say I created a script "myscript.sh" and somebody changed some content of it ...
1
vote
0answers
21 views

Execute file at /init before /sbin/init without an initial filesystem

Whenever Linux is booted using an initialramfs/initrd, it executes a file on the temporary filesystem at the path of /init before mounting the real filesystem and executing whatever is specified in ...
0
votes
0answers
28 views

Linux Shell Script Question. Comment out particular lines in a file [duplicate]

I have a very large file. I will put a short example below. I need to find a line containing a particular string, Then comment out that line, plus 2 lines above and 1 line below. also must maintain ...
2
votes
0answers
27 views

How to renice all threads and child processes on Linux?

Linux does not follow the POSIX.1 standard which says that a renice on a process affects "all system scope threads in the process", because according to the pthreads(7) doc "threads do not share a ...
0
votes
1answer
30 views

How to move files on remote CIFS share into different remote folder using e.g. smbclient

I am looking for a linux command to move set of files from one folder to another on windows box remotely. I tried smbclient, but when I use it for moving files I have to perform two step process: ...
0
votes
1answer
33 views

Cron job not logging?

Ubuntu Server 14.04 LTS, and I've got the following in a crontab: 00 06 * * 1-5 /usr/local/bin/scribe /etc/local/scribe.1.conf 1&2>> /var/log/local/scribe.1.log 00 15 * * 1-5 killall scribe;...
0
votes
1answer
24 views

rootfs.ubi doesn't allow login to shell

I have built rootfs.ubi using buildroot 2012.11. On boot I'm not able to login to buildroot login prompt also. Linux is built with UBI and UBIFS support. Earlier I encountered this behaviour if ...
2
votes
1answer
23 views

Add vi on Busybox which is trimmed down

I have a smart energy plug which is running Busybox and works over Wifi to my local LAN. I can telnet into it, but lack crucial binaries like vi. I'd like to add a few scripts to the device, but ...
0
votes
0answers
18 views

Why I cannot modify system-auth-rc

I am using REHL 6.4, and login as root by SSH. I am trying to modify /etc/pam.d/system-auth-ac, but meet: w:10 Warning: Changing a readonly file I have bellowing right for accessing this file. ...
5
votes
2answers
69 views

Where the remaining memory of vm.overcommit_ratio goes?

If I disable memory overcommit by setting vm.overcommit_memory to 2, by default the system will allow to allocate the memory up to the dimension of swap + 50% of physical memory, as explained here. I ...
0
votes
1answer
13 views

interface bonding OpenSuse 10.2

Thanks for taking a look... I have a very old active OS, unfortunatly due to supplier issues I cannot upgrade to a newer version but I need to get Interface bonding active. The OS is OpenSUSE 10.2 ...
0
votes
0answers
27 views

IP NAT Routing with systemd-networkd and KVM

my setup looks like: KVM Hypervisor Ubuntu 15.10 with libvirt systemd-networkd configuration ==> 10-static.network <== [Match] Name=eth0 [Network] Bridge=br0 ==> 20-bridge.network <==...
-1
votes
1answer
23 views

Pick Values From A Oracle Select Query

I have executed the below command (Part of a 2 step procedure required for password reset when we face the error ORA-28007). SQL> select USER#,NAME,PASSWORD FROM user$ where name='TESTUSER'; ...
-1
votes
1answer
50 views

How to create a bootable partition with an ntfs file system that is compatible with a Windows 8.1 boot USB drive

I've been trying to use fdisk and gparted and I believe that I have a suitable partition on /dev/sdb1. Here is my command list: fdisk /dev/sdb1 n (I filled the whole drive with a new ...
1
vote
1answer
42 views

Is it possible to send color code escape sequences before login?

I'm trying to colorize the console and I'm having success with the following in root's .bash_profile: echo -en "\e]P7000000" echo -en "\e]P0F0F0F0" clear The problem is that this is obviously only ...
1
vote
1answer
17 views

Responsiveness of a CPU-busy RAM-moderate IO-moderate system [closed]

I am running computationally intensive multi-threaded jobs on my CentOS workstation with 4-core i5. Most of the time all 4 cores are busy, by memory usage is usually 25-50%, so there is no swapping, ...
0
votes
0answers
59 views

Spark example Pi fails to run on yarn-client mode

I tried my spark app on yarn-client mode and it's failure. And then I tried to run spark example of Pi on it and failure too. The systems I'm working on are as following: Ubuntu 14.04.4 Java(...
-1
votes
1answer
26 views

System Backup Over FTP Server

I am having a device running 3.0.9 GNU/Linux version which I am accessing over the ftp protocol. I want to create a system backup of that device provided it has only the basic utilities installed and ...
0
votes
1answer
65 views

loging in with 'su' command in one line

How can I log in with the su command in one line in the terminal? I know that the sudo command can do that: echo [password] | sudo -S [command] But when I try to imply it in the su command : echo [...
3
votes
1answer
87 views

Undocumented format of Linux Audit log records

I am writing a parser for Linux Audit and I stumbled upon some weird cases which doesn't seem to comply with the standard. My reference is the Red Hat's documentation. A proper audit record should ...
1
vote
2answers
21 views

extract part of a line before and after a string

example line: 04/07/2016 11:23:44 [8344] BDFDD123A Some Text Here (Word: ABD_ABDCD, Word: Word, Word: Word Word-ABCAbcAbc-HOSTNAME.DOMAINNAME.COM-ASDF). I'd like to extract the "HOSTNAME.DOMAINNAME....
0
votes
1answer
62 views

How could I know my server's operating system? [duplicate]

I’m connected to my shared hosting server via ssh, and all I know is that it’s under Linux. I tried commands like: cat /etc/issue/ and lsb_release -a but got: $ cat /etc/issue/ No such file or ...
0
votes
1answer
18 views

Does default postfix installation support ssl and sasl2 Linux Mint (Ubuntu)

I am trying to setup a postfix mail server locally only to send mails on Linux Mint 16. I was successfully able to send mails to non TLS MTA, but not to gmail. Later I found that I need to configure ...
0
votes
1answer
23 views

How to recover a failed KDE4 desktop without deleting the entire ~/.kde4 directory?

This is a tale of two 64-bit Mageia 5 GNU/Linux systems equipped with 6xx/7xx nVidia video cards. Each is configured with a KDE4 desktop (task-kde4-minimal-4.14.3-2.mga5), and use a proprietary ...
0
votes
1answer
30 views

Incompatibility of High Level Assembly on Kali Linux Rolling

After reading the "Art of Assembly Language", I obtained the High Level Assembly language from the website listed in the book. After editing my .bashrc file, I compiled my canonical "Hello world!" ...
2
votes
2answers
78 views

i don't get ipv6. Why cannot I ping ipv6.google.com?

I am trying to send ipv6 pings from a computer in a LAN. Unfortunately it does not work. It seems that I have an ipv6 address in the LAN, but somehow the ping -Ieth1 ipv6.google.com just prints a ...
0
votes
1answer
53 views

Memcached Issue connection lost in between Centos

I have a application server on with I m running load balance with nginx.. my memcached is getting crashed in between. below is my memcache.conf file. # memcached.conf port=11211 pidpath=/apps/home/...
3
votes
1answer
35 views

Can I be sure that the name of a Linux Audit record's field is unique?

I am creating a parser/converter from the Linux Audit format. As I was studying the format, looking at examples and reading the documentation I stumbled upon a problem. Can I be sure that the field ...
0
votes
1answer
24 views

realization about performance filesystems and Inode

I have a hard drive when i execute "mkfs.ext3 /dev/sdb" filesystem makes if i have a file and it takes full of capacity of that hard drive 1-only one Inode i use for this file? 2-other ...
1
vote
1answer
18 views

Moving application to another folder

I installed an application (Matlab) in it's default location /usr/local/MATLAB a symlink to the executable was created by the installer itself in /usr/local/bin I then notice that my root partition is ...
0
votes
0answers
11 views

Connected UPnP clients on LAN network

I want to implement a home LAN network, which shares media and files using UPnP. On my router, which runs openWRT based Linux OS, I've added a miniupnpd to act as a server, and all other clients on ...
0
votes
1answer
65 views

how to execute a command only on the 3rd file of each folders

I have sub folders which contain 3 .txt files. Is it possible to choose only the 3rd file of each sub folder? Actually I want to copy and rename/add"e" at the end of each filename.Only on 3rd file of ...
0
votes
0answers
32 views

How to create a backup of your current state of Linux Operating System?

I want to create a backup of my Linux OS system with all the its present installed softwares and data. So that in case of hard disk failure or if I require to install the Linux OS on another system, I ...
0
votes
1answer
29 views

How to start the upstart process for golang application?

I am using upstart to start my golang application. I have my application folder structure like this, Web-app/ /app main.go I built the application $cd /home/ec2-user/go/...
-1
votes
1answer
42 views

ssh login does't work using key without password

It seems that id_dsa doesn't exist and it tries id_ecdsa, but it's there and I tried to regenerate it several times and still doesn't work. any one has the same issue and solved? or any one know how ...