Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

Unix & Linux

What are Kernel PMU event-s in perf_events list?

August 7, 2022 by Magenaut

Searching for what one can monitor with perf_events on Linux, I cannot find what Kernel PMU event are?
Namely, with perf version 3.13.11-ckt39 the perf list shows events like:

Categories Q&A, Unix & Linux Tags cpu, linux, monitoring, perf-event, performance Leave a comment

How can I get a full process list in solaris, without truncated lines?

August 7, 2022 by Magenaut

Is there a way to generate a full process listing in solaris, without truncated lines? I’ve tried the ps command, with the following arguments:

Categories Q&A, Unix & Linux Tags process, ps, solaris Leave a comment

How can I get my PS1 prompt to show time, user, host, directories, and Git branch

August 7, 2022 by Magenaut

I’ve seen others add all this information to their PS1 prompt.

Categories Q&A, Unix & Linux Tags bash, prompt Leave a comment

Why do some Linux files have a ‘d’ suffix?

August 7, 2022 by Magenaut

I observed some of the binary files and configuration filenames end with a d.
What is reason for putting a d at the end of the file name?

Categories Q&A, Unix & Linux Tags filenames, terminology Leave a comment

Give user access to folder without changing ownership?

August 7, 2022 by Magenaut

I have a script that works with /etc/NetworkManager:

Categories Q&A, Unix & Linux Tags files, permissions Leave a comment

How to boot Linux to command-line mode instead of GUI?

August 7, 2022 by Magenaut

I am using 32-bit Red Hat Linux in my VM. I want to boot it to command-line mode, not to GUI mode. I know that from there I can switch to GUI mode using startx command. How do I switch back to command-line mode?

Categories Q&A, Unix & Linux Tags boot, command-line, rhel Leave a comment

VSFTPD, 553 Could not create file. – permissions?

August 7, 2022 by Magenaut

I’ve set up vsftpd on Amazon EC2 with the Amazon Linux AMI. I created a user and can now successfully connect via ftp. However, if I try to upload something I get the error message

Categories Q&A, Unix & Linux Tags amazon-ec2, permissions, vsftpd Leave a comment

Find files in multiple folder names

August 7, 2022 by Magenaut

I am trying to list all the files from dir1, dir2, dir3 and dir4 which might be anywhere in as a sub directory of my cwd using the find command. I tried the following with no success:

Categories Q&A, Unix & Linux Tags bash, find, regular-expression Leave a comment

join : “File 2 not in sorted order”

August 7, 2022 by Magenaut

I’ve got two files _jeter3.txt and _jeter1.txt

Categories Q&A, Unix & Linux Tags join, sort Leave a comment

Why do we need to use visudo instead of directly modifying the sudoers file?

August 7, 2022 by Magenaut

I understand that if you want to modify who can use sudo and what they can do with it that you should use visudo. I know I’m not supposed to directly modify the /etc/sudoers file myself.

Categories Q&A, Unix & Linux Tags sudo Leave a comment
Older posts
Newer posts
← Previous Page1 … Page299 Page300 Page301 … Page371 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress