Skip to content
Oracle Home

Oracle Home

For Everything Oracle and more

Menu

  • Home
  • Articles
  • About Me
  • Computer Book Reviews
  • New Computer Books

Unix Code

You are here: Oracle Home > Unix Code

Delete all Files in a Unix Folder when “Argument list too long”

Normally you could use a simple “rm” command in Unix/Linux. But sometimes if the folder is very full of files you may get the error: “Argument list too long” In which case you could use the “find” command instead: find

orahome 22/03/202422/03/2024 Unix Code No Comments Read more

Plesk Upgrade 18.0.37 Fails with Grafana No More Mirrors Error

When upgrading my Plesk to 18.0.37 it would not complete as there was a Grafana error as it could not find the location and tried several mirror locations. Failed to install {‘release’: ‘1centos.7.210707.1232’, ‘version’: ‘1.0.10’, ‘arch’: ‘x86_64’, ‘name’: ‘libaps’}: Number

orahome 29/07/2021 Unix Code No Comments Read more

Find the size of directories

If you want to find out in a readable format the directories beneath you on Unix/Linux then just run this command: du -sh */ Now you can get a total of the file sizes in a certain directory.

orahome 17/11/2020 Unix Code No Comments Read more

How to Solve IP address conflict on Unix or Windows

If you have an IP address conflict on your network system and you want to find out what hardware is taking that IP address you can use the command “nslookup”. nslookup is a useful command used in Windows and in

orahome 26/08/2020 Unix Code No Comments Read more

Delete files older than 30 days in Linux

Delete Files Older Than 30 Days This command will delete all files older than 30 days in system /opt/backup directory. find /opt/backup -type f -mtime +30 -exec rm -f {} \; If you want to just perform the action in

orahome 07/08/2020 Unix Code No Comments Read more

Exclude certain folders from a Zip command

If you need to exclude certain folders or subdirectories from a ZIP command on Linux / Unix then use this command: zip zip_path/my_zip_file.zip -FSr zip_this_dir/ -x exclude_this_directory_from_the_zip\*

orahome 19/03/202019/03/2020 Unix Code No Comments Read more

Find Sizes of Linux Directories including Subdirectories

If you want to know the total size of your folders / directories and subdirectories under this path on Linux/Unix use this code: du -h your_dir_path -d 1

orahome 19/03/2020 Unix Code No Comments Read more

Man Command

Man To find out more about a command use ‘man’ and then the command name, entering this will give you a program manual for that particular command. E.g. $ man vim Once displayed to see the next page, press the

orahome 19/09/2018 Unix Code No Comments Read more

Which Command

The which command allows you to find the location of programs contained within any of the directories listed in the $PATH variable. $which vim /usr/bin/vim

orahome 19/09/2018 Unix Code No Comments Read more

Whereis Command

The whereis command allows you to search for the location of programs that are not contained within any of the directories listed in the $PATH variable. $ whereis ifconfig ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz

orahome 19/09/2018 Unix Code No Comments Read more
  • « Previous

Recent Posts

  • SQL Server OUTPUT Command
  • Direct Joins for UPDATE and DELETE in Oracle 23ai Database
  • GROUP BY Column Alias or Position in Oracle 23ai
  • SELECT without FROM DUAL in Oracle 23ai Database
  • IF EXISTS and IF NOT EXISTS in SQL in Oracle 23ai Database

Categories

  • Access Functions
  • Affiliate Marketing
  • Articles
  • Book Reviews
    • MySQL Book Reviews
    • Oracle Book Reviews
    • Other Book Reviews
    • PHP Book Reviews
    • Web Marketing Book Reviews
  • Computer Book Releases
  • Computer Magazines
  • Computer Products
  • CSS Tips
  • Excel Functions
  • Javascript Code
  • Microsoft Access
  • MySQL Code
  • Oracle 23ai
  • Oracle Built-in SQL Functions
  • Oracle DBA
  • Oracle Error Codes
    • EXP Error Codes
    • IMP Error Codes
    • ORA Error Codes
    • PLS Error Codes
  • Oracle Forms
  • Oracle Functions
  • Oracle Procedures
  • Oracle SQL
  • PHP Code
  • SEO Tips
  • SQL Server
  • Unix Code
  • Video Editing
  • Web Hosting

Archives

  • March 2025
  • July 2024
  • March 2024
  • July 2021
  • March 2021
  • November 2020
  • August 2020
  • June 2020
  • May 2020
  • March 2020
  • March 2019
  • September 2018

Tag Cloud

059652708X 0596100892 0596101058 0596528000 book review case insensitive search oracle case insensitive search sql center data column sql centre data column sql compare strings oracle compare strings sql convert floating point numbers create varrays sql deleted oracle datafile difference between two dates drop all empty tables drop column from table oracle drop column in table drop column table sql employee service time sql limit objects created by user mysql stored procedure programming network windows xp to windows vista number types sql ora-01722 oracle 11g new features oracle 23ai oracle datafile oracle pl/sql programming oracle rename column table remove leading zeros remove zeros from string sql rename table column sql select last saturday in every month select random number set oracle select random numbers sql sql difference between dates sql time between dates start windows oracle website accessibility website screen readers windows oracle service windows vista windows vista the definitive guide windows xp

Amazon Offers

Categories

  • Oracle SQL
  • Unix Code
  • MySQL Code
  • Oracle Functions
  • PHP Code
  • Oracle DBA
  • Oracle Procedures
  • Oracle Forms
  • Oracle 23ai
  • ORA Error Codes
  • Computer Magazines

Pages

  • ASCII Table Lookup
  • Computer Book Reviews
  • New Computer Books
  • Oracle Database 10g
  • Oracle Employers
  • Oracle Forms
  • Oracle Jobsites
  • Oracle Reports
  • Oracle White Papers
  • Top 10 Javascript Books
  • Top 10 MySQL Computer Books
  • Top 10 Oracle Computer Books
  • Top 10 PHP Computer Books
  • Top 10 Raspberry Pi Books
  • Top 10 SEO and Internet Marketing Books
  • Unix Commands Cheat Sheet
Copyright © 2025 Oracle Home. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.
  • Sitemap
  • Contact us
  • Privacy Policy