Home / Companies / GitKraken / Blog / Post Details
Content Deep Dive

Shell Commands | Intro to the CLI Part 2

Blog post from GitKraken

Post Details
Company
Date Published
Author
Dwayne McDaniel
Word Count
3,302
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Part two of a command-line introduction explains core shell concepts for navigating and managing a computer’s file system. It covers identifying the current user with `whoami`, locating the present working directory with `pwd`, viewing directory contents through `ls` and its options, and changing locations with `cd`, including relative paths, home-directory shorthand, and previous-directory navigation. The material also introduces creating directories and files with `mkdir` and `touch`, moving, renaming, copying, and deleting files with `mv`, `cp`, and `rm`, emphasizing the risks of permanent deletion and root-level access. It encourages users to consult built-in documentation with `man`, describes useful commands for clearing screens, viewing command history, inspecting processes, and reading files, and highlights keyboard shortcuts such as command-history search, interruption, and tab completion.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.