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

wlan0 not showing in Kali

I tried to install compact-wireless-2010-10-26-p to resolve wlan0 issue under Kali 2.0 (VM) but encountered with the error shown in below screenshot: Videos available to resolve the issue show no ...
-1
votes
1answer
15 views

Cant find C drive in live boot

OK so i have a USB that i can boot Kali Linux in boot manager and choose the live option and it works well but when i browse for files (can't remember what its called) i don't have the other option (i ...
0
votes
1answer
17 views

VNC Client - Server, Unable to connect to remote server

I have a remote Linux server, I was trying to connect to it using TigerVNC, I can sucessfully connect to my remote server, when the server iptable is not running, but after I start running iptables, ...
0
votes
1answer
16 views

How lsof attach to shell script PID?

I am trying to run a small shell script .sh and i wanted to see what files it's going to open using lsof. how do i execute shell script and attach its PID to lsof? I tried following but didn't work: ...
0
votes
1answer
11 views

can't update-initramfs generating /boot/initrd.img-3.16.0-4-amd64 error

Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything. Configurando linux-image-3.16.0-4-amd64 ...
0
votes
1answer
19 views

can we specify number of inode & data block?

I learned that number of inode and datablock is assigned when created, but for example, if we want "text.txt" this file to be stored in inode number 20 or datablock number 20, can we do it?
2
votes
0answers
15 views

How to forbid the menu item selection by right click?

Clicking the right button prompts a context menu, then we can choose an item from the menu by a left or right click. However, it's really boring that we can use right click to select the item. ...
0
votes
0answers
20 views

Virtual serial ports /dev/pts

I'm trying to create virtual ports using GSM cmux. It creates virtual ports in /dev/chn 1 2 & 3. Which is linked to /dev/pts 0 1 & 2. But when I list dev directory there is no pts folder and ...
1
vote
0answers
31 views

Cronjob running but no crontab for user?

I'm having troubles with my crontable on the scientific cluster I'm using. It's a bit peculiar, since the jobs seem to run (I get regular mails from some updates) but when I type crontab -l the ...
-2
votes
3answers
28 views

linux crontab + how to set crontab at 23:00

please advice how to set the crontab in linux to run a task each day at 23:00 at night and if someone know a shell script that we can run in the linux that can help us to set acrontab syntax
0
votes
1answer
33 views

How to force an application to use a specific cpu? [duplicate]

For example : To build a kernel we can use make it will take more than one hour , to accelerate the process we can use make -j4 all this may finish almost four times as quickly. Generally : How to ...
4
votes
3answers
216 views

Do tmpfs and devtmpfs share the same memory region?

My system disk usage is like this: # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 39G 12G 77% / devtmpfs 5.8G 0 5.8G 0% /dev ...
0
votes
2answers
31 views

why is btmp not showing the username of logged in users?

I am trying to compare the output of the btmp file and who -a commands. I don't know why, but btmp file currently is not showing the username but its showing UNKNOWN in the username field. I am ...
0
votes
0answers
10 views

Experiencing screen display flickering because of Nvidia graphics card on Linux Mint 17

I just installed Linux Mint 17 on my computer which has a Nvidia graphics card GeForce 8200M. However, occasionally when I am using the computer/browsing the internet, like whenever I use Google Maps, ...
0
votes
0answers
15 views

ntpq timed out, nothing received [on hold]

Given below is my NTP configuration file in a centos box. driftfile /var/lib/ntp/drift restrict default kod nomodify notrap nopeer noquery restrict -6 default kod nomodify notrap nopeer noquery ...
-1
votes
0answers
20 views

Enlightenment WM starts but is empty can only see cursor

I have debian-8 stable. Used apt-get install e17 to install, logged out into usual graphic login selected 'Enlightenment' from the list of WMs, it then logs-in fine with no errors but there's nothing ...
0
votes
0answers
6 views

running an osc server inside wine?

Is it possible to run an osc server from wine that I can use to send messages to over localhost? I'm trying to do this from within reaper
0
votes
0answers
17 views

tun2socks (badvpn) - having trouble with setup

I am attempting to use tun2socks/badvpn to force all traffic through the tun device, but am having some issues. From wireshark, it appears that traffic is indeed going out properly, but not coming ...
0
votes
2answers
40 views

I'm somewhat new to Linux, can the Linux OS be fully learned through the exclusive use of Khali? [on hold]

I'm a young computer science student looking to get a head start on the subject of cyber security through messing around with Kali. I know the basics of Linux but not the detailed ins & outs of ...
0
votes
1answer
29 views

How does Raspbian draw images on the terminal?

When you turn a Raspberry Pi on, it displays three (or four) pictures of raspberries in the top-left corner of the screen. Now, as far as I know, you cannot draw images or any other non-text content ...
2
votes
1answer
20 views

How to map Linux hard drive identifiers like “sd 3:0:0:0:” to ones like “ata8:”? [duplicate]

In my kernel log, I can see entries like: [ 0.765510] sd 3:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) and when something fails, it's usually something like: [ ...
1
vote
0answers
18 views

Booting from copy of Linux directory structure

I have a folder containing the folder structure of a Linux machine from /. Is there anyway that I can boot from that folder? Ideally I would create a vmdk so I can get a virtual machine out of it. The ...
1
vote
0answers
16 views

LXC: Any security difference between root and end-user owned unprivileged containers?

I intend to use LXC containers to isolate most of the network facing services. As per my understanding, I have mainly two ways to do this: Create unprivileged containers owned by root. In this ...
1
vote
0answers
15 views

Openvpn authentication fail caused by wrong system date time

I have a remote linux device connected as an openvpn client to an openvpn server over TCP, with standard certificate authentication. Unfortunately this device has lost the current system Date Time, ...
1
vote
3answers
155 views

shell scripting with large amount of files - timelapse

I have created a shell script to capture images every minutes on my raspberry pi. I think something is not quite right as it has been taking pictures but not saves them. I wonder if someone could just ...
0
votes
1answer
21 views

linux + how to monitor dropping from ifconfig or ip

How to monitor RX dropped packets in Linux 7 with tcpdump ? Or maybe any other way? And what is RX dropped? ifconfig results on eth1: # ifconfig -a | grep RX | grep dropped RX errors 0 ...
0
votes
1answer
17 views

Disable automatic serial port probing in Linux(Fedora)

I use a device that is connected to my Linux (Fedora21) PC via usb-com serial adapter. When device is connected and /dev/ttyACM0 is created in system something sending a series of modem AT-command for ...
1
vote
0answers
25 views

Needed shell script modification to show IP and host DD-WRT

I am running DD-WRT v.3.0 on my Linksys EA6500 router and I have the following script running in order to give me access to the WiFi MAC address that are currently connected to the router: echo ...
3
votes
3answers
41 views

How do I create and automatically sync a “merged” directory from multiple other directories without duplicating files?

If I have some number of source directories, e.g. dir1, dir2... dir5, how can I create an automatically syncing "merged" destination directory that has all the files and directories of the source ...
0
votes
1answer
27 views

How do you change the Hugepagesize?

How can I change the pagesize for Hugepages on Linux? I'd like to increase it to 4096 kB or 8192 kB. I'm working specifically with Centos and Amazon Linux. $ grep Hugepagesize /proc/meminfo ...
1
vote
2answers
19 views

OpenVPN client setup

I have been following this tutorial – Howto Configure OpenVPN Server-Client on Ubuntu 15.04 – to set up OpenVPN on my Ubuntu 15.04 VM.  I have followed it through and through, and am kind of stuck ...
1
vote
0answers
18 views

How can I tell if xfs_repair is stuck or still running?

I have a backup server with ~72TB of space. Only about half of that is used. Earlier in the week I got the following message and directly after the xfs filesystem was unmounted. Mar 15 15:15:47 ...
0
votes
1answer
37 views

Problem: Having file name contain Space and fetch the file [duplicate]

I am trying to get all file which is reside in one folder and file name have space like 1)File Test 050791.xml and i am fetching using below command export srcfileTimeCheck="$(find $dir -type f ...
1
vote
1answer
24 views

How to give write / create right to not yet existing files w/o write access of the parent directory?

I don't know if this is even possible so I need to ask. I'd like to allow a single file to be created by a user (a flag-file) but only that file should be able to be created. As I have the parent ...
0
votes
0answers
9 views

Ubuntu 14: web cam is not detected

Today I bought an usb web cam. However, when I connected it to the PC and did lsusb there is not web cam in the output of the command (only keyboard and mouse). However, when I connect the cam starts ...
0
votes
0answers
16 views

Trying to run OpenVPN in Network Namespace

I want certain apps to access the internet via OpenVPN. I found a solution in the final answer/comment at the bottom of this question/thread here: Feed all traffic through OpenVPN for a specific ...
1
vote
2answers
61 views

How to make a minimal bootable linux (only with terminal) from kernel source code? [duplicate]

I want to make a very minimal linux os which only have a terminal interface and basic commands/applications (busybox is my choice for commands/apps). I don't want the installation option on my os. I ...
-4
votes
0answers
27 views

Root Password Hack [on hold]

This may sound unethical and maybe it is... but my intentions are purely educational!! I access my university's internet connection through a thin client ( VXL Itona ) and I know that the internet ...
0
votes
0answers
10 views

unable to adjust screen brightness in kali linux ASUS ROG

With a great difficulty i managed to install kali-linux on to my ASUS-ROG but now i am not able to adjust brightness of my computer. My brightness keys and fn key both are working fine. I checked them ...
-1
votes
1answer
37 views

What is Elementary OS based on?

I've seen how Ubuntu is based on Debian, and how Manjaro is based on ArchLinux. What is Elementary OS based from? May I also ask on how the bases differentiate the OS itself?
0
votes
0answers
21 views

Random log off without any warning

I have a netbook with Debian 8 (before kali, and before that, ubuntu) And i got a weird problem (with all them): even without xserver running, its log off randomly without any warning. dmesg doesn't ...
0
votes
0answers
17 views

how to create a operating system [on hold]

Hai I'm saran I need to create a operating systems called ORANGE operating system my ultimate aim is to lead a apple ios give some tips and ideas to lead the journey of orange 🍊s
0
votes
1answer
12 views

LVM Snapshot - Copy on write - does it apply to new data?

I have been reading about LVM Snapshots, and I have a general understanding of how it works. If a snapshot is made of source data, I understand that the copy-on-write (COW) means that if a ...
0
votes
1answer
27 views

How can I pause or freeze a running process? [duplicate]

I would like to pause/freeze a process in time; how can I do that? Not duplicate because kill -STOP <PID> has caused applications to crash when I've used it.
0
votes
0answers
15 views

No X11 DISPLAY variable was set, but this program performed an operation which requires it. In running JMETER

I am trying to run the jmeter.sh using ./jmeter.sh but always encountering this error. No X11 DISPLAY variable was set, but this program performed an operation which requires it. i've already run ...
0
votes
0answers
10 views

referencing init script from custom location for Running it as a linux daemon

I am installing a software in a RedHat or SUSE Linux system. The whole software belongs to a specific user. From my basic knowledge on linux systems for installing any script as a linux daemon you ...
21
votes
7answers
2k views

Why does Linux need to have both `/dev/cdrom` and `/media/cdrom`? [duplicate]

Inspired by this question. Why does Linux need both /dev/cdrom and /media/cdrom? Why not just access files on the cdrom through /dev/cdrom?
0
votes
1answer
11 views

Xubuntu boot loader not showing while triple boot xubuntu, mint and windows 8

Here is what I did 1. I had mint and windows 8 installed on my laptop and wanted to install xubuntu also. I converted my disk to basic and GPT as xubuntu installation wizard was not showing windows ...
0
votes
0answers
23 views

Partition alignment when imaging with dd

I'm running Debian 7 (Wheezy) on my notebook and want to update to Jessie. When installing, I took care of the partition alignment on the ssd. My next steps would be to clone the existing SSD to a ...
1
vote
1answer
29 views

How can I check read permission of /proc/*/* files?

Files in /proc/ seem to be world-readable, but return permission denied: $ ls -lh /proc/5589/smaps -r--r--r-- 1 root root 0 Mar 18 13:11 /proc/5589/smaps $ cat /proc/5589/smaps cat: ...