Showing posts with label #CLI. Show all posts
Showing posts with label #CLI. Show all posts

Wednesday, March 6, 2024

Working with context in linux pwd stty tty printenv

 

Ever felt lost in the command line? Fear not, this article will equip you with the knowledge to navigate your terminal with ease! We'll delve into four fundamental commands: pwd, stty, tty, and printenv, helping you understand your environment and control your terminal experience.

 1. `pwd` - Print Working Directory
The `pwd` command holds the key to unlocking your current location within the Linux file system. By simply invoking `pwd`, users gain insight into their present working directory, providing crucial context for subsequent commands and operations.

 2. `stty` - Set Terminal Options
The `stty` command empowers users with fine-grained control over terminal settings and behavior. From adjusting terminal line settings to configuring input and output modes, `stty` offers a versatile toolkit for tailoring the terminal experience to individual preferences and requirements.

 3. `tty` - Print Terminal Name
In the realm of multiplexed terminals and virtual consoles, the `tty` command serves as a guiding beacon, illuminating the terminal device associated with the current shell session. Whether navigating between virtual terminals or troubleshooting connectivity issues, `tty` provides clarity and orientation in the terminal landscape.

 4. `printenv` - Print Environment Variables
As guardians of system configuration and user preferences, environment variables wield significant influence over the behavior of Linux applications and processes. With `printenv`, users gain insight into the environment variables governing their shell environment, enabling precise configuration and troubleshooting.

#LinuxCommands, #CommandLine, #Terminal, #ShellScripting, #SystemAdministration, #EnvironmentVariables, #LinuxTips, #UnixCommands, #CLI, #TechTutorials

With each invocation of `pwd`, `stty`, `tty`, and `printenv`, you deepen your understanding of the Linux command-line landscape, embarking on a journey of exploration and mastery that promises endless discovery and empowerment.

Wednesday, October 18, 2023

#Windows #CLI #Commands : list of commonly used #Windows #Command Line #commands

  1. cd: Change the current directory.
  2. dir: List files and directories in the current directory.
  3. cls: Clear the screen.
  4. copy: Copy files or directories.
  5. del: Delete files.
  6. md/mkdir: Create a new directory.
  7. rd/rmdir: Remove a directory.
  8. type: Display the contents of a text file.
  9. ren/rename: Rename files or directories.
  10. move: Move files or directories.
  11. ipconfig: Display IP configuration for all network interfaces.
  12. ping: Test network connectivity to a host.
  13. netstat: Display network statistics and connections.
  14. tasklist: List all running processes.
  15. taskkill: Terminate processes by name or process ID.
  16. shutdown: Shutdown or restart the computer.
  17. sfc: System File Checker, scan and repair system files.
  18. chkdsk: Check and repair disk errors.
  19. diskpart: Manage disk partitions and volumes.
  20. format: Format a disk or volume.
  21. schtasks: Schedule tasks and scripts to run at specified times.
  22. systeminfo: Display system information.
  23. wmic: Windows Management Instrumentation Command-line tool.
  24. regedit: Registry Editor for making system changes.
  25. gpupdate: Force an update of Group Policy settings.
  26. net use: Connect or disconnect network shares.
  27. net user: Manage user accounts.
  28. net group: Manage local user groups.
  29. net view: List available network resources.
  30. net share: Create or manage shared resources.
  31. net localgroup: Manage local groups.
  32. shutdown: Shutdown or restart the computer.
  33. sc: Manage Windows services.
  34. assoc: Display or modify file extension associations.
  35. attrib: Display or change file attributes.
  36. bcdedit: Boot Configuration Data Editor.
  37. cipher: Encrypt or decrypt files and folders.
  38. netsh: Network Shell, configure network settings.
  39. perfmon: Performance Monitor.
  40. gpresult: Display Resultant Set of Policy for a user or computer.

#cd,#dir,#cls,#copy,#del,#md,#mkdir,#rd,#rmdir,#type,#ren,#rename,#move,#ipconfig,#ping,#netstat,#tasklist,#taskkill,#shutdown,#sfc,#chkdsk,#diskpart,#format,#schtasks,#systeminfo,#wmic,#regedit,#gpupdate,#netuse,#netuser,#netgroup,#netview,#netshare,#netlocalgroup,#sc,#assoc,#attrib,#bcdedit,#cipher,#netsh,#perfmon,#gpresult

Featured Posts

Kali Linux Remote Desktop: Access GNOME from Windows Using Native RDP

  Kali Linux + GNOME 50 + GNOME Remote Desktop + Windows Remote Desktop (MSTSC) Getting a full GNOME desktop remotely on Kali Linux can be ...