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

Error installing On a GPT parritioned Harddrive

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

Meta Keys on Linux Running on a Macbook

Regular keyboard designs have a several meta keys. Most of them appear twice, to the left of the space key, and to it's right. Shift, Ctrl, and the Windows/Apple key are of this kind. The alt key ...
0
votes
1answer
20 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
15 views

Why do I have more packets than bytes? [on hold]

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:...
0
votes
0answers
3 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
33 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 ...
2
votes
0answers
24 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
18 views

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

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
13 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
9 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
26 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
22 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
29 views

The Linux shutdown process [on hold]

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
0answers
11 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
34 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 ...
2
votes
2answers
28 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
20 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
22 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 ...
0
votes
0answers
16 views

regulate system volume with midi controller

Make midi controller regulate system volume. With the following code a midi controller can be used for controlling the audio volume of a linux system: aseqdump -p 20 | sed -nur 's/^.*controller 14, ...
1
vote
0answers
12 views

control volumes of multiple independent sound sources

In linux, how would one have multiple sound sources, which volumes can be controlled independently. For instance you'd have two youtube videos running, and each one would be controlled by something ...
2
votes
1answer
60 views

<Solved> How to shrink, clone an entire Linux disk and boot it?

I had an Ubuntu 14.04 running on a 1024 GB disk (disk A), which only used up to 130 GB spaces. I want to clone it to a 256 GB SSD disk ( disk B ). But failed. I used gparted to shrink the partitions ...
0
votes
2answers
33 views

How to Get Equivalent parameter to `mkdir -p` for `mount`?

Condition: mount if not mounted; do not give error if mount already done Command sudo mount /dev/"$PARTITION" /media/"$USER"/"$LABEL" I do not want to receive notifications mount: /dev/sdb is ...
2
votes
1answer
30 views

Find kernel name for a partition when only the label is known

Condition: find reliably device name where disk label (MasiWeek) and disk size (2 TB) are known Characteristics of the system Disk label is the name of the disc given by the user. It is listed in /...
-1
votes
0answers
27 views

Why does my connection time out? [on hold]

I'm trying to write "boot" in putty, I get the following message: connection timed out I have reinstalled putty but the problem persist. What is the problem?
0
votes
0answers
25 views

Blocking incoming connections from external ports

How can I block incoming connections from some port which exists on some internet server, not on my PC? I tried to do it by rule <port> DENY IN Anywhere in gufw firewall, but it looks like it ...
0
votes
0answers
29 views

why my cursor do this mess?

My cursor has a square around it. This square is very noisy. It interferes with defentive selection and also it merges many windows together to make them rendered in the box. It also leave a tail when ...
0
votes
0answers
27 views

both USB ports randomly stop working

the problem usually occurs about once per day, seemingly at random, but occasionally two times, and occasionally zero times. devices connected are: a new STAR printer with it's own power supply, ...
0
votes
0answers
18 views

OpenSSH ForceCommand

I want to disable this kind of command executing: ssh user@host command on my server. Then, I want to run some tests and later invoke the interactive shell What I did I've found in the web that ...
2
votes
0answers
39 views

Less RAM Aailable than installed on Centos 7

I can't seem to figure out why do I have less RAM usable than installed. I am running 64bit Centos 7 with 1 RAM module of 4096MB on a Lenovo x230. Some information from the machine in question: $ ...
3
votes
0answers
32 views

Unable to change default bitrate of wireless network interface

I am trying to change the bitrate of my wireless nic (AR9565 driver: ath9k_htc) for experimentation purposes. I am running Ubuntu 14.04 LTS and my card details are as follows: wlan0 IEEE 802....
0
votes
0answers
20 views

Automated Shell Scipt for Health Check to be displayed in mail

I need to arrange the below Mail Output in Order: FILE SYSTEM MEMORY: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-tmp 2.0G 81M 1.8G 5% /tmp MEMORY USAGE: ...
0
votes
0answers
8 views

How to use the man command to view documentation [duplicate]

I don't find man command to be much useful because I can't figure out what the flags are for and how all of them come together.
0
votes
0answers
12 views

Detect / log network changes in rasbian/ linux

I just stated using raspberrypi, Trying to learn some networking and linux stuffs. I want to log or detect network changes like If my machine joined a network. If any device joined the network of ...
0
votes
0answers
6 views

Virtual to Cloud Migration [on hold]

I have been assigned a task for the migration of Virtual Servers (Linux) to Cloud environment . Wanted to ask is V2C different from V2V migration. I am talking about RHEL 6 Servers hosted over an ESX ....
0
votes
1answer
19 views

Is it possible that the kernel doesn't let a already ready thread run even when there is a idle processor?

Suppose each thread's affinity is all the processors. Whenever a thread becomes ready, will the kernel attempt to find an idle processor to run it?
0
votes
1answer
25 views

Can't login after editing /etc/security/limits.conf

After edited the /etc/security/limits.conf file to set the nofile parameter to unlimited, server got hanged . Can't login in via ssh. Tried to take console, issue with console. Will reboot of the VM ...
0
votes
1answer
21 views

parsing oswiostat

I am looking for a way to parse an iostat file and grab the time and iowait. My files look like this: Linux OSWbb v7.3.3 zzz ***Wed Jul 20 19:00:08 EDT 2016 avg-cpu: %user %nice %system %iowait %...
1
vote
1answer
20 views

How can I mount /usr on another partition but use a folder called /usr on that partition instead of using / as /usr?

Somewhat along the lines of this question, How to mount multiple directories on the same partition? but my situation is different. I have a 2 small partitions that I'm using for two variants of ...
-1
votes
2answers
42 views

Accessing a Linux box for forget username and password [duplicate]

I have a physical linux box running some services. I have no any login information for that linux box. How do I get access to the box and check all the services running on that box? It is not just ...
-1
votes
1answer
26 views

Share WIFI creating hotspot on Linux Mint

I'm not able to create a hotspot in order to share my wifi connection. I use Linux Mint and I want connect my phone to WIFI through my laptop hotspot.
1
vote
1answer
32 views

How to set a path variable without root acess? [duplicate]

My college currently uses a very old (like 3 years old) openJDK 1.7 distribution. And being a student, obviously I don't have root privileges. I wanted to use a much later version downloaded a much ...
0
votes
1answer
41 views

How do I grant read access to all home directories of members in a group?

So I have 4 users on my redhat system. *P- primary group S- supplementary/secondary group* UserA - P: Teacher S: USA UserB - P: Teacher S: School UserX - P: Student S: School UserY - p: ...
-1
votes
2answers
28 views

what is the function of “ip link” command?

I've installed putty, and I'm trying to write ip link For what is it used??
0
votes
0answers
13 views

How to make a USB visible in LXD Container

I am fairly new to LXD Conatiners. I have a Host ubuntu 16.04 machine running which has a single container : root@ubuntu-blade1:/etc/udev/rules.d# lxc list +-------------+---------+-------------------...
-3
votes
1answer
15 views

how to configure kickstart server in RHEL7? [on hold]

please let me know the full configuration of kickstart server in RHEL7 server.
3
votes
1answer
34 views

Bitlocker like capability for Linux?

As you know large company IT departments generally enable Bitlocker on any Windows laptop. Generally, one does not notice an issue with this and it is relatively effective in protecting the raw disk ...
0
votes
2answers
30 views

When is the page table of a process loaded in memory?

I'd like to know when is the page table of a particular process loaded in main memory by the OS? Is it when the process gets scheduled? Is the OS capable of directly loading the process page table ...
0
votes
1answer
29 views

Check if it's an external flash drive or usb flash stick?

When a usb flash stick or usb external drive get connected, is there any way to check whether it's a usb stick or external flash drive by means of Linux? Is there any utility or something like that?
0
votes
0answers
17 views

cURL hanging on connection

I am using cURL from bash script. I have this code in a loop to download multiple files from remote server curl --fail --silent ${url} -o ${local_filename} Most of the time, this works as supposed. ...
0
votes
0answers
63 views

Still able to do connections despite settings [on hold]

Can you explain me why I can still make connections for example on port 3333 by nc -l 3333 and connect to the listening process while I have set in firewall blocking incoming and outgoing connections ...