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

x

Linux OS Dev

Kernel programming for Linux operating systems can be done with many different languages; C, C++, Python, Perl and Java, which are some of the most common languages used.There are also many different varieties of Linux, such as Ubuntu, Fedora and OpenSUSE.

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

Sign up to Post

I have a command like this ...could you explain what each term doing in below command.

scl enable python27 bash <<!
0
Hire Technology Freelancers with Gigs
LVL 11
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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
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
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
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
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
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
Concerto Cloud for Software Providers & ISVs
LVL 5
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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
Failed to start the virtual machine.
Module DiskEarly power on failed.
Cannot open the disk '/vmfs/volumes/59b85604-3e73e872-6bac-5cf3fc4c10a8/kali-linux/Kali-Linux-2017.2-vm-amd64.vmdk' or one of the snapshot disks it depends on.
The system cannot find the file specified
VMware ESX cannot find the virtual disk "/vmfs/volumes/59b85604-3e73e872-6bac-5cf3fc4c10a8/kali-linux/Kali-Linux-2017.2-vm-amd64.vmdk". Verify the path is valid and try again.
0
How do i register SUSE Linux to customer portal?

also how to check what security packages are available to install?

I have worked on RHEL and we use subscription manager to register with customer portal or redhat satellite.

what is the procedure for suse linux? what tool similar to redhat satellite SuSE uses?
0
Hi,

When i search on below command
ps -ef|grep zyz3abc
i see all the proceses running for zyz3abc
how to seach using particular port number(1567) to filter down more granular

 i tried

ps -ef|grep zyz3abc grep 1567
did not see to work.
please advise
0
Hi,

I have mputty ad also putty. Earlier all putty sessions are imported to mputty.
today i maded changes to putty session by changing ip, username etc.
how to reflect those changes in mputty without me manually changing all 100 places. please advise
0
Hi,

I have 10 production servers namely

Production1
Production2
...
Production10

All on different IP. But all has same log path

/op/net/crm/logs

is there is a way i can do grep on particular error on all servers in one stroke


grep  'decryption error' crm_t9_1.log.2017093015

please advise
0
hi,

how to copy test folder files
from below
/crm/home/systemtest/security/test
to below folder
/crm/home/XYZ3ABC/config/security/test

trying cp command but not working
is -r different from -R

please advise
do i need to go to /crm/home/XYZ3ABC/config/security/test to execute cp command or  to  /crm/home/systemtest/security/test
0
Learn Veeam advantages over legacy backup
LVL 1
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Hi,what is difference between 755 and 777 privileges to a directory or a file in unix world.
please advise
0
Hi

I currently own a directory called
/crm/home/XYZ3ABC/opt/company/bea_domains/12/xyz3abc
how to make it accessable to root user crm so that others can edit it

chmod to crm (root user)
when i try to give as below erroring out
 chmod -R xyz3abc
chmod: missing operand after `xyz3abc'
 chmod -R crm xyz3abc

chmod: invalid mode: `crm'
Try `chmod --help' for more information.
0
Hi,

I see some folders( say folder_A which contains folder_C and folder_B which contains folder_D which again contains folder_#))  has xyz as owner. I want to change owner to abc to those folders and sub folders. How can i do it. How do same thing on some files say File_A and file_B etc preoperty files.please advise
0
Hi,

I have a folder called

home/system/xyz

now xyz has many sub directories  like abc , def
now abc has directories like lms, pqr etc

xyz is currently owned by me. problem is others cannot see xyz and its all subdirectories for possible issues on the server settings.
now i want to give ownership to xyz directory to ADMIN user say  crm and password say p@ssword so that all the team mates who has ADMIN crm  access can view and modify any directories and files within xyz no matter how deep they are.
how to give access to this one?
0
i installed bind and setup example.com domain on my centos 6.9.

trying to find what is the causes here.

[root@dns01 ~]# named-checkconf /etc/named.conf
[root@dns01 ~]#

[root@dns01 ~]# named-checkzone example.com /var/named/rev.example.com
zone example.com/IN: loaded serial 2017091501
OK

[root@dns01 ~]# named-checkzone example.com /var/named/fwd.example.com
zone example.com/IN: loaded serial 2017091501
OK


[root@dns01 ~]# host -v -t ns example.com. 192.168.2.91
Trying "example.com"
;; connection timed out; trying next origin
Trying "example.com"
;; connection timed out; no servers could be reached
0
Hi Team,

We have folder called /opt/app
inside /opt/app we are running applications as elasticsearch and kibana in below respective folders.

/opt/app/elasticsearch
/opt/app/kibana

and processes are running in those folders as we.

Due to space issue. Now i want to mount to /opt/app folder without any data loss on the fly?
is it possible or not? if possible could you please suggest me what is the best way to proceed?
0

Linux OS Dev

Kernel programming for Linux operating systems can be done with many different languages; C, C++, Python, Perl and Java, which are some of the most common languages used.There are also many different varieties of Linux, such as Ubuntu, Fedora and OpenSUSE.