Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

-2
votes
1answer
15 views

Linux debian based new distro development

I try to make debian based distro but confused because the size of debian is already 12 gb then how can i make it small ( i.e lesss than 2 gb ). If possible plz tell me steps what further i should ...
0
votes
0answers
7 views

Using USB intermet through android phone rename dev name

I had a issue every time I connect my phone and enable Internet USB, the assosiated interfaces name changes like enx$(random mac). There's a way to set the name like ppp0 vía udev? I tried vía vendor ...
0
votes
1answer
13 views

How to log out as root user in command prompt after creating non-root user

obviously I am extremely new to Linux, but I'm glad to finally be here...trying to kick windows is tough in some cases ;-) Anyway, I'm trying to follow the following tutorial @ ...
0
votes
0answers
3 views

citrix - icaclient - no valid ICAROOT directory found

I have icaclient 13.2 installed on funtoo and when launching selfservice, I immediately get an error: No valid ICAROOT directory found When I enter my gateway in, the error comes up again and I ...
-3
votes
1answer
46 views

please help…ive waste a lot of time and im freaking out [on hold]

im trying to get kali linux running in my virtual machine everything looks like it installs correctly but instead of booting up kali linux after installation im getting this error message. ive tried ...
1
vote
0answers
4 views

Encrypted boot drops to shell, how to set LVM crypttab consistently? 'ALERT! {logical volume path} does not exist'

I used Luks to encrypt my whole hard drive, and created that sda drive as a physical volume. Under that volume, I create a volume group vg00 with my 3 logical volumes lv00_root, lv01_home, and ...
1
vote
0answers
15 views

unable to change screen resolution of tty

I am using Fedora 21 in Oracle Virtual Box. I am using just tty (no GUI). I need to increase screen resolution, I tried following things but failed: xrandr but gives me error: cannot open display I ...
0
votes
0answers
12 views

Debian Linux Shell has no colors and desktop files/folders gone GNOME

Hello I have installed some packages to fix sound mute, but instead, after restart I saw no icons on desktop except 'Computer'. I have opened shell and wanted to do apt-get update but saw that the ...
1
vote
0answers
13 views

Separation between the User machine and Server machine by another linux for monitoring

I am planning to have three virtual machines with virtual box (m1, m2,m3). I already installed on m1 = Windows XP Home Edition, and on m2 = LUbuntu 15. The big picture is this : m1 : a user m2 : ...
0
votes
1answer
11 views

Nautilus crash with segmentation fault when opening a folder

I'm running Debian 8.1, GNOME 3.14.1 with Nautilus 3.14.1-2. Nautilus has crashed for me in the past, today I tried to understand the problem. I work with a lot of geodata and my folder ...
3
votes
1answer
16 views

Shared library mappings in /proc/pid/maps

Why does /proc/pid/maps contain a few records for the same library ? Here is an example: 7fae7db9f000-7fae7dc8f000 r-xp 00000000 08:05 536861 ...
1
vote
1answer
42 views

Read “/proc” to know if a process has opened a port

I need to know if a process with a given PID as opened a port without using external commands. I must then use the /proc filesystem. I can read the /proc/$PID/net/tcp file for example and get ...
1
vote
2answers
33 views

Command line to go in directory passed by which command

I want use a command such as this : which node && cd $_ to jump in the directory when the binary file reside, but the which command return all the path + name of binary ,so i get an error ...
0
votes
0answers
9 views

CentOS 7 and Windows 2012 multiboot from SAN

We would like to create multiboot configuration for our workstations. Workstations are equipped with Qlogic BR-825 HBAs that work in BIOS mode (not EFI). SAN presents to HBAs three LUNs: LUN0 - boot ...
1
vote
1answer
21 views

How to find out what distros are using particular Linux version?

Given a distribution and its version, I can find which version of kernel it uses, e.g. for Ubuntu they are listed here, and for currently supported versions of Fedora they are here. In general, ...
2
votes
1answer
20 views

How does mkswap work? What is in the swap header it creates?

I am looking at mkswap and trying to understand how exactly it works. From what I understand, it sets up Swap space on a partition by creating a swap header. How large is this swap header? Is it one ...
0
votes
1answer
60 views

SOLVED No SSH while loged off locally

So, I'm trying to access my laptop while I'm outside my LAN, but I have a problem, at least I think that isn't the normal behavior. I can't access via SSH if my user isn't locally logged in. I'm not ...
0
votes
1answer
25 views

iptables and ssh

I'm running Arch Linux and I have a running SSH daemon to access my machine when I'm out side my LAN. I can do the connection, but iptables keeps blocking SSH Daemon, so I can only connect if I turn ...
1
vote
1answer
19 views

Is there a file search engine with a webserver?

I connected a huge USB HD to my linux server. I installed samba and the files can now be accessed over network. I can search for files over network but the samba search is slow. Do you know of any ...
0
votes
1answer
21 views

Chroot - copy or mount --bind

In every tutorial I found online about chrooting, there is part involving copying stuff into the chroot, executables, libraries and others. Why is that? Why not just mount --bind the stuff in? ...
0
votes
1answer
8 views

Mirror screen with 2 different resolution displays, -with borders on larger resolution screen?

Help. The TV I'm trying to use as a monitor has overscan issues, it overscans both 1080p and 720p resolutions. For my use, I'd rather have borders compared to a cut off screen. I'm trying to get ...
0
votes
0answers
8 views

Granular control of rwx permissions on NTFS partition

I am running a Ubuntu-Windows dual boot setup, and I have a third NTFS partition for my shared data (documents, music, downloads, etc). I currently mount the partition using /etc/fstab like so: ...
-2
votes
0answers
35 views

How do I become an expert of C language on Linux? [on hold]

I want to start from the beginning. What are the steps I should take?
0
votes
1answer
14 views

Getting cron to include Date IN error log

So I have the following Cron job running: /home/ubuntu/scripts/austria/archive.sh >> /home/ubuntu/logs/austria/archive.log 2>> /home/ubuntu/logs/austria/archive.err Every time the scrip runs, it ...
2
votes
1answer
24 views

What do systemd “Vacuuming done, freed 0 bytes” messages mean?

I'm seeing messages like the following in my systemd journal: systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming ...
1
vote
4answers
51 views

Creating a snapshot of a linux system

I want to do the following - Save the current state of my linux OS(centOS6.5). Do some changes (more specifically inject a fault and test some service to check how it behaves when that particular type ...
1
vote
1answer
24 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
0
votes
0answers
5 views

Sync NAS (OMV) with OneDrive or DropBox

I have installed a NAS to my network, to backup all my files there, with OpenMediaVault. My question is if there is any possible way to sync a shared folder from that server, to an online cloud ...
1
vote
0answers
28 views

What does raw_spinlock mean? [on hold]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
0
votes
0answers
13 views

Having trouble with devices and USB ports

I have been trying to play Xwing vs Tie fighter on Linux Ubuntu Mate in virtualbox with my playstation 3 controller. After a few attempts It worked but I rebooted and it stopped working. If I load ...
0
votes
1answer
25 views

Continuing an interrupted `wget` session?

Is it possible to continue an interrupted wget session - eg. by parsing the log-file (created with -o or -a ), or after somehow have wget store additional information to disk (like it's list over ...
0
votes
1answer
15 views

Linux UART IO File

How bytes received on UART device are stored in some serial Linux devices /dev/ttyS? How to read them? What is the procedure? Should that device file be closed, when new data is arriving?
1
vote
1answer
31 views

Live Linux and FAT32

I'm looking for a Linux distribution that will run (uncompressed) on a FAT16/32/NTFS partition, preferably on an external USB drive. I've come across Slax and Porteus as well as a few others but they ...
0
votes
5answers
37 views

update the json file

I have a file, actually json file. How I can add a comma to the end of every but the last line ? For example: {"a":1, "b":1, "c":2} {"a":3, "b":3, "c":1} {"a":1, "b":2, "c":3} What I want: {"a":1, ...
1
vote
3answers
33 views

Select and sort IP address keeping the whole line

So I need to sort the IP Addresses and then sort my line by them. I can sort IP addres in a file by using : sort -n -t . -k1,1 -k2,2 -k 3,3 -k4,4 If my file looks like : add method1 a.b.c.d ...
0
votes
1answer
16 views

Configure internet connectivity in Centos 6.4 through wired LAN

I have a broadband internet connection through Hi-5 service provider in windows 8.1. In windows I connect to the internet after creating a connection and entering user name and password through the ...
0
votes
2answers
35 views

Different behaviour of eval “ command \”$@\“ ”, “$@”, and “$(echo $@)” when used as arguments [duplicate]

I would like to pass multiple arguments to the Tor browser (firefox) programatically through a function arbitrarily entitled tor. This is so as to command tor search terms and voila! My search terms. ...
0
votes
0answers
4 views

root filesystem on nvme device

I have an Intel 750 nvme drive. Works fine. Well.. sort of. I would like to use this device as my root file system. I have no bios support for nvme devices. I have the nvme driver enabled in the ...
1
vote
0answers
9 views

Is there something like “make localmodconfig” that detects *all* your hardware?

I understand that Linux's "localmodconfig" target looks through all your loaded kernel modules and produces a .config file that enables those modules. This is nice, but what about hardware whose ...
1
vote
1answer
12 views

Network Monitor Tun Interfaces

I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection. I already have logging of openvpn data ...
-3
votes
0answers
41 views

Error in youtube in view of mode theater [on hold]

Here is the problem I've found in Linux: How to fix it? It's in all browsers in my Linux. i from Middle East In the dailymotion website happens it also to Videos. The mode view of cinema is not a ...
1
vote
0answers
42 views

how to read a nand?

There is a NAND Flash drive embedded into the motherboard I am using. Linux by default does not read NAND Flash, how can I modify my system to allow me to read the NAND flash drive like any other ...
0
votes
0answers
13 views

LXC need desktop or server [on hold]

I am linux daily user but still naive to server. I want to install nagios and cecti to monitor my local server and network AP, switches and router. I want to try LXC or LXD. What type of OS (whether ...
0
votes
1answer
34 views

Proxy connection via SSH from one terminal to another

I have a private proxy which can be either HTTP/SOCKS, and i am renting a Linode server that i use for web-hosting. If I use a program like putty to SSH onto the webserver and run who it will display ...
0
votes
2answers
39 views

How to create (or modify) Linux distro? [on hold]

I've read about this and I think that Linux From Scratch is good, however, I'm confused what part I should begin with. My intention is to modify Linux distro - adding or removing some features and ...
2
votes
2answers
39 views

Use default gateway as ntp server

I have a lot of servers running debian and they all must synchronize clock to NTP server running on their respective default gateway. Since there is many servers on many different network segments, I ...
-1
votes
0answers
18 views

Password prompt is coming on screen

I have below code for auto login if ! [ -f $HOME/.ssh/id_dsa.pub ]; then expect -c" spawn ssh-keygen -t dsa -f $HOME/.ssh/id_dsa expect y/n { send y\r ; exp_continue } ...
4
votes
5answers
173 views

delete folders older than 1 day

I want to delete all the folders that are older than 1 day with following command: find /test -mmin +1440 | xargs rm -rf But the output of find lists /test (and would remove it accordingly). How ...
0
votes
1answer
23 views

How to run bunch of hierarchical dummy shell processes (process of another process, etc.)?

I would like to run multiple processes where each process is running another one, so it will create a long process branch. I've tried: $ bash -c '(bash -c "sleep 20"); sleep 20' & $ pstree ...
-2
votes
0answers
38 views

Limit user's access to their home directory [duplicate]

How can I set permissions for a Unix user such that they can't access any files outside of their home directory?