All Linux Videos Playlist
• Linux in telugu | Linux outline in telugu
Linux real time scenarios Playlist
• Linux real time scenarios / How to give su...
Linux interview questions and answers Playlist
• 🔴Linux interview questions and answers L1 ...
Shell Scripting Playlist
• Shell Scripting In Telugu
-------------
Navigating the File System:
1 ls: List files and directories in the current location.
2 cd: Change directory.
3 pwd: Print the working directory.
File Manipulation:
4 cat: Display the contents of a file.
5 less: View file content page by page.
6 more: View file content page by page.
7 head: Display the first few lines of a file.
Example: head -n 5 filename
8 tail: Display the last few lines of a file.
Example: tail -n 10 filename
9 tail -f: Continuously display the last lines of a file (useful for monitoring log files).
Example: tail -f /var/log/syslog
10 diff: Compare the content of two files and display the differences.
Example: diff file1 file2
Viewing and Editing Files:
11 mkdir: Create a new directory.
12 touch: Create an empty file.
13 nano or vim: Text editors to create or modify files.
14 cp: Copy files or directories.
15 mv: Move or rename files or directories.
16 rm: Remove files or directories.
17 rmdir: Remove empty directories.
18 wc: Count lines, words, and characters in a file.
19 ln: Create hard or symbolic (soft) links to files.
Example: ln -s target_file link_name
20 stat: Display file or file system status information.
Example: stat filename