Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. 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

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
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

hi,

I connnected to one production inace went to the log directory where bunch of log files there.

how to continuosly monitor logs for any possible errors , exceptions.

how frequently new files created?
do i have to do vi command to open the log file

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
How to get cpu serial number in linux from cmd
0
 

Author Comment

by:Rajat Kumar Sahgal
Hi,
i already tried with google & dmidecode -t processor but unable to get it .

# dmidecode -t processor
# dmidecode 2.12
SMBIOS 3.0 present.
# SMBIOS implementations newer than version 2.8 are not
# fully supported by this version of dmidecode.

Handle 0x0073, DMI type 4, 42 bytes
Processor Information
        Socket Designation: SOCKET 2011
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: F1 06 04 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 79, Stepping 1
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz
        Voltage: 1.2 V
        External Clock: 100 MHz
        Max Speed: 4000 MHz
        Current Speed: 3000 MHz
        Status: Populated, Enabled
        Upgrade: Socket LGA2011-3
        L1 Cache Handle: 0x0070
        L2 Cache Handle: 0x0071
        L3 Cache Handle: 0x0072
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
        Core Count: 10
        Core Enabled: 10
        Thread Count: 20
        Characteristics:
                64-bit capable
                Multi-Core
                Hardware Thread
                Execute Protection
                Enhanced Virtualization
                Power/Performance Control
0
 

Expert Comment

by:Ole-Aleksander Forchhammer
What distribution of Linux are you running?
0
what is difference between

wc vs wc -l vs wc -c vs wc -lw


when we say
wc -lw
is it same as
wc -l -w

what is the use of - in any command?
0
hi,

what is difference between
sort vs sort -n  vs sort -M vs sort -rM

please advise
0
Hi,

what is 2> command used for

please advise
what is 2 what is >
0
what is difference betweem

kill PID
versus
kill -9 PID

what is -9 here?
please advise
0
what is difference between below comand

ps
versus
 ps -e
 versuss
 ps -ef
 versuss
 ps -ef|grep xyz

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
Free Tool: Path Explorer
LVL 10
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.

hi,
what is diference between
Egrep vs grep s zgrep

what are other types of greps there

please advise
0
hi,

i was watching below video
https://www.youtube.com/watch?v=goYjxpnTzFY&list=PL28YtFoet8RUsHxrIsQTkd82vIIZiiSmK&index=4
Instructor seems practicing unix commands on windows machine
how to get similar environmet so that i can practice on my local windows laptop at home?
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
hi,

I am trying to grep below

grep "SendLoginEvent" crm-CRMJava7-Staging-crm_st5_1.log.20171013*

but when i typed below i pasted something here like xyzzzzz

grep "SendLoginEvent xyzzzzz
xyzzzzz
xyzzzzz
xyzzzzz


>
>
>




now i cannot exit from this grep
i tried control Z not use
i tried esc no use

how to exit out

please advise
0
hi,

 i did
grep "SendLoginEvent" crm-CRMJava7-Staging-crm_st5_1.log.20171013*


i got big result how to search on say some name like JOHN
to see JOHN login even and his session id
how to drill down much granular
what are effective debug ways on unix logs, servers
0
in putty i logged in to 10 PROD boxes.

I like to know port of each box after logging in as it does not show
how to check
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
Tech or Treat!
LVL 10
Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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 MOUTTY. I need to modify existing IP of  a box which is saved as  Production1 session. I went to proeprties there is no edit button there. 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

I have named my servers as Integration, SystemTest, Production1, Production2 etc. When i open putty it shows host name like
user@xyzzzz000356:/export/net/ext-a/logs/crm
etc

i want intead to see like
user@Integration:/export/net/ext-a/logs/crm

user@Production1:/export/net/ext-a/logs/crm

how to do it in putty and also in mputty

please advise
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.