Go Premium for a chance to win a PS4. Enter to Win

x

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi experts
I have nextcloud 12.0 running on ubuntu desktop 16.4 the system working as well
After rebooting my ubuntu I found that the nextcloud stop working
I am trying to start Apache2 service but nothing happened
This is the first time I reboot my server
0
Free Tool: Path Explorer
LVL 11
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

What set -e dose in this shell script.

set -e



#!/usr/bin/env sh

ANSIBLE_ROOT=${ANSIBLE_ROOT:-~/ansible}
scl enable python27 bash <<!
set -e
export https_proxy=https://10.198.140.122:8080
if [ ! -d "$ANSIBLE_ROOT/bin" ]
then
    virtualenv "$ANSIBLE_ROOT"
    . "$ANSIBLE_ROOT/bin/activate"
    echo "Installing latest version of ansible"
    pip install ansible -i https://artifactory.global.raju.com/artif4actory/api/pypi/pypi-release/simple
    pip install docker-py -i https://artifactory.global.raju.com/artifactory/api/pypi/pypi-release/simple
    pip install docker-compose==1.15.0 -i https://artifactory.global.raju.com/artifactory/api/pypi/pypi-release/simple
    deactivate
fi
!

Open in new window

0
hi,

what are differences between below 3 grep requests


zgrep 'RPT|O|BundleShowing' nine.log.20171029.gz | grep 'Oct-29 23:' | wc -l


zgrep 'RPT|O|BundleShow' nine.log.20171029.gz | grep 'Oct-29 23:' | wc -l



zgrep 'RPT|O|BundleShowing' nine.log.20171029.gz | grep 'Oct-29 23:24' | wc -l


if i have to search from yesterday 11 pm till today morning say 6am how to refine my query.

please advise
0
Hello,

We have redhat GFS2 cluster and I saw the option called wait_for_all. It is disabled now.  Do we really need to turned on wait_for_all option?  It is 4 node redhat cluster.
0
hi,

when i searched below command
zgrep -C20  'account is persisted'  crm-java_crm23.log.20171025.gz

i saw one match and then 20 lines before and 20 lines after


but all 41 lines are so much clutterred to my eyes i cannot hardly figure out which i s match which are before 20 lines set wheich are 20 lines after set

how to indent and how to give a empty space between each of those 41 lines and also preferably double line space just before and after match
how to change these settings permanently?
please advise
0
grep -n "go" demo_text
5: * e - go to the end of the current word.
6: * E - go to the end of the current WORD.
7: * b - go to the previous (before) word.
8: * B - go to the previous (before) WORD.
9: * w - go to the next word.
10: * W - go to the next WORD

http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/

what is the meaning of above line numbers?
i am not clear on it. can you please advise
0
zgrep -C20  'account is persisted'  crm-java_crm23.log.20171025.gz

how to see in above grep 15 lines before grep match and 15 lines after grep match



how to see in above grep 30 lines before grep match and 30 lines after grep match

how to see in above grep 30 lines before grep match

how to see in above grep 30 lines after grep match

how to see in above grep exact match line

please advise
0
hi,

i am going through below link
http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/

what is dfference between below lines
zgrep 'account is persisted'  crm-java_crm23.log.20171025.gz
zgrep -C20  'account is persisted'  crm-java_crm23.log.20171025.gz
zgrep "account is persisted"  crm-java_crm23.log.20171025.gz
grep 'account is persisted'  crm-java_crm23.log.20171025

why the time stamp of file and search result inside is different?
please advise
0
Hello,

How can explain the Random BDD connection failure: SQLSTATE [HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9).
SQL Version is 2014.
PDO_DBLIB has been used.
PHP version is 5.6.30

Thanks

regards
0
hi,

In grep statements what is difference bewteen below two

grep RPT|O|EntityBean filename
vs
grep RPT|M|EntityBean file name

what ids R what is P what is T what O what is M

Please advise
0
NEW Veeam Agent for Microsoft Windows
LVL 1
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Hello,

We are running  jfs2 file system on redhat 7, but I am not sure how many journals are configured.  Is there a command that I can use to check?
0
I have this issue where non-root (ie non-priv) UNIX users or even applications could
alter or create files that are world-writable & this will easily become an audit issue.

As the creator/owner, they can always change the file permission using chmod.
"umask" can set the default settings for files created but this will not stop them
from altering it subsequently.

Q1:
Can provide sample ACLs or any method such that even owners of files can't alter
the UNIX file permission?

Q2:
Is there any way without using paid products (OpenSource is fine) to alert us if
file permissions are being changed?  Sort of File Integrity Monitoring but we
don't want to be alerted/notified if file content or dates are changed, only if
permission is changed.


We run Solaris 10 & 11 (both have ACL features) & AIX 6.x/7.x and RHEL 7.x.

Or is there a "find ..."  command which we can run daily to identify which files'
permissions got changed the last 1 day?
0
Dear experts,

I would like to set access control (IP address) by /etc/hosts.allow and /etc/hosts.deny in Ubuntu. I like to deny all IP address to use ssh except some IP address.

(1) could you please teach me how to do this by editing  /etc/hosts.allow and /etc/hosts.deny. I am kind of confused about the order of use this 2 files. could you please give me examples? If add allow entries in /etc/hosts.allow , does rest of others is denied?

(2) Can /etc/hosts.allow and /etc/hosts.deny also control the access of Xrdp (port 3389)? if yes, how to do it?

Thank you so much!
0
Hello,

I would like to add additional node to existing cluster. I have installed  pcs,  pacemaker and fencing agent on the new node.

How do I add it into the cluster?  Can someone provide the steps?
0
does 755, 777(user, group, everyone) vary from file say xyz.txt and directory say abc?
or same concept for both file and directory
if 755 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) partial access ?

if 777 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) complete access ?
please advise
0
Hi experts,

My Ubuntu is currently in 14.04.1. I like to upgrade my system to latest LTS version using "do-release-upgrade" command. I am wondering this "do-release-upgrade" will go directly to 16.04 (1-time upgrade) or 15.xx first then 16.04 (need upgrade step by step)?

Do you have an idea how long is for this kind upgrade process?

thank you for your help.
0
i,

i am going through below link

https://www.petefreitag.com/item/426.cfm
when to use fgrep and when to use grep ?
are there any advantages, disadvantages on over other?
please advise
0
Hello Folks,

Does anybody have a procedure on how to join Centos PCs to a Windows Domain?

I'm running Windows server 2008
PCs running Centos 6.9

Thanks for looking
0
I am using a variant of blackfin linux.  I am new to it and reading so much documentation.  What is the command needed to reboot.?
0
NFR key for Veeam Backup for Microsoft Office 365
LVL 1
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

our lab recently has a new Ubuntu (14.04.1) machine but many of software package is out of date.
I try to update it before upgrade to Ubuntu 16.04. However, there is always problems for the command "sudo apt-get update"

I have googled this problem and change "/etc/apt/sources.list" several times, but the error still exists.
I am thinking the error may come from => Could not resolve 'hcapxb01'
I have no idea about the 'hcapxb01'.  My machine has internet connection but I can't ping or nslookup the  'hcapxb01'

Experts, please help me to slove "sudo apt-get update" error. Thank you
Snap1.png
0
hi,
to learn unix and its command what are best online site, learning videos, training sites that are free available out there including some books.
please advise
0
Hi,
how to uninstall mputty or tabbled putty running on my windows machine . please advise

i like to resinstall as initially only it is asking whether to map to your putty or not asking putty path?
how to find putty path to give that path so that it takes all putty sessions automaticaly?
please advise
0
find / -type f -size +500M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
find: `/boot/lost+found': Permission denied

above command gives below error
how to resolve this.

It means that it's running the find through all directories and found /boot/lost+found' to be inaccessible to the find command.
please advise
0
Hi,

how to import saved ssessions  from putty to mputty.(i saved about 50 sessions with names like integration, systest, prod1 etc in putty which i want to transfer over to mputty without again typing host, port saved session nae etc)

How to point mputty to use putty and get data from putty?
please advise
0
Hi expert

Is there any good documentation for docker installation.
0

Linux Distributions

26K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).