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
4 views

Burning Windows XP ISO To USB [migrated]

I'm attempting to create a bootable ISO for Windows XP using Gparted and dd in order to install onto another computer. However, every time I've attempted to do so and have burnt the ISO to the disk ...
-3
votes
0answers
24 views

Need to create shell script to extract logfile and extract timing detail from it and copy it in excel file [on hold]

I need to copy a logfile (containing details of job run on recent date) from different directory to the current directory and from that logfile i need to find some particular job timing detail to ...
0
votes
1answer
14 views

writing ethernet driver, without building kernel?

I write ethernet driver. But in order to test the driver, I need to make the kernel call the probe callback routine. It seems that I must register it in the appropriate board file(no device tree in ...
1
vote
2answers
47 views

Script to remove files based on threshold value [duplicate]

I have some old file in my Linux server and I need to remove those files which are older than 5 days based on the threshold value. log_space_checker() { Use=$(df -kh /logs | awk 'END{gsub("%",...
0
votes
1answer
24 views

Linux USART Serial Port

I'm trying to set up a USART serial port on a custom board with a SAMA5D36 processor, but I am unable to read in data from a connected device. When I run setserial -g /dev/ttyS1 I get the following ...
0
votes
0answers
4 views

How do I route Internet from wlan0 to local network on wlan1 and eth0 in Linux?

I want to connect eth0 and wlan1 as one local network plus route the Internet from wlan0 to the local network. Linux (Debian, Raspbian, Linux Mint) easily bridges Ethernet to Ethernet but I run into ...
1
vote
1answer
43 views

how do I know if and why linux is killing my processes?

I'm working on one of amazon's linux distros (4.4.11-23.53.amzn1.x86_64). (1gb ram)on that instance I am running node.js with the forever module. (It makes sure to restart the node.js process if it ...
-1
votes
0answers
16 views

Maximum number of iwlist scan results

This is a question with reference to the command line utility 'iwlist' on debian. I have a remote machine which I need to produce a list of networks in the area. I use iwlist scan and sometimes my ...
2
votes
0answers
59 views

Can't figure out why Ethernet packets are ignored

I'm trying to setup an ethernet connection between a PC (Windows XP) and a notebook (Debian 9) using a crossover cable. No DHCP, just manually set IPs and a netmask. The notebook has Qualcomm Atheros ...
1
vote
1answer
33 views

Is the root filesystem unmounted during a Linux shutdown?

What it says in the title. If the root filesystem is unmounted, then how can init be accessed to run the last few steps that occur afterwards?
0
votes
1answer
25 views

RedHat + what is the variable ARC in the /etc/sysconfig/clock file

from redhat doc we can see the following: The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. ARC=, where is the following: false or no — This ...
3
votes
2answers
64 views

Hide arguments of commands in ps

I run an application on a linux server, and when I run the application I supply the password as a command line, like this: ./myapplication --smtp-password mypassword In our application, we didn't ...
0
votes
0answers
10 views

How to configure pure IPv6 hotspot on Debian Linux?

Due to testing purpose I would like to create a pure IPv6 wifi hotspot on my Debian Linux 64 machine. Therefore I do (see screenshot): Open the Network tool Click "Als Hotspot verwenden ..." ("...
0
votes
0answers
6 views

Gather general information for a LXD environment

I have started some work on LXD containers, referring to the official documentation https://linuxcontainers.org/lxd/getting-started-cli/ . I have the following things in mind and cannot get a clear ...
-1
votes
1answer
62 views

Script to delete all files and keep only latest file

Any advise on how to do delete all files and only keep the latest file in each sub-directories, starting from a specific directory? This is what I have tried: #!/bin/bash find /home/ftp/ -type f | ...
0
votes
0answers
11 views

nfs auto mount not showing

fdisk -l Device Boot Start End Blocks Id System /dev/sdc1 1 26 208813+ 83 Linux /dev/sdc2 27 52 208845 83 Linux /...
2
votes
1answer
22 views

displaying a date after specific number days by reading a number

i have a file, in which there is a line Password=md@2507 where 2507 is the date when i changed the password for the last time. i want a script that read the date from the Password line of that file ...
0
votes
1answer
33 views

Static IP address setting failed

/etc/sysconfig/network-scripts/ifcfg-eth0: EVICE=eth11 TYPE=Ethernet ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=static ...
0
votes
0answers
15 views

How do I set up one GTX 960 to run three monitors using displayport Nvidia driver on Fedora 24?

How do I configure three monitors on a GTX960 gfx card for a continuous display across all three monitors on Linux (Fedora 24)? I've tried to Xorg -configure with the three monitors plugged into the ...
0
votes
0answers
17 views

Making Kodi Autostart

This is a really basic question but I'm losing my mind. I'm currently running the latest Raspian version which is based on Debian v8 (Jessie). I have been trying to get Kodi to autostart when the ...
30
votes
4answers
3k views

Is slash (/) part of the name of Linux root directory?

Is the slash (/) really part of the name of the Linux root directory? Or is it just a symbol for it? What about /etc and so on?
0
votes
0answers
34 views

JCE provider usable as root but not regular user

I am trying to install the nCipher JCE provider and have done the following - Copied the nCipherKM.jar file to $JAVA_HOME/jre/lib/ext Updated $JAVA_HOME/jre/lib/security/java.security with the line ...
0
votes
2answers
32 views

Failover default route on primary link outage

I have 2 ISPs, and a server with two IP addresses, something like this: eth0: 161.0.0.2 eth1: 171.0.0.2 I have set www.example.com with two A records, so that I have DNS LB. App is working fine ...
0
votes
2answers
33 views

red hat Linux + UTC properties and hw clock

from redhat documentation The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. UTC= where is one of the following boolean values: true or yes — ...
1
vote
1answer
27 views

Linux USB installer does not see my internal SSD drive

Laptop Lenovo 710s. The hard drive is a Samsung internal SSD drive 250 gigabytes. Model: NVMe Samsung MZVLV256 45 gigabytes unallocated space. Intel ChipSet Sata Raid Here is the issue I have ...
1
vote
1answer
29 views

moving a linux to another device

I am working on an embedded linux ip-camera. I need to have a backup of our Linux for testing and repairing cameras. I have tested multiple options like using tar and rsync , but it does not work and ...
0
votes
0answers
26 views

Sharing a linux x-session desktop using X11RDP

I want to share an x-server session over a remote connection. I have an application that runs under x using just open box. I would like the user to be able to push a button and have them connect to ...
0
votes
1answer
38 views

How to share a connection between two interfaces

Okay so either I am dummer then I look or there is a real problem here. Fedora 23 Interface 1: enp9s0 192.168.1.137 255.255.255.0 Wired (Internet connection) Interface 2: wlp0s20u14 192.168.10.1 255....
0
votes
0answers
32 views

Why I can not open port on redhat?

I want to host sinopia (https://www.npmjs.com/package/sinopia) on the server. My problem is I can not open port for it. Default port for sinopia is 4873. OK. Lets start sinopia and then try to ...
-1
votes
0answers
38 views

Problem with Mint 18 and VMwareTools

just installed Mint 18 as a virtual machine using vmware12, the problem is i can't install vmware-tools, at first i tried to install open-vm-tools as it's recommended by Mint, but it didn't work, so i ...
0
votes
0answers
6 views

Album Shaper replacement suggestions [migrated]

When I shoot photos they are usually not in order. Back in the days I used Album Shaper to arrange photos (drag and drop) in a correct sequence, then export those photos to a new directory. Album ...
6
votes
3answers
266 views
+50

How to Allocate More Space to Swap and Increase its Size Greater than Ram?

Situation: increase swap size (/dev/sda3) greater than Ram (8 GB) when HD 128 GB Motivation: 8 GB RAM is too little; 30 GB free space in my SSD; I want to turn 20 GB to SSD swap Characteristics of ...
1
vote
0answers
16 views

Why so many `scsi 4:0:0:0: CDB: Inquiry: 12 00 00 00 24 00` in my message log?

My os is debian8. cat /var/lgo/messages Jul 23 16:56:27 hwy kernel: [ 117.736167] scsi 4:0:0:0: CDB: Jul 23 16:56:27 hwy kernel: [ 117.736168] Inquiry: 12 00 00 00 24 00 so many Jul 23 16:56:...
0
votes
0answers
11 views

Error installing On a GPT parritioned Harddrive [closed]

I have a GPT partitioned hard drive... I've windows 10 pre installed, I've tried installing Windows 7 alongside windows 10, It couldn't due to GPT partitioned drive, So i am wondering if Linux mint ...
0
votes
1answer
28 views

What happened to my install when I ran fdisk on /dev/sda2?

I was trying to create an extended partition on /dev/sda2 which was an empty primary partition on a hard drive. The partition table is msdos I ran: fdisk /dev/sda2 instead of fdisk /dev/sda I ...
0
votes
1answer
22 views

Why do I have more packets than bytes? [closed]

I don't know how to explain this. mind blown. ip -s link 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether RE:DA:...
1
vote
1answer
14 views

Preparing a Ubuntu install for sharing

I have a virtual version of Ubuntu running in VirtualBox. Currently I have lots of personal information in it. I want to share the virtual image disk with other developers, but I don't want them to be ...
0
votes
1answer
40 views

Copying files from one sub directory to another

I think I must be missing something obvious. I am in a directory called AmHist, with 2 subdirectories, Assign and Resources. I want to move 2 files from Assign to Resources. I try cp LinuxHist ...
3
votes
0answers
39 views

How to determine how much time a process is blocked waiting for networking (socket) activity?

We are having issues with high load (top and uptime) but high CPU idle. Usually, that means high IO wait but that's also low. I believe IO wait typically does not include time a process is blocked ...
0
votes
0answers
24 views

Automatically to connect to open network with the highest signal strength [closed]

How can I tell Arch to connect to whatever open Wi-Fi network has the highest signal strength? (I want this behaviour with a honeypot partition or user in case my computer is ever stolen.)
1
vote
0answers
19 views

How to detect a specific WIFI network is connected by udev?

My system on laptop is Funtoo. I have a NAS at home and I'd like to mount some partitions automatically. Manually mount through NFS works already. Simply add lines to /etc/fstab is not a good solution,...
1
vote
0answers
23 views

“swap cache” of vmstat vs. “SwapCached” of /proc/meminfo

On my Fedora 24, I executed two commands to examine the memory information, however, I got two different results about swap cache's size. The first command is as follows: [root@localhost ~]# vmstat -...
0
votes
1answer
30 views

How to call a script from one file location in another bash script

I have a script named initTEST.ora at location $ORACLE_HOME/dbs. I want to call initTEST.ora script in another script named test.sh which is present in /home/oracle/script.
0
votes
0answers
25 views

What's the meaning of the letter 's' in file name “/proc/$$/smaps”?

I know /proc/$$/maps means sections in a process' virtual address space. However, I cannot guess the meaning of the letter s in file name /proc/$$/smaps. Any explanations?
-5
votes
1answer
42 views

The Linux shutdown process [closed]

Describe the typical Linux shutdown process for me. I don't know if there is a difference between a shutdown issued using shutdown and one issued by switching run levels, so explain both if there is a ...
0
votes
1answer
23 views

systemd: user service starts at boot with target default/graphical but not multi-user

I tried to start at boot a service running in my user's context, which did not work with multi-user as target but only with default, i.e., graphical. I enabled lingering for my user and the service ...
2
votes
1answer
45 views

How to compile against a custom kernel (Debian)?

There is a file version.h in /usr/include/linux. Many header files include this file and use the defines in there for their own ifdefs. However, when I compile my own kernel, I cannot see how this ...
3
votes
2answers
40 views

Problem with Wireless LAN on Linux Mint

I currently have a problem with Wireless LAN on Linux Mint 17.1. I can't enable WLAN, when trying to enable it, it disables immediately. Here some commands which I already tried out and found by ...
0
votes
0answers
22 views

What to do when i cant find mon0?

root@ubuntu:~# airmon-ng Interface Chipset Driver root@ubuntu:~# airodump-ng mon0 Interface mon0: ioctl(SIOCGIFINDEX) failed: No such device root@ubuntu:~#
0
votes
1answer
34 views

Fedora doesn't boot since 4.5.7-202: grub shows only a blinking cursor

I have a Thinkpad 460s with dualboot: Fedora and Windows. I am using grub2 as a bootloader. 4.5.7-200 boots fine, but 4.5.7-202 and the newly released 4.6.4-201 doesn't boot up, grub shows a blinking ...