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
3answers
11k views

How to reload routing table on Centos without lost network service

I've add 1 route in configuration network file, how to reload routing table on Centos without lost network service
1
vote
3answers
49 views

Lost in the world of VPN

The Q. If i have a server, is it possible to have that server with a VPN connection, while simultaneously having an entirely separate connection to be able to SSH to from client machine. The Why. I ...
3
votes
2answers
32 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
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, ...
1
vote
0answers
14 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,...
20
votes
5answers
5k views

Is there any reason why I get ^[[A when I press up arrow at the console login screen?

Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A. But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up ...
39
votes
12answers
18k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
0
votes
1answer
28 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
1answer
23 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
21 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
0answers
82 views

Debian - BeagleBone Black - Can't connect to internet

I've been using the BeagleBone black for about half a year now, running the stardart image version "bone-47", which is their image running on debian. Today I updated the OS to a newer image "bone-70", ...
112
votes
4answers
63k 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 ...
-5
votes
1answer
34 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 ...
2
votes
1answer
63 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
0answers
17 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
13 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
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 /...
0
votes
2answers
855 views

two NICs in the same subnet— need to set up routing

I have a tricky case: +---+ +----+ |D1 +->eth0---------<-eth0-+D2 | | | | | | +->eth1---------<-eth1-+ | +---+ +--...
5
votes
3answers
48k views

How to find which Process is causing High CPU usage

Is there any way to find out from terminal which process is causing high CPU Usage ? It would also be useful to order processes in descending order of cpu Usage
-1
votes
0answers
28 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?
5
votes
4answers
494 views

Is it possible to simulate “no external access” from a Linux machine when developing?

Sometimes I upload an application to a server that doesn't have external internet access. I would like to create the same environment in my machine for testing some features in the application and ...
2
votes
1answer
492 views
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
30 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
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 %...
0
votes
3answers
30 views

how can I supply negative value to nice() and run without error even if I am not the superuser

how can I supply negative value to nice() and run without error even if I am not the superuser can I do system("su"); nice(-1); it is asking for password which I do not want?
0
votes
1answer
25 views

What is Alternative of initlog (present in RHEL5) but deprecated in RHEL6?

I am using initlog tool in a cron file to write the output of ntpq -p command in syslog.. But initlog command has been deprecated in RHEL6. Now, I want know the alternative of initlog command in ...
1
vote
2answers
247 views

Understanding free -m Memory Usage

I dont understand this. When free -m show this: total used free shared buffers cached Mem: 15334 14025 1308 0 258 10918 -/+ ...
2
votes
0answers
41 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
36 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
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 ...
1
vote
1answer
33 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
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: ...
18
votes
3answers
4k views

Fork vs Clone on 2.6 Kernel Linux

I have some confusion regarding fork and clone. I have seen that: fork is for processes and clone is for threads fork just calls clone, clone is used for all processes and threads Are either of ...
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
1answer
3k views

How can I simulate usb storage device connection with qemu?

I'm writting a program for controlling usb storage device connections (this is a classic subject). All it's ok with my program, but now, I want to write some tests. So in order to do that, I realized ...
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
1answer
21 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
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 ....
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
vote
3answers
1k views

Link Local IPv6 address keeps being automatically assigned

I'm looking to prevent the IPv6 link local address from being randomly assigned. I'm not looking to disable v6 but rather statically assign my own link local. I've done ifconfig vboxnet0 inet6 add ...
19
votes
2answers
7k views

Why doesn't mount respect the read only option for bind mounts?

On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option # mkdir test # mount --bind -o ro test/ /mnt # touch /mnt/foo creates the file /mnt/foo. The relevant ...
0
votes
2answers
31 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 ...
-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
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
2answers
29 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??
21
votes
8answers
62k views

Checking if HyperThreading is enabled or not?

How can I check if hyperthreading is enabled on a Linux machine, using a perl script to check for it? I'm trying the following way: dmidecode -t processor | grep HTT Let me know if I'm on right ...
0
votes
0answers
14 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.
4
votes
1answer
647 views

Init-systems and service management on different distributions

Is there some overview which Linux distribution comes with which (default) init system and uses which tool for starting/stopping services? Is there some distribution independent way to start/stop/...