New pages

From mylearnings
Jump to navigationJump to search
New pages
Hide registered users | Hide bots | Hide redirects

2 July 2025

  • 03:2603:26, 2 July 2025 Core Dumps (hist | edit) [868 bytes] Pristal (talk | contribs) (Created page with "= What is a Core Dump ? = * A core dump is a snapshot of the programs memory mappings and state when it crashed. * A core dump can be used to analyze the reason for the crash. * A core can come from User space programs or even kernel. ::- Core get generated when the user space program receives certain signal like (For detail check **man -7 signal** * Kernel is having special mechanism for booting a secondary kernel and collect the core for primary kernal. ::- In linux th...")

16 June 2025

  • 13:1113:11, 16 June 2025 Commands Line Utilities (hist | edit) [2,210 bytes] Pristal (talk | contribs) (Created page with "= Process = * Find PID of a known program. <pre> pidof <application name> </pre> * Find all the direct and indirect child processes of a process. <pre> pstree -p <PID> </pre> * List all the files opened by a process with PID. <pre> lsof -p <PID> </pre> * Find details of a file descriptor corresponding to a PID. <pre> lsof -p <PID> -a -d <FD> </pre> ::- -a => Stands for 'AND' Operation. ::- -d => File descriptor for which we need to find details. * Find Parent (PPID)...")
  • 12:5212:52, 16 June 2025 DataBases (hist | edit) [37 bytes] Pristal (talk | contribs) (Created page with "= Redis = = Portgress = = MariaDB =")
  • 12:4712:47, 16 June 2025 Build Systems (hist | edit) [378 bytes] Pristal (talk | contribs) (Created page with "* Build System's Goals # Automate the compilation and linking of source files into executables. # Recompile only the changed portion of the source code, and the portions dependent on the changed code. # The build system should be a programming language that allows you to avoid redundant code. = CMAKE = = Makefile = = Bmake = = Automake & Autotools = = Cross Compilation =")
  • 12:3212:32, 16 June 2025 Terminal Multiplexer (TMUX) (hist | edit) [844 bytes] Pristal (talk | contribs) (Created page with "* Open a tmux session in shared mode. <pre> tmux -S /tmp/<name> </pre> * Connect to a shared session. <pre> tmux -S /tmp/<name> attach * Detach from current session <pre> <prefix> + d </pre> * View all the tmux sessions running. <pre> tmux ls </pre> * Attach to a session. <pre> tmux attach -t <name/number> </pre> * Rename a tmux session. <pre> tmux rename-session -t <session name/number> <new name> </pre> * Start a new tmux session with name <pre> tmux new -s <sess...")
  • 11:0811:08, 16 June 2025 File System (hist | edit) [111 bytes] Pristal (talk | contribs) (Created page with "* Check filesystem type. <pre> df -T <Path> </pre> * See details about a mount. <pre> findmnt -T <Path> </pre>")
  • 11:0511:05, 16 June 2025 Explore Processes (hist | edit) [889 bytes] Pristal (talk | contribs) (Created page with "* Find PID of a known program. <pre> pidof <application name> </pre> * Find all the direct and indirect child processes of a process. <pre> pstree -p <PID> </pre> * List all the files opened by a process with PID. <pre> lsof -p <PID> </pre> * Find details of a file descriptor corresponding to a PID. <pre> lsof -p <PID> -a -d <FD> </pre> ::- -a => Stands for 'AND' Operation. ::- -d => File descriptor for which we need to find details. * Find Parent (PPID) of a process...")
  • 09:4809:48, 16 June 2025 Formating Output (hist | edit) [572 bytes] Pristal (talk | contribs) (Created page with "<pre> <command> | uniq </pre> ::- Prints only unique line.")
  • 04:4304:43, 16 June 2025 Apache (hist | edit) [1,251 bytes] 162.158.216.160 (talk) (Created page with "= Overview = * Apache2 server like Nginx, operates in Layer 7/Application Layer. It understands http, https...etc * It is the first webserver that was deployed over the web. * Apache2 is extended using modules. Actually module is a shared library. <pre> root@vector:/etc/apache2# a2query Usage: /usr/sbin/a2query -q -m [MODULE] -s [SITE] -c [CONF] -a -v -M -d -h -q suppress any output. Useful for invocation from scripts -m [MODULE] checks whether the mod...")

18 May 2025