mirror of
https://github.com/you-dont-need/You-Dont-Need-GUI.git
synced 2025-08-29 16:00:06 +02:00
tweaks
This commit is contained in:
44
readme.md
44
readme.md
@@ -49,7 +49,7 @@ As a computer expert, we want to be more efficient and do our jobs better. We kn
|
|||||||
|
|
||||||
## copy a file
|
## copy a file
|
||||||
|
|
||||||
**STOP DRAG AND DROP A FILE, OR CMD/CTRL + C, CMD/CTRL + V A FILE** :-1:
|
**STOP DRAG AND DROPING A FILE, OR CMD/CTRL + C, CMD/CTRL + V A FILE** :-1:
|
||||||
|
|
||||||
Copy `readme.txt` to the `documents` folder
|
Copy `readme.txt` to the `documents` folder
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ cp readme.txt documents/
|
|||||||
|
|
||||||
## duplicate a file
|
## duplicate a file
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND DUPLICATE A FILE** :-1:
|
**STOP RIGHT CLICKING AND DUPLICATE A FILE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cp readme.txt readme.bak.txt
|
cp readme.txt readme.bak.txt
|
||||||
@@ -67,7 +67,7 @@ cp readme.txt readme.bak.txt
|
|||||||
|
|
||||||
## copy a folder
|
## copy a folder
|
||||||
|
|
||||||
**STOP DRAG AND DROP A FOLDER, OR CMD/CTRL + C, CMD/CTRL + V A FOLDER** :-1:
|
**STOP DRAG AND DROPING A FOLDER, OR CMD/CTRL + C, CMD/CTRL + V A FOLDER** :-1:
|
||||||
|
|
||||||
Copy `myMusic` folder to the `myMedia` folder
|
Copy `myMusic` folder to the `myMedia` folder
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ cp -a myMusic/ myMedia/myMusic/
|
|||||||
|
|
||||||
## duplicate a folder
|
## duplicate a folder
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND DUPLICATE A FOLDER** :-1:
|
**STOP RIGHT CLICKING AND DUPLICATE A FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cp -a myMusic/ myMedia/
|
cp -a myMusic/ myMedia/
|
||||||
@@ -89,7 +89,7 @@ cp -a myMusic myMedia/
|
|||||||
|
|
||||||
## move a file
|
## move a file
|
||||||
|
|
||||||
**STOP DRAG AND DROP A FILE, OR CTRL + X, CTRL + V A FILE** :-1:
|
**STOP DRAG AND DROPING A FILE, OR CMD/CTRL + X, CMD/CTRL + V A FILE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mv readme.txt documents/
|
mv readme.txt documents/
|
||||||
@@ -99,7 +99,7 @@ mv readme.txt documents/
|
|||||||
|
|
||||||
## rename a file
|
## rename a file
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND RENAME A FILE** :-1:
|
**STOP RIGHT CLICKING AND RENAME A FILE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mv readme.txt README.md
|
mv readme.txt README.md
|
||||||
@@ -107,7 +107,7 @@ mv readme.txt README.md
|
|||||||
|
|
||||||
## move a folder
|
## move a folder
|
||||||
|
|
||||||
**STOP DRAG AND DROP A FOLDER, OR CTRL + X, CTRL + V A FOLDER** :-1:
|
**STOP DRAG AND DROPING A FOLDER, OR CMD/CTRL + X, CMD/CTRL + V A FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mv myMedia myMusic/
|
mv myMedia myMusic/
|
||||||
@@ -117,7 +117,7 @@ mv myMedia/ myMusic/myMedia
|
|||||||
|
|
||||||
## rename a folder
|
## rename a folder
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND RENAME A FOLDER** :-1:
|
**STOP RIGHT CLICKING AND RENAME A FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mv myMedia/ myMusic/
|
mv myMedia/ myMusic/
|
||||||
@@ -125,7 +125,7 @@ mv myMedia/ myMusic/
|
|||||||
|
|
||||||
## merge folders
|
## merge folders
|
||||||
|
|
||||||
**STOP DRAG AND DROP TO MERGE FOLDERS** :-1:
|
**STOP DRAG AND DROPING TO MERGE FOLDERS** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
rsync -a /images/ /images2/
|
rsync -a /images/ /images2/
|
||||||
@@ -133,7 +133,7 @@ rsync -a /images/ /images2/
|
|||||||
|
|
||||||
## create a new file
|
## create a new file
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND CREATE A NEW FILE** :-1:
|
**STOP RIGHT CLICKING AND CREATE A NEW FILE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
touch 'new file'
|
touch 'new file'
|
||||||
@@ -143,7 +143,7 @@ touch 'new file'
|
|||||||
|
|
||||||
## create a new folder
|
## create a new folder
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND CREATE A NEW FOLDER** :-1:
|
**STOP RIGHT CLICKING AND CREATE A NEW FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir 'untitled folder'
|
mkdir 'untitled folder'
|
||||||
@@ -153,7 +153,7 @@ mkdir -p 'path/may/not/exist/untitled folder'
|
|||||||
|
|
||||||
## show file/folder size
|
## show file/folder size
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND SHOW FILE/FOLDER INFO** :-1:
|
**STOP RIGHT CLICKING AND SHOW FILE/FOLDER INFO** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
stat -x readme.md
|
stat -x readme.md
|
||||||
@@ -163,7 +163,7 @@ du -sh readme.md
|
|||||||
|
|
||||||
## open a file with the default program
|
## open a file with the default program
|
||||||
|
|
||||||
**STOP DOUBLE CLICKING A FILE** :-1:
|
**STOP DOUBLE CLICKING ON A FILE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
xdg-open file # on Linux
|
xdg-open file # on Linux
|
||||||
@@ -172,7 +172,7 @@ open file # on MacOS
|
|||||||
|
|
||||||
## zip a folder
|
## zip a folder
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND COMPRESS FOLDER** :-1:
|
**STOP RIGHT CLICKING AND COMPRESS FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
zip -r archive_name.zip folder_to_compress
|
zip -r archive_name.zip folder_to_compress
|
||||||
@@ -180,7 +180,7 @@ zip -r archive_name.zip folder_to_compress
|
|||||||
|
|
||||||
## unzip a folder
|
## unzip a folder
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND UNCOMPRESS FOLDER** :-1:
|
**STOP RIGHT CLICKING AND UNCOMPRESS FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
unzip archive_name.zip
|
unzip archive_name.zip
|
||||||
@@ -188,7 +188,7 @@ unzip archive_name.zip
|
|||||||
|
|
||||||
## remove a file
|
## remove a file
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND DELETE A FILE PERMANENTLY** :-1:
|
**STOP RIGHT CLICKING AND DELETE A FILE PERMANENTLY** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
rm my_useless_file
|
rm my_useless_file
|
||||||
@@ -198,7 +198,7 @@ IMPORTANT: The rm command deletes my_useless_file permanently, which is equivale
|
|||||||
|
|
||||||
## remove a folder
|
## remove a folder
|
||||||
|
|
||||||
**STOP RIGHT CLICK AND DELETE A FOLDER PERMANENTLY** :-1:
|
**STOP RIGHT CLICKING AND DELETE A FOLDER PERMANENTLY** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
rm -r my_useless_folder
|
rm -r my_useless_folder
|
||||||
@@ -275,7 +275,7 @@ bc
|
|||||||
|
|
||||||
## force quit a program
|
## force quit a program
|
||||||
|
|
||||||
**STOP FORCE QUIT A PROGRAM USING GUI** :-1:
|
**STOP FORCE QUIT A PROGRAM USING CTRL + ALT + DELETE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
killall program_name
|
killall program_name
|
||||||
@@ -283,21 +283,23 @@ killall program_name
|
|||||||
|
|
||||||
## check server response
|
## check server response
|
||||||
|
|
||||||
**CHECK THE RESPONSE OF A DOMAIN OR IP ADDRESS** :-1:
|
**STOP OPENING A BROWSER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ping umair.surge.sh
|
ping umair.surge.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## view content of a file
|
## view content of a file
|
||||||
|
|
||||||
**VIEW THE CONTENT OF ANY FILE** :-1:
|
**STOP DOUBLE CLICKING A FILE** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cat apps/settings.py
|
cat apps/settings.py
|
||||||
```
|
```
|
||||||
|
|
||||||
## search for a text
|
## search for a text
|
||||||
|
|
||||||
**SEARCH FOR A PATTERN IN FILES** :-1:
|
**STOP CMD/CTRL + F IN A FOLDER** :-1:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
grep -ir "Query" file.txt
|
grep -ir "Query" file.txt
|
||||||
|
Reference in New Issue
Block a user