Linux Commands
Linux is only free if your time has no value - Anonyms
whoami : Displays current username.
id: Returns user's identity
hostname: Sets or prints the name of the current host system.
uname: Prints operating system name.
pwd: Returns working directory name.
ifconfig: The ifconfig utility is used to assign or to view an address to a network interface and/or configure network interface parameters.
ip: Ip is a utility to show or manipulate routing, network devices, interfaces, and tunnels.
netstat: Shows network status.
ss: Another utility to investigate sockets.
ps: Shows process status.
who: Displays who is logged in.
env: Prints environment or sets and executes the command.
lsblk: Lists block devices.
lsusb: Lists USB devices
lsof: Lists opened files.
lspci: Lists PCI devices.
ssh: Secure Shell (SSH) refers to a protocol that allows clients to access and execute commands or actions on a remote computer. On Linux-based hosts and servers running or another Unix-like operating system, SSH is one of the permanently installed standard tools and is the preferred choice for many administrators to configure and maintain a computer through remote access.
Eg. ssh username@ipaddress
sudo: Execute command as a different user.
su: The su utility requests appropriate user credentials via PAM and switches to that user ID (the default user is the superuser). A shell is then executed.
useradd: Creates a new user or updates default new user information.
userdel: Deletes a user account and related files.
usermod: Modifies a user account.
addgroup: Adds a group to the system.delgroupRemoves a group from the system.
passwd: Changes user password.
apt: Apt provides a high-level command-line interface for the package management system.
aptitude: Aptitude is an alternative to apt and is a high-level interface to the package manager.
snap: Install, configure, refresh, and remove snap packages. Snaps enable the secure distribution of the latest apps and utilities for the cloud, servers, desktops, and the internet of things.
gem: Gem is the front-end to RubyGems, the standard package manager for Ruby.
pip: Pip is a Python package installer recommended for installing Python packages that are not available in the Debian archive. It can work with version control repositories (currently only Git, Mercurial, and Bazaar repositories), logs output extensively, and prevents partial installs by downloading all requirements before starting installation.
git: Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.
Comments
Post a Comment