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

52
votes
3answers
188k views

How can get a list of all scheduled cron jobs on my machine?

My sysadmin has set up a bunch of cron jobs on my machine. I'd like to know exactly what is scheduled for what time. How can I get that list?
2
votes
3answers
1k views

Which Linux distributions have good screen magnifier software, either freely available, or preinstalled?

Which linux distributions have good screen magnifier software, either freely available, or preinstalled with the OS? Being a visually impaired nerd, I'd like to gain experience on as many platforms ...
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
0answers
40 views

Top panel locked - can't add/remove from the panel

I'm using gnome 3.18 and I'm unable to add/remove items to the top panel. In previous versions I was able to ALT+Right click on the panel to bring up a menu of options. I've tried Super (winkey) + ...
0
votes
1answer
47 views

Remote docker over ssh tunnel

I have been testing docker. Due to strict firewall policy that blocks all ports except the ones necessary, I bind my docker clients to local ports and use ssh tunnels to access them remotely for the ...
2
votes
1answer
25 views

nmap socket trouble

I've been trying to use nmap but it fails with the following output: Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-21 22:24 PDT NSOCK ERROR [0.3460s] nsock_make_socket(): Socket trouble: Address ...
0
votes
1answer
1k views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
-1
votes
1answer
57 views

Problem Counting the lines of a text file

I want to be able to get the number of non-empty lines in a text file. Suppose I have num.txt with the contents: 10 10 12 15 24 31 32 Here there are 8 lines, with only 7 that are not empty. How ...
-2
votes
1answer
38 views

Gather data from 100 AWS servers [on hold]

I have 100 servers running on AWS. I need to easily get how much data each user on the remote systems are using and output it to a text file. How could I best accomplish this?
3
votes
0answers
19 views

Tomcat, sql, kerberos, oh my!

I am working on setting up tomcat 8.0.35 on ubuntu 16.04 with Oracle Java (not openjdk) 1.8.0_91-b14 to use kerberos authentication when authenticating to our Microsoft SQL database. The issue I am ...
0
votes
1answer
11 views

Bash PS1 Doesn't Evaluate Variables

I'm trying to set my PS1 prompt to /usr/local/src mario So I've used the following code inside of .bash_profile: export PS1=" \w \u\[$(tput sgr0)\]" And I end up with: \w \u\[$(tput sgr0)\] ...
1
vote
0answers
9 views

iptables routing input and forward paths

I would like to know the flow of a packet given the configuration below. Suppose that I setup an adhoc network between my android phone and a NIC on my linux box. I then setup the android phone to ...
-4
votes
1answer
37 views

How to fix whois Command Error

i have Kali Linux version 2016.1 installed on my system. i am trying to run command "whois " but there is an error "bash: whois: command not found"
-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 ...
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. ...
-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?
0
votes
1answer
3k views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
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
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 ...
2
votes
1answer
2k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
0
votes
0answers
285 views

How to Install PHP 5.3.7 On Godaddy Linux VPS using SSH [closed]

I have bought a New VPS from Godaddy. They supported PHP 5.3.5 earlier and then 5.4.34 but I need to use PHP 5.3.7 on my VPS.
0
votes
3answers
40 views

No sound on fresh install of Debian

I'm on a fresh install of Debian with i3 and I'm quite new to Linux. I have both pulseaudio and alsa installed but I cannot get sound to output. I would have posted any command outputs but I'm not ...
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 ...
0
votes
0answers
46 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-...
4
votes
1answer
287 views

How do I (re)build/create/assemble an IMSM RAID-0 array from disk images instead of disk drives using mdadm?

The question: Using Linux and mdadm, how can I read/copy data as files from disk images made from hard disks used in an Intel Rapid Storage Technology RAID-0 array (formatted as NTFS, Windows 7 ...
0
votes
0answers
62 views

How to set user creation limit on vtiger CRM?

I have installed vtiger latest version. In the admin panel how to set the user creation limit? I need to set maximum users = 10.
-6
votes
0answers
32 views

Write a Shell Script to generate a report named “Report_DDMMYYYY_HHMMSS.log” [on hold]

Write a Shell Script to generate a report named "DD_MM_YYYY_HH_MM_SS.log"which performs the following operations: 1) ** Display the number of files present in the given directory (Directory name ...
1
vote
1answer
3k views

Dual-boot Ubuntu cannot access the Windows drive that it was installed on with wubi

I had Windows with two drives C: and D:. In the drive C:, I have my Windows. In the drive D:, I had my all other files and data. I installed Ubuntu in the drive D:, without deleting any data from it. ...
2
votes
0answers
135 views

MIME type changes if file edited in *nix systems

I have an excel file created in Windows machine. If I check MIME type with file -b --mime users.xlsx the result is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=binary ...
1
vote
1answer
50 views

Adding user to ownership in addition to another user [closed]

I had some problems with permissions, the programmers of my website wanted me to add the admin user to the apache group and then set some permissions. My knowledge of Linux is quite limited, so I ...
0
votes
0answers
9 views

Bushound alternative for Linux for SCSI logging

I was wondering if anyone knew of a good solution to logging specific SCSI device traffic on Linux? Does anyone knew of a comprable Linux alternative to Window's Bushound? I have looked at already ...
0
votes
1answer
39 views

Linux starting bash issue : command substitution issue

I try to start a new shell in my environment, but bash command has an issue: $ bash bash: command substitution: line 1: syntax error near unexpected token `then' 'ash: command substitution: line 1: `...
0
votes
0answers
63 views

Send command to open process in Shell file

In bash how can I issue a command to a running process I just started? For example; # Start Bluez gatttool then Connect to bluetooth device gatttool -b $MAC -I connect # send 'connect' to the ...
2
votes
0answers
50 views

-bash: /root/.bashrc: Permission denied

I have this server running Centos 7. Every time I log in (remotely on locally) with every user I get an error. If i log as root I get -bash: /root/.bashrc: Permission denied If i log as a normal ...
5
votes
7answers
692 views

Very basic Linux for educational purposes

I want to play with Linux to better understand how it works. Thus, I am looking for a very basic and small Linux to play with. I tried small Linux distributions (which copy themselves to RAM), but ...
0
votes
0answers
50 views

Ubuntu not allowing traffic to ports 1 - 1024

I seem to have encountered a weird issue whereby my ubuntu box is not allowing incoming traffic to the first 1024 ports or so, for both TCP and UDP. My iptables policy is set to ACCEPT for all 3 ...
1
vote
1answer
21 views

pkill not killing processes past immediate descendants of a process

I want to kill a chain of process e.g. PID PPID 100 XXX 101 100 102 101 When I use pkill -P 100 PID 100 and 101 die as expected, but 102 is given init as it's PPID. How can I force pkill to ...
0
votes
0answers
43 views

how to setup LAMP stack on linux server [on hold]

I've never ever worked with VPS but now I got one. i connected to the server and run command for finding the os version but i got this Screenshot of putty console: so I want to install LAMP stack ...
0
votes
0answers
7 views

Horizontal Workspaces in KDE SC 4.14

My College updated from RHEL 6 to RHEL 7, and with it came KDE. I want to have 2 rows and 2 columns for the workspaces, but I can't seem to find the setting. The only option in the tweak tool is to ...
0
votes
1answer
3k views

What variables are valid within /etc/default/useradd file?

My /etc/default/useradd file is as follow: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes man page for useradd provides many ...
1
vote
1answer
3k views

How to execute Netscaler commands through a remote machine via SSH connection

I have been trying to execute some NetScaler commands like "bind" & "unbind" through a Linux Box via an SSH Connection. Now the Problem is, Manually we are able to enter & execute commands on ...
3
votes
0answers
24 views

SoftIRQs and Fast Packet Processing on Linux network

I have been reading about performance tuning of Linux to get the fastest packet processing times when receiving financial market data. I see that when the NIC receives a packet, it puts it in memory ...
2
votes
2answers
1k views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf (...
-1
votes
1answer
29 views

source command doesn/t work when used inside shell script

I am using an installer which is adding an environment variable in the ~/.bash_profile file. When I'm starting the jetty server, it is unable to find that entry... When I run $ source ~/....
0
votes
1answer
1k views

What does “4m[terminated]” mean after restarting CentOS?

After installing CentOS 7 and restart it, it always promptd "4m[terminated]". After googling, I can't find the meaning of this phrase. What does this prompt mean? Will it affect normal OS functions?
6
votes
3answers
864 views

Asus X101H - Touchpad not recognized (want to disable while typing)

I have been struggling with this issue for a while and have done an exhaustive search for answers here and elsewhere before posting this question. On my Asus X101H, the touchpad is not recognized as ...
0
votes
1answer
24 views

What's the fastest way to install Postgresql on Wind River 7.0?

I'm new to bare-bones Linux systems and need to install postgres on a wind river Linux distribution. My plan was to install yum and then use yum to install the postgres rpm. I've tried to install ...