Linux Commands
Here are some basic linux command that can be valuable resource for beginner as well as experience user
1. Navigating the File System:
cd
: Changing directories.ls
: Listing files and directories.pwd
: Present working directory.
2. File and Directory Operations:
mkdir
: Creating directories.touch
: Creating files.cp
: Copying files and directories.mv
: Moving/renaming files and directories.rm
: Removing files and directories.
3. Text Processing:
cat
: Concatenating and displaying file content.grep
: Searching for patterns in files.sed
: Stream editor for text manipulation.awk
: Powerful text processing tool.
4. File Permissions:
chmod
: Changing file permissions.chown
: Changing file ownership.chgrp
: Changing file group ownership.
5. System Information:
uname
: Displaying system information.df
: Displaying disk space usage.du
: Showing directory space usage.free
: Displaying free and used memory.
6. Package Management:
apt
andapt-get
: Package management on Debian-based systems.yum
: Package management on Red Hat-based systems.
7. Process Management:
ps
: Displaying information about running processes.kill
: Terminating processes.top
andhtop
: Monitoring system processes.
8. Networking Commands:
ping
: Checking network connectivity.ifconfig
andip
: Configuring network interfaces.netstat
: Displaying network connections.
9. File Compression and Archives:
tar
: Creating and extracting tar archives.gzip
andgunzip
: Compressing and decompressing files.
10. System Administration:
sudo
: Executing commands with superuser privileges.useradd
anduserdel
: Adding and deleting user accounts.passwd
: Changing user passwords.