User contributions for Ardika Sulistija

A user with 226 edits. Account created on 13 May 2024.
Jump to: navigation, search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

27 August 2024

  • 00:4900:49, 27 August 2024 diff hist +4,211 N NetstatCreated page with "<b>Netstat</b> is a useful command to learn more about the configuration of your system, and can be useful when troubleshooting connectivity issues related to the Transport and IP layer. Its great for checking your networking configuration and activity. Prints information about Linux Networking subsystems, such as routing tables, interface statistics, masquerade connections, and multicast memberships. https://www.tecmint.com/20-netstat-commands-for-linux-network-manage..." current
  • 00:4900:49, 27 August 2024 diff hist +307 N NetfilterCreated page with "<b>netfilter</b> - iptables, ufw and pf are all wrappers for netfilter, the network filtering module that provides Pre/Post routing, Input/Output, and packets forwarding. You can block packets using the filter table to route packets to other machines using the NAT table and turn the instance into a router." current
  • 00:4800:48, 27 August 2024 diff hist +373 N NetcatCreated page with "https://www.thegeekstuff.com/2012/04/nc-command-examples/?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%253A+TheGeekStuff+(The+Geek+Stuff) $ nc -zv dikapedia.com 443 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 23.20.238.64:443. Ncat: 0 bytes sent, 0 bytes received in 0.03 seconds. To start a listening Netcat process: nc -l -p 1500" current
  • 00:4800:48, 27 August 2024 diff hist +351 N NFSCreated page with "<b>NFS</b> - Network File System ====How to set up an NFS Server and NFS Client==== ---- I haven't done this yet. I wanted to test it out but haven't gotten the chance. Try: https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-setup-nfs-server-on-centos-7-rhel-7-fedora-22.html https://www.howtoforge.com/nfs-server-and-client-on-centos-7" current
  • 00:4800:48, 27 August 2024 diff hist +19,830 N MySQL / MariaDBCreated page with "MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system. ADD: https://dev.mysql.com/doc/refman/8.0/en/memory-use.html ==== Installation ==== ---- yum install mariadb-server mariadb -y apt-get install mariadb mariadb-server ==== Post-install Configuration ==== ---- (Recommend running these in order) Start the MySQL service: # sysVinit service mysqld start service mariadb start # Systemd systemctl st..." current
  • 00:4700:47, 27 August 2024 diff hist +2,128 N MountCreated page with "<b>mount</b> - Command to mount partitions. ---- ====Examples==== ---- Mounts /dev/sdb2 to /mnt/[dir], you would have to create a directory in the /mnt/ directory mount /dev/sdb2 /mnt/[dir] Unmount: umount /dev/sdb2 To view all mounts for further information: mount mount | grep -i /dev/ $ mount | grep /dev/ tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) /dev/nvme0n1p2..." current
  • 00:4700:47, 27 August 2024 diff hist +7,433 N MemoryCreated page with "===What is Memory?=== ---- What is <b>memory</b>? * Just a form of storage. * Computers have many layers of memory, the higher up you go, the slower to access: ** CPU registers (takes 1 CPU cycle) ** CPU cache, (L1, L2, L3) (takes 3 - 14 CPU cycles) ** RAM (~250 CPU cycles) ** Disk (~40 million) <b>Physical Memory</b> vs <b>Virtual memory</b> * Physical memory (aka main memory) memory is provided as a map to the OS. * This map is divided into page frames of 4KB each..." current
  • 00:4700:47, 27 August 2024 diff hist +2,524 N MediaWikiCreated page with "<strong>Powered by MediaWiki.</strong> Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software. == Getting started == * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list] * [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release m..." current
  • 00:4600:46, 27 August 2024 diff hist +1,407 N MacOSCreated page with "====Set Persistent $PATH==== ---- cat /etc/paths /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/ardikas/.toolbox/bin ====How to combine split zip files (and extract them)==== ---- When you come across split files that end with sequential numbers (e.g. .001, .002, etc...), before you can use the file, you first need to join the split files together into a single, whole file. A split ZIP file could look like this, for instance: 691-5088-A.zip_.001 691-5..." current
  • 00:4100:41, 27 August 2024 diff hist +4,443 N MTRCreated page with "https://www.linode.com/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/</br> https://www.tecmint.com/mtr-a-network-diagnostic-tool-for-linux/</br> https://www.datapacket.com/blog/mtr-diagnose-network-issues</br> ADD THIS::: https://www.datapacket.com/blog/mtr-diagnose-network-issues BEST TO RUN WITH TCP FLAG INSTEAD OF DEFAULT ICMP: [May 14, 2020, 1:41 PM] Bawezir, Ahmed: "mtr -P <tcp port> -T -w <destination ip>" When analyzing an MTR output, I loo..." current
  • 00:4000:40, 27 August 2024 diff hist +1,145 N LsusbCreated page with "lsusb - list USB devices (This was on Ubuntu 22.04) USB unplugged from system: $ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0a5c:5842 Broadcom Corp. 58200 Bus 001 Device 002: ID 0c45:6a1d Microdia Integrated_Webcam_FHD Bus 001 Device 005: ID 8087:0033 Intel Corp. Bus 001 Device 001: ID 1d6..." current
  • 00:3900:39, 27 August 2024 diff hist +690 N LspciCreated page with "<b>lspci</b> - list all PCI devices lspci is a utility for displaying information about PCI buses in the system and devices connected to them. It's a good way to determine the make and model of the graphics card in a system without physically inspecting the hardware is the lspci command. $ /sbin/lspci ... 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) ... This command will usually tell you the vendor and mode..." current
  • 00:3900:39, 27 August 2024 diff hist +3,357 N LsofCreated page with "$ lsof | grep -i del . . (Output cut short) . apache2 151110 www-data DEL REG 0,1 81229715 /dev/zero apache2 151110 www-data DEL REG 0,1 74060991 /dev/zero apache2 151110 www-data 8w REG 259,2 12017916902 512005 /var/log/apache2/access.log (deleted) apache2 151110 www-data 9ur REG 259,2 0 5925 /tmp/.ZendSem.SLoNkY (deleted) apache2 151112 www-data DEL REG 0,1 81229715 /dev/zero apache2 151112 www-..." current
  • 00:3900:39, 27 August 2024 diff hist +731 N LsblkCreated page with " $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 10G 0 disk ├─nvme0n1p1 259:1 0 10G 0 part / └─nvme0n1p128 259:2 0 1M 0 part $ lsblk -f NAME FSTYPE LABEL UUID MOUNTPOINT nvme0n1 ├─nvme0n1p1 xfs / afcf1342-1d40-41bd-bde9-e4ea5d87e3b6 / └─nvme0n1p128..." current
  • 00:3900:39, 27 August 2024 diff hist +2,301 N LogsCreated page with "https://www.eurovps.com/blog/important-linux-log-files-you-must-be-monitoring/ ====Ubuntu Logs==== ---- https://ubuntu.com/tutorials/viewing-and-monitoring-log-files#2-log-files-locations System logs System logs deal with exactly that - the Ubuntu system - as opposed to extra applications added by the user. These logs may contain information about authorizations, system daemons and system messages. Authorization log Location: /var/log/auth.log Keeps track of auth..." current
  • 00:3800:38, 27 August 2024 diff hist +15,492 N Linux PermissionsCreated page with "<div style='text-align: center;'><span style="font-size:180%;">Users, Groups, and Ownership</span></div> ====Linux Permissions==== ---- =====<u>What are <b>User and Group</b> Permissions?</u>===== * Linux was designed to allow more than one user to have access to the system at the same time. <b>In order for this multiuser design to work properly, there needs to be a method to protect users from each other</b>. * <b>Permissions</b> are the "<..." current
  • 00:3800:38, 27 August 2024 diff hist +63 N Linux Directory StructureCreated page with "https://www.telecomworld101.com/Linux14-DirectoryStructure.html" current
  • 00:3800:38, 27 August 2024 diff hist +809 N LessCreated page with "====What is the difference between Less and More?==== ---- more is the oldest, less is an improvement and most is an improvement on that. Short comparison: more: forward navigation and limited backward navigation. less: both forward and backward navigation and also has search options. You can go to the beginning and the end of a file instantly. Plus you can switch to an editor (like open the file in vi or vim). It is noticeably quicker than editor for when the file is..." current
  • 00:3700:37, 27 August 2024 diff hist +986 N LastCreated page with "https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/ <b>last</b> command will give login history for a specific username. If we don’t give any argument for this command, it will list login history for all users. By default this information will read from /var/log/wtmp file. The output of this command contains the following columns: * User name * Tty device number * Login date and time * Logout time * Total working time $ las..." current
  • 00:3600:36, 27 August 2024 diff hist +8,745 N LVMCreated page with "ADD NOTES: https://xan.manning.io/2017/05/29/best-practice-for-mounting-an-lvm-logical-volume-with-etc-fstab.html (LVM snapshot can cause issues if you mount using UUID!!!) ====LVM Architecture and Terminology==== ---- <b>lvm</b> - Logical Volume Manager/management. * It is a storage device management technology that gives users the power to pool and abstract the physical layout of component storage devices for easier (ha) and flexible administration. * It utilizes..."
  • 00:3600:36, 27 August 2024 diff hist +4,527 N LAMP StackCreated page with "==== How to install a LAMP stack: ==== ---- For Red Hat Enterprise Linux version 8: RHEL8 includes PHP 7.2 so the standard PHP is fine and Software Collections isn't needed: dnf install httpd php php-mysqlnd php-gd php-xml mariadb-server mariadb php-mbstring php-json Ubuntu 16.04.2 LTS (Xenial) and Debian Stretch include PHP 7.0, and renamed many packages from "php5" to plain "php". In addition, some PHP modules are now in separate packages (xml, mbstring): apt-get..." current
  • 00:3600:36, 27 August 2024 diff hist +7,829 N KernelCreated page with "The kernel is the heart of the Linux operating system. It's responsible for scheduling running programs, file management, and security. If you have a device driver, it runs in the kernel. Networking is implemented in the kernel. This is what we mean as <b>kernel space</b>. The kernel's job is also to support user programs, which run in <b>user space</b> like shell, web browser, or similar programs. User space programs interact with a kernel through special devices or s..." current
  • 00:3600:36, 27 August 2024 diff hist +172 N KMSCreated page with "If you suspect a KMS issue, check cloudtrail for the following events to see if there are any kms permission errors: * GenerateDataKeyWithoutPlaintext * ReEncrypt * Decrypt" current
  • 00:3000:30, 27 August 2024 diff hist +35 N JqCreated page with "https://earthly.dev/blog/jq-select/" current
  • 00:3000:30, 27 August 2024 diff hist +146 N JournaldCreated page with "Enable persistent logging: https://www.golinuxcloud.com/enable-persistent-logging-in-systemd-journald/ https://access.redhat.com/solutions/696893" current
  • 00:3000:30, 27 August 2024 diff hist +38 N JournalctlCreated page with "journalctl --no-pager --catalog --boot"
  • 00:2900:29, 27 August 2024 diff hist +610 N JavaCreated page with "To replicate customer's java code/issue, use AWS Cloud9!!! * Get started with the AWS SDK for Java 2.x (Quick start) https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html * Install Java and a build tool https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/setup.html#setup-envtools * Amazon Corretto 8 Installation Instructions for Amazon Linux 2 https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/amazon-linux-install.html..." current
  • 00:2900:29, 27 August 2024 diff hist +21,582 N IptablesCreated page with " <b>iptables</b>/ip6tables -- administration tool for IPv4/IPv6 packet filtering and NAT <u>AWS Specific</u>:</br> In normal circumstances we do not use iptables to block traffic in AWS. We rely on the security groups and Network ACLs for this purpose. <b>iptables</b> on an instance is normally used for NAT instances or instance-based VPN, i.e. OpenSwan, OpenVPN, StrongSwan or Sophos UTM. You can sometimes use iptables to block traffic on an instance. For example, u..." current
  • 00:2900:29, 27 August 2024 diff hist +510 N IperfCreated page with "https://www.slashroot.in/iperf-how-test-network-speedperformancebandwidth https://aws.amazon.com/premiumsupport/knowledge-center/network-throughput-benchmark-linux-ec2/ ====How to test network bandwidth==== To test your uplink speed, you can you utility such as the iperf3 utility as follows: 1) on the listener/destination: iperf3 -s -p 1500 2) On source run: iperf3 -i 10 -c Vanilla_linux_server_ip -p 1500 -t 60 > iperf60.log iperf3 -i 10 -c Vanilla_linux_server..." current
  • 00:2800:28, 27 August 2024 diff hist +3,250 N IostatCreated page with " <b>iostat</b> - Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. $ iostat Linux 4.14.158-129.185.amzn2.x86_64 (ip-172-31-33-239.ec2.internal) 02/24/2020 _x86_64_ (2 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 0.15 0.00 0.11 0.01 0.04 99.70 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn nvme0n1 0.86 2.81 5.86..." current
  • 00:2800:28, 27 August 2024 diff hist +12,477 N Install and Enable ENA drivers for NitroCreated page with " How do I install and enable the latest ENA driver for Enhanced Network Support on an Amazon EC2 instance running Red Hat 6/7?</br> https://aws.amazon.com/premiumsupport/knowledge-center/install-ena-driver-rhel-ec2/ ====How to launch RHEL 6 on Nitro-instance==== ---- Yes, it is possible to run RHEL 6 on Nitro-isntances (M5, C5, T3). I have tested this out using AMI: ami-0351faf7328fdb373 (RHEL 6.10 - HVM - Red Hat Provided, ENA: no). 1) First make sure NVMe driver is..." current
  • 00:2700:27, 27 August 2024 diff hist +953 N InodesCreated page with " inodes are associated with each linux file and the system can run out of inodes when multiple smaller files are created. Inodes are references to the physical location of files on the file system. Each individual file uses one inode. Study and add notes: https://helpdeskgeek.com/linux-tips/what-are-inodes-in-linux-and-how-are-they-used/ https://unix.stackexchange.com/questions/117093/find-where-inodes-are-being-used Running out of inodes generally means you've g..." current
  • 00:2500:25, 27 August 2024 diff hist +2,627 N IfconfigCreated page with " <b>ifconfig</b> - *technically obsolete (use ip addr instead)* Show interface info, IP address, mac address, etc. $ sudo ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:17:42:1f:18:be inet addr:10.1.1.7 Bcast:10.1.1.255 Mask:255.255.255.0 inet6 addr: fe80::217:42ff:fe1f:18be/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 err..." current
  • 00:2400:24, 27 August 2024 diff hist +361 N IPv4Created page with "====How to find your own IP==== ---- $ curl wtfismyip.com/json { "YourFuckingIPAddress": "52.94.133.131", "YourFuckingLocation": "Richmond, VA, United States", "YourFuckingHostname": "52.94.133.131", "YourFuckingISP": "X Office", "YourFuckingTorExit": false, "YourFuckingCountryCode": "US" } $ curl ifconfig.me 72.21.196.67" current
  • 00:2100:21, 27 August 2024 diff hist +193 N IOwaitCreated page with "Good article: https://haydenjames.io/what-is-iowait-and-linux-performance/ Troubleshooting high IOwait in Linux: https://madflojo.medium.com/troubleshooting-high-i-o-wait-in-linux-358080d57b69" current
  • 00:2100:21, 27 August 2024 diff hist +972 N Hyper-VCreated page with "====Adding your ISO file from the Library server to the HyperV server as a physical library object==== ---- # Log in to the HyperV server # Click on the <b>Virtual Machine Manager Console</b> shortcut on the Desktop. # Enter the <b>Server name</b> and click <b>Connect</b> # On the left hand navigation pane, select <b>Library</b> in the bottom section. # Click <b>Import Physical Resource</b> in the top banner # Click <b>Add resource</b> # Go to <b>Network</b>, wait a co..." current
  • 00:2100:21, 27 August 2024 diff hist +2,857 N HistoryCreated page with "<b>history</b> - This commands stores the executed commands ran by a user. Typically, these commands are store in the user's home directory: <b>/home/<user>/.bash_history</b> For <b>root</b> user, it will be in: <b>/root/.bash_history</b> You can search where the .bash_history file is by running: $ echo $HISTFILE /home/ec2-user/.bash_history # Run as root $ echo $HISTFILE /root/.bash_history ====How to Increase the History Size==== ---- First, check curren..." current
  • 00:2000:20, 27 August 2024 diff hist +699 N Hard Links / Soft LinksCreated page with "There are two types of links: * <b>symbolic links</b> (also known as “<b>soft links</b>” or “<b>symlinks</b>”): Refer to a symbolic path indicating the abstract location of another file. * <b>hard links</b>: Refer to the specific location of physical data. ====Soft Links==== ---- <b>How to: Linux / UNIX create soft link with ln command</b></br> https://www.cyberciti.biz/faq/creating-soft-link-or-symbolic-link/ =====<u>How to c..." current
  • 00:1900:19, 27 August 2024 diff hist +1,774 N GrepCreated page with "<B>grep</B> - Pretty much a search function. Prints lines matching a pattern. ----- Examples: cat [file] | grep "word" # Prints any line with "word" grep -i # Ignore case senisitivity *i is for INSENSITIVE* grep -irl [word] [dir] # Ignore case distinctions, Read all files under each directory, recursively, Suppress normal output; grep [word] [in file/dir] # Searches up "word" in that file or dir g..." current
  • 00:1900:19, 27 August 2024 diff hist +4,337 N GitCreated page with "<B>git</B> - The stupid content tracker. Git is a stupid content tracker because it has no idea what's inside those blobs, and it doesn't try to store fine grained information like "lines 345-350 added, lines 502-508 removed" or anything like that. https://github.com/git-guides ====How to clone github repository to your local terminal==== ---- $ git clone https://github.com/ardikas/shell-scripts ====How to set up your terminal with remote access to your Github repo==..." current
  • 00:1900:19, 27 August 2024 diff hist +18 N GdiskCreated page with "Under construction" current
  • 00:1800:18, 27 August 2024 diff hist +2,271 N GccCreated page with "====How to install gcc on RHEL6==== ---- Tested on RHEL6.9: mkdir /mnt/rhel6dvd mount /dev/sr0 /mnt/rhel6dvd # ensure the DVD Iso is connected to the VM vi /etc/yum.repos.d/dvd.repo [dvd-Server] mediaid=1409145026.642170 name=RHEL 6 Server DVD baseurl=file:///mnt/rhel6dvd/Server gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release enabled=1 gpgcheck=1 yum -y install gcc ====How to install gcc manually on RHEL6.10==== ---- <b>Note:</b> This works..." current
  • 00:1800:18, 27 August 2024 diff hist +15,171 N GRUBCreated page with " GRUB -- Grand Unified Bootloader; executes the Kernel. * GRUB goes through two stages. * After the two stages, the kernel and initrd is loaded into memory. * Config files: ** <b>GRUB 1</b> (old vers) <b>/etc/grub.conf</b> -> <b>/boot/grub/grub.conf</b> ** <b>GRUB 2</b> (New Grub) <b>/etc/grub2.cfg</b> -> <b>/boot/grub2/grub.cfg</b> *** GRUB 2 reads its configuration from the <b>/boot/grub2/grub.cfg</b> file on traditional <b>BIOS-based</b> machines and from the <b>/boot..." current
  • 00:1700:17, 27 August 2024 diff hist +4,665 N FstabCreated page with "ADD NOTES: https://xan.manning.io/2017/05/29/best-practice-for-mounting-an-lvm-logical-volume-with-etc-fstab.html <b>/etc/fstab</b> - static information about the filesystems (aka file system table) The file fstab contains descriptive information about the filesystems the system can mount. <b>fstab</b> is only read by programs, and not written; It is the duty of the system administrator to properly create and maintain this file. The order of records in fstab is..." current
  • 00:1700:17, 27 August 2024 diff hist +363 N FsckCreated page with "UNDER CONSTRUCTION https://www.tecmint.com/fsck-repair-file-system-errors-in-linux/ BE SURE TO UMOUNT THE FILESYSTEM BEFORE RUNNING FSCK!!!! e2fsck - ext2 I believe. But fsck will detect it If the root filesystem is getting mounted as "Read-only" (ro) then you will need to detach it, attach it to another instance as a secondary volume, and run <b>fsck</b>." current
  • 00:1600:16, 27 August 2024 diff hist +3,042 N FreeBSDCreated page with "Network config file location: * /etc/rc.conf * Default EC2 instance: # cat /etc/rc.conf ec2_configinit_enable=YES ec2_fetchkey_enable=YES ec2_ephemeralswap_enable=YES ec2_loghostkey_enable=YES firstboot_freebsd_update_enable=YES firstboot_pkgs_enable=YES growfs_enable="YES" ifconfig_DEFAULT="SYNCDHCP" sshd_enable="YES" firstboot_pkgs_list="awscli" https://www.serverlab.ca/tutorials/unix/how-to-set-static-ip-and-dhcp-in-freebsd/ ---- LSBLK equivalent in Fr..." current
  • 00:1600:16, 27 August 2024 diff hist +4,360 N FreeCreated page with "<b>free</b> - Display amount of free and used memory in the system, as well as the buffer used by the kernel, and the used physical and swap memory. It displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The information is gathered by parsing <b>/proc/meminfo</b>. * <b>total</b> - Total installed memory (MemTotal and SwapTotal in /proc/meminfo) * <b>used</b> - Used memory (calculat..." current
  • 00:1600:16, 27 August 2024 diff hist +286 N FirewallsCreated page with "There are different types of firewalls. Let's review: Types of firewalls: * <b>iptables</b> - Till RHEL6/CentOS6, and similar. * <b>netfilter</b> - kernel module * <b>ufw</b> - Ubuntu * <b>pf</b> - BSD * <b>firewalld</b> - RHEL7+" current
  • 00:1500:15, 27 August 2024 diff hist +1,829 N FirewalldCreated page with "https://www.tecmint.com/start-stop-disable-enable-firewalld-iptables-firewall/ Good article: https://www.linode.com/docs/guides/introduction-to-firewalld-on-centos/ <b>firewalld</b> - A wrapper for iptables to allow easier management of iptables rules. Is <b>not</b> an iptables replacement. It's a firewall service <u>daemon</u> that provides a dynamic customizable host-based firewall with a D-Bus interface. It enables creating, changing, and deleting the rules without..." current
  • 00:1500:15, 27 August 2024 diff hist +2,134 N FindCreated page with "<B>find</B> - Search for files in a directory hierarchy. ---- Examples: find /dir -name "filename" # Searches up the "dir" directory with "filename" find /dir -iname "filename" # ^^^ does the same but insensitive. find /dir -emtpy # Searches up all the empty files in "dir" directory. Displays the 5 LARGEST files in the directory THAT YOU ARE IN. (hence the dot (.) find . -type f -exec ls -s {} \; | sprt -n -r | head -5 Displays the..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)