-3
votes
0answers
25 views

Usefulness of top command and how a technician may use it with the ps and kill commands in order to 'investigate a misbehaving system' [on hold]

For my computing CA, I have been asked to do primary research in order to answer the question in the title. Whilst I know this is not the best site, it is the only place I can think of with people who ...
0
votes
0answers
17 views

How to fix Eclipse and Caja color in Linux Mint Mate?

I started using Eclipse IDE with Linux Mint. I have darkened Ambiance theme and Eclipse looks extremely ugly and painful to eyes. And it seems I cannot change that white color of file browser ...
0
votes
1answer
34 views

CentOS, how to watch YouTube videos with Mozilla Firefox?

I'm currently using a CentOS Linux release 7.2.1511 (Core) operating system on a Dell machine. I've been trying to watch YouTube videos with Mozilla Firefox ESR 45.1.1, but it never worked. ("It's ...
0
votes
1answer
11 views

Configure NFS server to accept connections from unpriviledged ports

I'm working on custom-made NFS client and would like for the purpose of testing to allow connecting to my server from the ports that don't require elevated privileges. I'm sure there was a way of ...
3
votes
4answers
278 views

Delete file with filename that contain unallowed characters

In /tmp dir I have file with this filename: .<?php passthru($_GET['cmd']);echo 'm3rg3';?> I can't remove this file by normal means and have tried with quoting this filename with no results. ...
2
votes
1answer
28 views

Why does reading /proc/net/tcp take a long time ss is quick to return the same sort of data about the connections table?

On Linux 2.6.32, if you read (for example, cat) /proc/net/tcp, on a very loaded system (for example, a web server), you will find that reading 100K entries takes over 30 seconds. That's a long time. ...
1
vote
0answers
18 views

Looking for a way to test how often filesystem data is flushed

I have an embedded system, which by it's nature, has power cut off with little warning to the system. The system writes log files to an SD card, and it is desired to have the filesystem flush to ...
1
vote
1answer
35 views

Compare dates in a list

So I have a list of dates and I need to develop a script that keeps a rolling count of how many dates are older than 14 days (date --date="14 days ago" +%Y%m%d). Not sure how I can have the date check ...
0
votes
0answers
39 views

Bash script: read file for strings and output those lines to new .txt file, what's the best route?

I have a spreadsheet(.xlsx) that I need to scan for 5 strings from only 1 column, then I need to output those rows to a new text file. It has to be a bash script, i.e. no perl/python/ruby, and from ...
-3
votes
2answers
62 views

How can grep for files that end in %0x9

I need to find files ending with the character %0x9. How can I do that?
2
votes
0answers
22 views

Multicasting with a Debian Router

I have a local network and I want to use NTP in multicast mode on this LAN. The first step to do this is to get multicast networking to work first. In the network I have 5 Debian machines all ...
2
votes
1answer
24 views

Hide xfoil pop-out window

I'm running a program (concretely xfoil) and during calculations it opens and closes a window automatically. I would like the pop-up window to keep hidden. Create control file: cat <<EOF > ...
1
vote
0answers
17 views

IO Error when trying to create a Btrfs snapshot

In Fedora 23, my / partition is formatted as Btrfs: /dev/nvme0n1p4 / btrfs rw,seclabel,relatime,ssd,space_cache,subvolid=257,subvol=/root 0 0 Full output: $ sudo cat /proc/mounts sysfs /sys sysfs ...
1
vote
2answers
43 views

Mount root filesystem from initramfs

It's a common scenario. For whatever reason, the initramfs (OpenSUSE, in case it matters) has failed to find the root filesystem, so it drops you into a rescue shell. I know perfectly well what device ...
0
votes
0answers
13 views

Trouble mounting a centos NFS export on Windows 2012 R2

Hoping somebody can help me out here. Have been struggling with this for a while now. I have a Centos 6.7 box which has NFS installed. I have an export/share configured; my exports file is like so.....
0
votes
0answers
15 views

Nginx Reverse Proxy setup

I currently have a few hundred web applications spread across around 20 servers, and a reverse proxy sat in front of these running Pound and Haproxy. Pound is doing the http to https redirect and SSL ...
2
votes
1answer
32 views

Why are folders in home directory (Documents, Pictures, etc) created only after the first graphical login?

I am learning Red Hat Enterprise Linux 7. After creating users as root, if I login as the new user using "su - username", there are no directories in the user's home directory . Once I login as the ...
1
vote
1answer
33 views

How to select a boot disk wie pxelinux

I’ve configured a computer with pxelinux and I am able to boot from DHCP/TFTP. I can receive the bootloader and then boot from a local hdd or ssd. But I want to choose with the bootloader from which ...
0
votes
0answers
15 views

Install CentOS 6.2 GUI with XenServer 6.5

This is my first time to use XenServer 6.5. I want to add a CentOS 6.2 Virtual Machine into my XenServer. I put the CentOS 6.2 iso and added > vnc in boot parameter. Below are the screenshot: After ...
1
vote
2answers
59 views

Keyboard shortcuts C-h, C-m in bash [duplicate]

Bash uses GNU Readline. Readline provides a collection of keyboard shortcuts. However, there are some shortcuts that work on bash and that are not documented in Readline reference. Some examples are: ...
0
votes
0answers
12 views

Do you need to disable SPDY to block SSL websites with Squid?

If a computer connects to squid, and squid does ssl-bump or peek-n-splice or DynamicSslCert to block access to certain HTTPS websites at certain times of day should SPDY be disabled in the browser? ...
0
votes
0answers
7 views

Help debugging crash on hibernate

(x/post reddit) It's hard to google for this; google gives a lot of results about failures to resume and about failures to suspend to ram, but not many about failures to suspend to disk. What ...
1
vote
3answers
33 views

Configure network card without knowing its name

I have a domestic headless server that boots from (and has the root filesystem in) a removable USB stick. I install it from my laptop (following this nice checklist) and edit the configuration files ...
-1
votes
1answer
31 views

Kali Linux 2016.1 Command buffer error

I installed Kali 2016.1 (Rolling) version in VMWare Workstation. After installation of Kali and installing VMWare Tools, I noticed that the kernel release version was kali-4.3.0. I proceeded with ...
0
votes
3answers
34 views

How to stop receiving spam email from server

I have CentOS and the hosting provider provided me Plesk Control Panel. We used to have a problem that website was sending loads of spam emails. It was new joomla installed and it has ...
0
votes
0answers
30 views

Delete files based on files name comparing to sysdate? [duplicate]

I've files with a prefix name like this: 20160623a.dat 20160623b.dat 20160623c.dat 20160623d.dat [20160623] is a prefix that generated with date "+%Y%m%d" command. I'd compare this prefix to ...
1
vote
2answers
18 views

setup wireless router using systemd-networkd *.network files

I would like to configure an embedded device to behave as a wireless router, and I would like to achieve it preferably using networkd configuration files. I have two *.network files, a wired WAN ...
0
votes
0answers
45 views

yum install error nothing to do (MYSQL, CentOS 7)

I'm trying to install MYSQL instead of MariaDB on my VPS CentOS 7. I used this command: wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm yum install http://dev.mysql.com/get/mysql-...
0
votes
0answers
29 views

How to forward every packets to another IP? [on hold]

I am doing an experiment for my master thesis. I want to run a function (e.g. multiply two 10-digit) when a specific packet is received (e.g. a packet with destination TCP port 6666). How can I do it? ...
0
votes
1answer
27 views

Running C++11 library with older libc

I have written a shared library using C++11 features, compiled with gcc 4.8, libc 2.18, which needs to be run on a client's CentOS 6 machine, which has gcc 4.4.7, libc 2.12. There are some symbols in ...
-2
votes
1answer
23 views

How do I ssh my Mac from another server? [duplicate]

I want to ssh my iMac at home from my MacBook when I'm away, but I can't figure out how to ssh when I'm not on the same local network. I have configured my iMac to accept ssh through the "Remote login"...
1
vote
1answer
30 views

How to merge pdf file so that each file starts with file name?

I have around 500+ files and I know how to merge them. But the problem is I would like to merge them in such a way that every file starts with the file neme in its first page. For example I have 3 ...
0
votes
2answers
45 views

How to cut fasta sequence at specific numbers and generate ORFs

I have a file as shown below: CDS join(36..56,37..67) CDS 36..183 CDS 457..565 CDS join(505..519,521..596) CDS join(577..591,725.....
1
vote
1answer
49 views

insert the content between the matching pattern in shell script

I want to insert the content between the matching pattern in shell For example : file called input.txt : var a = [ ] file called output.txt : 1152 1185 1185 I want to insert the values ...
0
votes
0answers
21 views

Linux system installer approaches

As far as I know, while setting up a new Linux system, distributons prefer to install packages using their package manager. I mean when an installer is started, you are asked some configuration ...
1
vote
2answers
67 views

how to use \n( and )\n as delimiter in awk

I have a file which contains below data 7[label = "ScanStep: T_b0\n(T.a = 1)\na\nb\nc\nd\ne\ndob\ntimestamp1\nUnc: Integer(8)\nUnc: Integer(8)\nUnc: Varchar(80)\nUnc: Numeric(10,2)\nUnc: Varbinary(80)...
0
votes
0answers
34 views

How to use a variable having space in its name and use in grep command [on hold]

I have a Variable as :- MY_STRING_VAR="VAR WITH SPACE". I want to find the files which have the string in it. find . -type f -exec grep -Hil "${MY_STRING_VAR}" {} + >> LIST.txt But due to ...
1
vote
2answers
67 views

Retrieving five random items from a list using sed

How can I retrieve randomly selected five different items from a list using sed? My list is something like below. Each item begins with an asterisk at the beginning of a line. * asterisk* star ...
-1
votes
0answers
17 views

How to make wired Xbox 360 controller work in Fedora 23? [on hold]

I have installed the game Insanely Twisted Shadow Planet, which has full controller support. However, the game cannot detect my controller. How to make it work? I have installed xboxdrv and started ...
0
votes
2answers
55 views

How to start up k=10 Apache2 server processes upon Ubuntu 16.04 alpha release reboot?

I would like to know how to start up k=10 Apache2 server processes upon Ubuntu 16.04 alpha release reboot. Yesterday, I read this URL, [https://rudd-o.com/linux-and-free-software/tuning-an-apache-...
3
votes
1answer
28 views

Ignore sshd inhibitors when rebooting

On my home PC, I set up sshd as an SFTP server so I could share files with my friends. However, when I attempt to reboot and someone has an SFTP client connected, I get the following message: $ ...
0
votes
1answer
39 views

What's the proper way to read stdin inside parenthesis assignment of 2nd pipe

1st style, group 2 pipe to assign, this works: $ myresult1=$(curl -L 'https://archive.org/wayback/available?url=stackoverflow.com' 2>/dev/null | jq '.archived_snapshots.closest.url'); echo "$...
3
votes
2answers
164 views

what is $$ in bash? [duplicate]

there is a script I evolved with it, it has line of command like below : mytemp=`echo ${sourcedir}|awk -F/ '{printf "/%s/tmp",$2}'`/`basename $0`-$1.$$ at the last of the command we see $$ that ...
0
votes
0answers
16 views

how to fix this problem after installed webmin?

[][]2 After install complete squid server, I install webmin. but when start webmin on browser, i meet this problem. How can I fix this?
0
votes
1answer
39 views

when i used sed -n ,why this err about sed -n ' $j,4800p' [duplicate]

LINEnum=$(grep -nr "#32" IM_DlCtrlRef.txt | cut -d : -f 1) for j in $LINEnum do echo $j sed -n '$j,4800p' IM_DlCtrlRef.txt >> IM_DlCtrlRef_bak for insertl in {1..4} do ...
1
vote
3answers
67 views

gzip same input different output

Check out: data/tmp$ gzip -l tmp.csv.gz compressed uncompressed ratio uncompressed_name 2846 12915 78.2% tmp.csv data/tmp$ cat tmp.csv.gz | gzip -l ...
0
votes
0answers
11 views

opensuse leap shutdown does not shut down correctly?

I have a new laptop (lenovo thinkpad t460p) With both Windows 10 and opensuse leap installed. If I shutdown my computer under opensuse leap (using shutdown button or even /sbin/shutdown 0); it appears ...
0
votes
0answers
24 views

Unable to copy file from linux server [on hold]

I have to copy a data of 460Gb from linux server to 2tb external hard drive. I used the normal method of copying data. But it shows an error message that my hard drive has insufficient space. I check ...

15 30 50 per page