Mastering Windows File Management and MS-DOS Commands

Understanding Windows Explorer

Windows Explorer (now commonly known as File Explorer) is a fundamental tool for navigating through directories and subdirectories on your computer. It provides a windowed interface where you can efficiently manage files and folders.

Customizing Windows Explorer

  • Task Pane Options: Within a Windows Explorer window, you can customize the task pane. The number of choices available depends on your current view and settings.
  • Folder View Indicators: In the folder options, you’
Read More

Basic Linux Terminal Commands

File & Directory Commands

  • ls: List directory contents.
  • cd directory_name: Change directory.
  • pwd: Print working directory.
  • mkdir directory_name: Create a directory.
  • rmdir directory_name: Remove an empty directory.
  • cat file: Display file content.
  • cp source destination: Copy files or directories.
  • mv source destination: Move or rename files or directories.
  • stat file: Display file or file system status.
  • stat -f file: Display file system status.
  • wc -c file: Count bytes in a file.
  • zcat file.gz: Display content
Read More

Managing Files: Wildcards, Commands, and Operations

Understanding File Templates (Wildcards)

File templates, often using wildcards, help select multiple files:

  • *.exe: Selects all files with the .exe extension.
  • ?????.bat: Selects all files with a five-character name and the .bat extension.
  • *.??: Selects all files with any name and a two-character extension.
  • *.*: Selects all files.
  • ????????.???: Selects all files with names up to eight characters and extensions up to three characters (common in older systems).

Basic File Operations in Windows/Command Line

Viewing

Read More

Essential Linux Commands: A Quick Reference

Essential Linux Commands

File and Directory Management

  • cd – Change directory. Example: cd /home/user (Navigates to the /home/user directory)
  • mkdir – Create a directory. Example: mkdir /home/user/new_directory (Creates a new directory)
  • ls – List directory contents. Example: ls /home/user (Lists files and directories in /home/user)
  • cp – Copy files. Example: cp /home/user/file1.txt /home/backup (Copies file1.txt to /home/backup)
  • mv – Move files. Example: mv /home/user/file1.txt /home/new_location (Moves
Read More

Essential Linux Commands and Security Features

Essential Linux Commands

1. mkdir (Make Directory)

The mkdir command is used to create one or more new directories.

Syntax:

mkdir [options] directory_name

Examples:

  • Create a single directory:
    mkdir myfolder
  • Create nested directories using the -p option:
    mkdir -p parent/child/grandchild
  • Create multiple directories at once:
    mkdir dir1 dir2 dir3

2. cat (Concatenate and Display Files)

The cat command is used to view the contents of a file, create a file, or concatenate multiple files.

Syntax:

cat [options] [file_name(
Read More

Essential Unix Commands for File and Directory Management

Copy a File

  • cp source destination
  • Where source and destination are filenames and may need to refer to full pathnames.
  • Has the effect of copying file source to a new file destination
  • cp source .
  • Has the effect of copying file source into the current directory – the . is shorthand for “here”.

Remove/Delete a File

  • rm file
  • Use this command with caution – files deleted in this way cannot be retrieved.

Rename (Move) a File

  • mv source destination
  • Moves the file source to a new file destination.
  • As well as renaming
Read More