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

Is it possible to build a Linux distribution for multiple SoC systems?

For a couple of days I am reading lots of articles and threads about the Linux kernel, Linux for ARM and the device tree, so I have basic knowledge about these topics by now. I understand that every ...
0
votes
0answers
4 views

How to print non-consecutive pages from a file, 2 pages per sheet?

I readed a lot of information about lp and lpr linux commands. Today Im trying to print 4 non-consecutive pages from a file, 2 pages per sheet. I tryed a lot of commands: This one prints 4 sheets, 8 ...
0
votes
0answers
7 views

cant boot into my debian operating system after using ntfs 3g [on hold]

i used NTFS 3g yesterday to mount my external hdd now i cannot boot into my debian OS . keeps displaying both internal hds arent mounted need help
0
votes
0answers
17 views

during copy linux creates file with 0 byte and a strange suffix

copying from local FS to NAS I get "permission denied", but linux creates the files with 0 byte. If I repeat the command the copy command works well. cp *.zip /mount/nas "Permisison denied" , but ...
0
votes
0answers
12 views

How to break down process of top command in linux?

I got problem with my site. I have a sharing hosting with high load cpu usage with wordpress site. When i loggin through my ssh terminal and running top command I got the following snapshot. I'm ...
-3
votes
0answers
16 views

Chrontab linux schedule twice depending on condition [on hold]

Ok guys i've been trying really hard to to this thinf but i am really at a loss. I just started learning linux and it's a nightmare. I need to write a script in which every Thursday of the odd months ...
1
vote
2answers
30 views

Is it possible to transport any device over TCP?

Is it possible to transport whole device as in /dev entry over TCP? I'm talking about transporting eg. joystick over TCP or mouse/rs232 port/framebuffer dev, soundcard dev, disks etc. I'm mostly ...
-2
votes
0answers
16 views

What happened to the icons? [on hold]

I don't when it started but one fine day most of the icons of the tools disappeared .
-1
votes
0answers
23 views

OpenSSL Padding Oracle vulnerability with latest openssl 1.1.0c

I have a test server running Centos 6.8 and can't overcome this message when running a SSL Labs test: https://www.ssllabs.com/ssltest/analyze.html?d=biduno.com&latest This server is vulnerable ...
1
vote
1answer
13 views

Find the process is in cache or buffer

I am running web and DB on a single server with 4GB ram. When I checked memory using free -m I can see most of the memory is in cached. free -m total used free ...
0
votes
0answers
29 views

Updating IP Programatically [migrated]

I am working on Embedded Linux and using MPC8323E-RDB board for development. I tried to set IP address to my board via a C-program, based on interface name "eth0". I am able to viewing present IP but ...
0
votes
0answers
19 views

wlan0 No such device found

I m new to linux. I changed my wifi password and was trying to reconnect to it but I failed when I type ifconfig wlan0 I get error message. something like no such device found
0
votes
1answer
35 views

How to use awk command to calculate the date difference between two columns in the same file?

I have a multi columns csv file, comma separated which has two columns with different date (mm/dd/yyyy). I am going to identify the difference between these two date. following is the example: echo ...
-2
votes
0answers
30 views

awk linux unix bash scripting

I am new to this thread. hope i can get some assistance in solving an issue i have how can i use awk to pick the last element in this record field and let it increment below record field a below ...
0
votes
1answer
26 views

dd script with timings

Trying to figure out the best approach to a script that will do the following: Create a loop script that creates a 10GB file using dd where, upon completion, removes the file, then repeats 25 times ...
1
vote
2answers
32 views

Can we switch into SysV in a distribution which uses systemd by default? [on hold]

/sbin/init points to systemd hence systemd is used. Can we safely change it into the old SysV?
0
votes
2answers
28 views

installing emacs on CentOS

I installed VMware and I have centOS installed in it and I'd like to install emacs on it but I don't find any source which has the tar file for that. I either find it for Linux or Solaris but when I ...
0
votes
0answers
7 views

How to revert to old source address selection

I'm trying to migrate some programs from an old server to a newer one (Centos 6 to Centos 7). I'm having problems because it seems that the source address selection algorithm has changed between the ...
1
vote
1answer
23 views

python one liner + compare numbers

please advice what is wrong with my syntax ( I use it in my bash script ) export CALC=3.4373 python -c 'print CALC > 2.2' Traceback (most recent call last): File "<string>", line 1, in ? ...
2
votes
1answer
27 views

Compiling a kernel on a different system

I work for Nimbix and have access to some pretty powerful multicore systems, I intend to make a kernel compilation service. The systems can have upto 128 cores and in my initial test with 32 cores, I ...
-2
votes
1answer
40 views

Windows anti-virus and anti-malware available on Linux? [on hold]

In relation to scanning a Windows partition for malware I see that both AVG and Avast install on Linux painlessly. Is there a full list of free-as-in-beer Windows anti-virus, or general anti-malware ...
-1
votes
4answers
30 views

sed + how to remove the word if one of the characters in word contain “m” or “M”

How to remove the word if one of the characters in the word contains "m" or "M"? I tried this, but it doesn't work: echo 6.5G 66.5m | sed -e 's/[m][M]//g'
0
votes
0answers
16 views

CentOS 7 GUI or CLI not loading

I have Installed CentOS 7 x86_64 and I fogotten root password. After then I resetted the password editing boot grub menu accourding How To Reset Root Password On CentOS 7 as follow. But after ...
-2
votes
1answer
20 views

How to delete zip file from ftp server using linux? [on hold]

i am unable to delete zip file from FTP server using Linux command. can anyone help me..
1
vote
0answers
11 views

Get number of bytes/packets in and out on a specific TCP/UDP port

I don't want to use tcpdumps or wireshark So, is there any way to get number bytes/packets transmitted and revived on a specific port. We can get in /proc/<PID>/net/dev of process which is ...
0
votes
1answer
20 views

How to wipe or write zeroes to hard disk using /dev/sg2

I want to wipe hard disk which is behind the raid controller. I am able to break the raid. After that, i m getting /dev/sg2 not /dev/sda like. # lsscsi -g [1:1:0:0] disk Hitachi HDxxxx jp40 --- ...
-1
votes
0answers
17 views

Recover windows using linux [duplicate]

So I was installing Linux on my external hard drive but, somehow it tried to over write my windows nvme ssd, it did not overwrite the data but it changed the partition to ext4. Hence my windows became ...
0
votes
1answer
20 views

does journalctl eliminate the need for most logging?

I am playing around with journalctl and getting used to the whole systemd setup, but having a hard time defining what it is actually doing... this site (https://www.loggly.com/ultimate-guide/using-...
0
votes
0answers
7 views

xfs_quota -x -c “report ” $PATH return null when configured project quota

cat /etc/fstab # # /etc/fstab # Created by anaconda on Tue Aug 9 15:24:43 2016 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8)...
0
votes
0answers
20 views

How to wait for rpm to finish installing and continue on with the script

I am new to linux and creating my first shell script. I have several rpm files that needs to be installed when I run my script. I have noticed that my script doesn't install the rpm one by one and ...
-2
votes
0answers
8 views

How to autostart a program as a non-root user, but after the networking is up? [on hold]

As in the title. Is there a neat, easy way (Cron?) to fire up a program after the networking is up (i.e. there's a Internet connection)? By 'neat' and 'easy' I mean also without installation of any ...
0
votes
0answers
13 views

Dual monitors not working in Debian Jessie

I have some all-in-one System76 workstations running Debian Jessie with XFCE. Whenever I add a second external monitor via DVI and reboot, the primary all-in-one monitor will go black, as if the ...
0
votes
0answers
17 views

Efficient/fast disk usage analyzing [duplicate]

I'm in charge of disk space management in my team. We work on Linux/Unix environment, and use lots of data (We currently use ~29 of ~32 TB). We create hundreds of GB on weekly basis, and try to keep ...
1
vote
0answers
7 views

Nagios/SNMP - devices alerting when ppp/tun connections cycle

Sorry if this is a repeat. I searched, but with no luck. I'm using SNMPd on an openwrt/wr host with some ppp and tun connections. These connections get IDs in the if table, and will actually get a ...
-3
votes
1answer
37 views

how to crash linux kernel [on hold]

how to crash linux kernel without root access of personal system ? i have to crash my linux kernel without fork bomb and without sudo or root access. please help me. I am searching on it from 3 weeks....
0
votes
1answer
38 views

“DoS” protection by default on Linux

Given that, by default, neither iptables nor ufw nor selinux nor apparmor are enabled, is there any built-in feature (maybe a sys parameter?) blocking TCP connections from an IP when a certain number ...
1
vote
1answer
33 views

“No such file or directory” as error for wrong architecture [duplicate]

I'm trying to run a cross compiler on my 64 bit Ubuntu. and it results in a following error: $ ./arm-none-eabi-gcc bash: ./arm-none-eabi-gcc: No such file or directory The file is here and contains ...
4
votes
1answer
41 views

Why does arp -a only show some machines on my network?

I ran arp -a on a Linux server, and this is the output: [root@trnsrv1 ~]# arp -a ? (10.223.8.82) at 00:50:56:B5:75:08 [ether] on bond0 ? (10.223.11.254) at E0:5F:B9:66:A6:00 [ether] on bond0 10.223....
2
votes
0answers
15 views

xfs fllesystem remount doesn't work when modify quota configure

1.At the begining mount | grep home /dev/sdb1 on /home type xfs (rw,relatime,attr2,inode64,noquota) 2.try to modify mount -o remount,rw,relatime,attr2,inode64,prjquota /dev/sbd1 /home 3.check ...
0
votes
1answer
24 views

Understanding kernel build options (interpreters?) [on hold]

I am building a kernel for the first time for an embedded ARM platform. I am surprise that I can find options such as games and interpreters like python or lua. Are they part of the kernel? Why such ...
-1
votes
1answer
33 views

-bash: ./configure: No such file or directory [on hold]

Getting error while installing node.js on aws ec2. Any one can help me that how could I install node.js on aws and run a sample test.js . Step by step instruction would be appreciated.
0
votes
1answer
19 views

Remove infront of word with if

I'm working on a script. I'm trying to print out a path that look somewhat like this: /example/example/file. If what I'm checking starts with / i do not print out the path I have in a variable that ...
0
votes
0answers
26 views

Systemd service unit not starting at boot unless #[Unit] is commented out

Running up to date Arch Linux ARMv7 (RaspPi 3). I have two systemd service units which I have created. I want foo to start first and then bar. foo starts on boot and bar does not. However bar will ...
1
vote
1answer
37 views

How do I tell I'm running in a chroot if /proc is not mounted?

I wanted to find whether I am inside a chroot as part of a script where I'm not allowed to mount /proc if it is not (unlike the case in How do I tell I'm running in a chroot?). How to find whether ...
-3
votes
0answers
27 views

which Linux distro is easiest to dual boot? [on hold]

For dual booting with Windows 10 in a GPT partition scheme for UEFI boot, which Linux flavor or distribution has the gentlest learning curve? I've tried a few distros. Perhaps there's a particular ...
1
vote
1answer
50 views

how do I scan the windows partition for malware?

Hopefully, not too broad of a question. For Windows 10, I was considering dual booting at least for the purposes of malware detection and removal. While AVG, and probably others, offer live rescue ...
1
vote
1answer
13 views

Can seccomp be used to enforce deterministic execution?

seccomp(2) can be used to severely limit what syscalls can be made from a particular process, including syscalls that introduce non-determinism such as getrandom(2) and gettimeofday(2). Is there a way ...
0
votes
1answer
32 views

Why I could connect a vm via two different ip address?

This vm is cloned from vmware workstation. This situation occured on both the original vm and cloned vm. The following is my steps, I set the static ip 192.168.6.201, but I could connect it via 192....
6
votes
2answers
936 views

Why is my environment full of ␀s?

I have a process whose environment is the following: root@a-vm:/proc/1363# hexdump -C environ 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 0000016c I've never ...
0
votes
1answer
21 views

Ansible, attempting to get specific regex pattern to work with lineinfile module

As per my question above: "Ansible, attempting to get specific regex pattern to work with lineinfile module" Essentially, I'm trying to get it to work in a single play as opposed to 2 separate plays, ...