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

1
vote
0answers
5 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
1answer
7 views

update the json file

I have a file, actually json file. How I can add a comma to the end of every 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, "b":1, "c":2}, ...
-1
votes
2answers
16 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
10 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
1answer
15 views

How to pass an argument to a java process from within a shell script

This may be a duplicate but the initial questions I have found did not resolve the issue. We have a script which calls a java process with arguments, one of the arguments has spaces in it. When ...
0
votes
2answers
25 views

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

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
2 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
8 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
34 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
40 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
12 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
0answers
24 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
34 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
37 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 } ...
3
votes
5answers
165 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
22 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
36 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?
0
votes
1answer
26 views

Big XML - copy data from nth Occurrences to another file

<XML> <Employee> <firstname></firstname><lastname></lastname> </Employee> <Employee> ...
0
votes
0answers
16 views

internal and extern ip adress when installing softwares etc [on hold]

I rent a Linux Debian server. I have problems with installing software on it. When I install centovacast, I have no problem, but when I create a radiostation into centova for a client, it gives them ...
0
votes
0answers
12 views

How to boot linux from usb and then change root, or something

My motherboard has USB3 ports on it but the BIOS Boot Mgr will only boot from the USB2 ports. I have a Xubuntu bootable system I have installed on a USB3 stick, but I'm stuck running it from a slow ...
-2
votes
0answers
28 views

Linux command line: How to move all files except those with a certain extension? [duplicate]

I have a folder with a bunch of files and .sh scripts. I want to move all of the files except the scripts to another folder. I am not looking for a bash command just a regular command which I can type ...
0
votes
0answers
29 views

How can i distribute a software package to workstations on the same network?

I want to distribute a software package from my Linux server automatically to the windows workstations on the network. I'm doing it manually at the moment, and I want to do it automatically from the ...
0
votes
2answers
20 views

SSH to docker container is not working

I'm running a Discourse forum software container in an Ubuntu Server, I was able to login to container using the command. sudo docker exec -it app bash And then I've setup password for the root ...
1
vote
1answer
24 views

Are Modules listed under /sys/module all the Loaded Modules?

I'm wondering if I can use the directory listing of /sys/module instead of lsmod to get a list of currently loaded modules. Is that the list of loaded modules only? Or maybe that combined with ...
1
vote
0answers
25 views

What happens to a multithreaded Linux process if it gets a signal?

If a Unix (Posix) process receives a signal, a signal handler will run. What will happen to it in a multithreaded process? Which thread receives the signal? On my opinion, the signal API should be ...
0
votes
0answers
10 views

send bootup script output to virtual terminal

I have a script that I symlink in as /etc/rc.d/rc3.d/S30initialize which basically makes it get called when entering runlevel 3. I want for the output of this script to appear on the virtual ...
1
vote
2answers
32 views

Remotely access my computer's framebuffer console from Android

I need to remotely view my computer's display. I am using programs that I launch from a text console, then they create their own graphical session, like Kodi or EmulationStation (it does not start if ...
0
votes
0answers
12 views

Kernel config for HP Stream 13 (booting from emmc disk)

I'm trying to install gentoo on hp stream 13 device and i am unable to boot up system from the emmc hard drive. Before trying gentoo on this device i have successfully installed debian, which clearly ...
3
votes
2answers
166 views

What is the difference between /sys/block/sda1/stat and /sys/block/xvda1/stat?

On my local machine, I have /sys/block/sda1/stat. On an Amazon machine, I have /sys/block/xvda1/stat. When I run cat /sys/block/sda1/stat or cat /sys/block/xvda1/stat both give 11 fields of output. ...
1
vote
1answer
17 views

service launched at boot, after all other?

Config : Linux Mint 17,2 (Ubuntu based, Debian based). I launch a home-made service at boot. Added with update-rc.d homemadeserviceName defaults I need to be sure homemadeserviceName runs after ...
1
vote
1answer
23 views

Making service NOT launch at boot

Context I made a service in init.d to be launched at boot (let's call it the primary service). And I updated update-rc.d primaryservice defaults This service calls 2 scripts (2 different task ...
0
votes
0answers
4 views

Spamassassin training problem with amavisd

I wrote a Outlook add-on that uses the Tell command to train spamassassin. The user selects the messages and clicks a Spam or Ham button. It works great. I have got everything to work but I cannot get ...
2
votes
3answers
39 views

Assigning “awk” or “nawk” to a variable in a shell script [on hold]

I have a script to be run on both Solaris and Red Hat systems. I want to use "nawk" in Solaris and "awk" in Red Hat systems as text processing tool. For that, I have a code snippet as below in my ...
3
votes
0answers
65 views

How to best track adventures of a novice administrator

I have this user that has limited sudo privileges, yet he manages to screw up from time to time. I would like to keep an eye on his adventures, so that I can reverse any damage with less digging. ...
0
votes
0answers
16 views

The server Emacs can't recognize the ALT key when link by a Mac

I use Mac's ssh to get access the server. I find the emacs in server can't recognize the ALT key. My server is rethat with emacs23
1
vote
1answer
11 views

Freeradius: No reply message for Failed Authentications

I have configured freeradius on RHEL 6.5 server for MAC based authentications and for this, I've followed this guide. According to the mentioned guide, I have created authorized_macs file for the ...
0
votes
3answers
260 views

Everything is a file?

In Linux, every single entity is considered as FILE. If I do vim <cd-Name> then, vim will open the directory content into it's editor, because, it do not differentiate between file and ...
-4
votes
0answers
36 views

small help in this qustion [on hold]

I tried many time with [username]=Foxr \$. But gives error. Q: Provide an instruction to alter your prompt so that it displays the following information: (time : instruction number) [username] ...
0
votes
2answers
22 views

nohup not updating nohup.out

Boiling down to the smallest problem here is a simple python script that I want to run using nohup on linux. I run it using the following (on linux): nohup python test.py & The command seems ...
-1
votes
0answers
15 views

Linux Mint 17.2 boot hang-up

I installed Linux Mint 17.2 XFCE on an old PC. The problem begins at the end of the installation process: the installation window disappears and I am only left with the live cd desktop that does ...
1
vote
0answers
35 views

Autocomplete not working on mounted directory in AIX 6

I have a Linux server (linux_server) which acts as NIS. There are two directories that are exported: /netdata and /nethome, which contains several users' folder and folders/files specific to users. ...
0
votes
0answers
23 views

Running linux with hybrid HD/SSD on a macbook pro

I considered installing Linux on a macbook pro (mid-2010, "6,2") to extend its lifetime as I currently encounter problems in OSX Yosemite with it slowing down, locking up, etc. However I have a hybrid ...
1
vote
1answer
98 views

How low can I go on RAM?

I have some old PCs runnning on my business. And by old I mean PENTIUM-3 800 MHZ and AMD DURON 950 MHZ, with 256MB RAM. They are running my business software today on Windows XP. I want to run Linux ...
1
vote
1answer
17 views

DHCP server with static IP not resolving hostnames (clients do)

Network Setup I have a server which I am trying to set up LXCs on I am using LXD which forces me to use DHCP DHCP is working fine already due to my setup I need to be able to access the containers ...
2
votes
0answers
34 views

Cannot boot into Linux off live USB

I am trying to dual boot Linux on my laptop (Dell XPS 15) which is running Windows 10 Pro. I did not have any problem dual booting the two operating systems on my desktop. I cannot boot up ANY Linux ...
1
vote
3answers
190 views

How to identify if a direcory is created by System or a root user?

How to identify if a directory is created by Linux system and by user like root. Example: in /etc there is a directory named sys which is created by Linux. And I logged in using root and created the ...
1
vote
1answer
44 views

How to make boot output verbose?

I use to enjoy watching my red hat then debian then ubuntu machine boot, the boot process was not hidden from my view, now it is, in most of all distros, now, I know I can somehow connect a terminal ...
-1
votes
0answers
18 views

How to create standard Linux Mint in USB stick?

I want to install Linux Mint to USB stick and boot from it. Full, standard (not Live USB) install. I have now Live USB stick in my Mac but it don't remember any changes so i want to change this live ...