Commands for Files and Directory Handling in Linux
- To change directory
- E.g cd / [we are moving to root directory]
- Takes one level up of directory
- E.g cd..
- To list the items of directory
- Ls –la
- List content of directory including hidden files
- E.g ls-la
- Copies the content from file a to file b
- If file b is not there, file b is created
- It it exists, b is overwritten
- E.g cp ict.txt byte.txt [we are copying content from ict.txt to byte.txt]
- Cp –r
- Copies content of directory
- If second directory is not found, second directory is created
- If it exists, content is overwritten
- To rename files and directories
- To move files and directories
- Prints content of file
- E.g cat filename.txt
- Prints first ten line of file
- E.g head ict.txt
- To delete file
- Rm –f
- Forecefully delets file
- Create a new directory if no exists
- Mkdir –p
- Creates nested directory
- E.g mkdir /p example/ict/byte
- Remove/delete directory
- Displays currently working directory
- To determine type of file
- E.g file filename
- View text file in command prompt one screen at a time if file is large
- Read content of text file one page per time
People are Loving
A Complete and Powerful Guide for Google Search Console (GSC) 
Google Search Console (GCS): Google Search Console is a webmaster tools which helps to check the website statistics and index...
Blue Screen Error on Microsoft Surface Pro: Fix it with some Simple Methods
The latest Microsoft Surface Pro models have great functionality. But they’re not immune to the common issues you face in...
8 ways to grow your Tiktok followers and get famous
Are you wondering about how to grow your Tiktok followers? TikTok is one of the latest social media sites, and...
Tips and Tricks to Make Siri More Useful
Everyone has love and hate relationship with Siri. Siri is Apple’s voice controlled digital assistant of iOS. Siri is powered...
How to remove Microsoft Edge from Windows 10?
Browsers Overview Many people use Google Chrome browser, Mozilla Firefox, Microsoft Edge, Safari Browser, and some of the professional user...
August 7 @ August 7 - August 7
10 Hits in 30 Days
Share Market4 weeks ago
IPO Result of Manakamana Smart Laghubitta Bittiya Sanstha Limited. When will Manakamana Smart Laghubitta IPO Result Publish?
Computer4 weeks ago
People are using these 8 easy tips to stop spam in their mail.
Auto Life2 weeks ago
Bike Tax Rate in Nepal [ 2078/79 – Latest Update ]
OPINION3 weeks ago
Nest Nepal Hosting Review: Is it worth buying Nest Nepal’s Hosting in Nepal?
Auto Life3 weeks ago
Suzuki Bikes Price in Nepal
Digital Marketing2 weeks ago
How to Choose Websites for Quality Link Building
Camera3 weeks ago
Insta360 Go 2 Price in Nepal with Specifications
Masters of Computer Science3 weeks ago
Boot Process in Linux | Understanding Boot process and related System files