All the question that scared me now i am trying to scare them .. so that they cant scare others :)
Wednesday, November 22, 2023
Introducing #RockyLinux A Stable, Secure, and Community Driven #OperatingSystem #Technology #Tech https://youtu.be/C3mrSK0Ejrs
Friday, November 17, 2023
🐍 Guide to Installing Python 3.12! | Easy Setup Tutorial #Python312 #ProgrammingTips #technology
Wednesday, November 15, 2023
Obtain the #absolute #path of the #directory containing the currently executing script
MYPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
Then you can use $MYPATH variable as you need to access files in the current directory where the currently running script is residing.
$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )
1. `$(...)`: This syntax is used for command substitution. Whatever is inside `$(...)` will be executed, and the output of that command will replace `$(...)`.
2. `cd -- "$(dirname "$0")"`: This command changes the current directory (`cd`) to the directory containing the script. Here, `"$0"` represents the name of the script, and `dirname "$0"` extracts the directory name from the script's path. The double quotes and `$(...)` ensure that spaces or special characters in the directory path are handled correctly.
3. `>/dev/null 2>&1`: This part is a redirection. `>/dev/null` redirects standard output (stdout) to `/dev/null`, which essentially discards any output from the `cd` command. `2>&1` redirects standard error (stderr) to the same place as stdout, which is `/dev/null` in this case, effectively suppressing any error messages.
4. `;`: This semicolon allows the chaining of commands in a single line. It separates the `cd` command from the subsequent `pwd` command.
5. `pwd -P`: This command (`pwd`) prints the working directory. The `-P` option stands for `--physical` and is used to get the physical current working directory without any symbolic links.
To summarize, this line of code changes the current directory to the directory containing the script, suppresses any output or errors from the `cd` command, and then prints the absolute path of that directory.
#CommandSubstitution, #AbsolutePaths, #DirectoryNavigation, #BashScripting, #CurrentDirectory, #PathManipulation, #RedirectOutput, #SuppressErrors, #PhysicalDirectories, #ScriptExecution
Friday, November 3, 2023
Installing #Debian and Exploring #Desktop #Environments
Thursday, November 2, 2023
Wednesday, November 1, 2023
Access #windows shared drive in #windows from #samsung #mobile?
Windows shared drive from a Samsung mobile device, you can use various methods, including built-in features and third-party apps. Here's a step-by-step guide on how to do it using the built-in features:
Requirements:
- Ensure that your Samsung mobile device and the Windows computer with the shared drive are on the same network.
Steps:
Enable Sharing on Windows: On your Windows computer, make sure that the folder or drive you want to access is shared. To do this, right-click on the folder or drive, select "Properties," go to the "Sharing" tab, and click "Advanced Sharing." Enable sharing and give it an appropriate name.
Note the Computer Name: You'll need to know the computer's name that is sharing the drive. To find this, right-click on "This PC" or "My Computer," select "Properties," and note the "Computer Name."
Access Shared Drive on Samsung Mobile: Now, on your Samsung mobile device:
a. Open the "My Files" or "File Manager" app (the name may vary based on your device).
b. Tap on the three horizontal lines or the menu icon in the upper left or right corner, then select "Network."
c. Tap on "Windows SMB."
d. Enter the computer name or IP address of the Windows computer you noted earlier.
e. If prompted, enter the username and password for your Windows computer.
f. Browse the shared folders and drives and access the one you need.
g. You can also create shortcuts to access shared folders more quickly.
This method allows you to access Windows shared drives from your Samsung mobile device using the built-in file manager. Keep in mind that your Windows computer must be powered on and connected to the same network for this to work.
Additionally, there are third-party apps available on the Google Play Store, such as "Solid Explorer" or "ES File Explorer," which offer more advanced features for accessing shared Windows drives from your mobile device. You can consider using such apps if you need more functionality or if the built-in method doesn't meet your needs.
or try this
To install Samba server in Windows, follow these steps:
- Open the Control Panel.
- Click Programs and Features.
- Click Turn Windows features on or off.
- Scroll down to SMB 1.0/CIFS File Sharing Support and expand it.
- Select the SMB 1.0/CIFS Client and SMB 1.0/CIFS Server checkboxes.
- Click OK.
- Click Restart now to restart your computer.
After your computer has restarted, Samba server will be installed and running. You can now create and share folders on your Windows computer with other devices on your network.
To create a shared folder:
- Open File Explorer.
- Navigate to the folder that you want to share.
- Right-click the folder and select Properties.
- Click the Sharing tab.
- Click the Share button.
- In the Network access section, select the Everyone checkbox.
- Click Share.
- Click Done.
To access a shared folder on another device:
- Open File Explorer.
- In the left pane, click Network.
- Double-click the computer that contains the shared folder.
- Double-click the shared folder.
You can now access the files and folders in the shared folder just like you would on your local computer.
#SambaServer #Windows #FileSharing #NetworkStorage
Exploring #Popular #OS #Distributions: A Guide to Next #Linux #Adventure...
Exploring Popular OS Distributions: A Guide to Your Next #Linux Adventure
Are you ready to embark on a journey through the diverse world of #OperatingSystem (#OS) distributions? From powerful #Linux variants to unique open-source projects, the landscape of OS choices is both extensive and exciting. In this article, we'll take a closer look at some popular OS distributions, offering insights into what makes each one unique.
Ubuntu
- Download Ubuntu at https://ubuntu.com/download
#Ubuntu, based on #Debian, is known for its user-friendly interface and extensive software repositories. It's a great choice for those new to #Linux.
Fedora
- Download Fedora at https://getfedora.org/
#Fedora, backed by Red Hat, is where innovation and cutting-edge technologies meet. Hashed with "#RPM" package management, Fedora offers the latest features for those who want to stay on the bleeding edge.
Linux Mint
- Download Linux Mint at https://linuxmint.com/download.php
#LinuxMint, with the term "Cinnamon," is a distro with a focus on providing a comfortable and visually appealing user experience. It's an ideal choice for users who value aesthetics and usability.
CentOS
- Download CentOS at https://centos.org/download
#CentOS is hashed with "stability" and "servers" in mind. If you need a reliable OS for server environments, CentOS is your trusted companion.
Arch Linux
- Download Arch Linux at https://archlinux.org/download/
For the adventurous user who enjoys building their system from the ground up, #ArchLinux, hashed with "rolling release," is a go-to choice. It's all about customization and control.
openSUSE
- Download openSUSE at https://software.opensuse.org/download.html
#openSUSE, known for its versatility, offers both Tumbleweed and Leap versions. The word "YAST" in openSUSE stands for user-friendly configuration tools, which make it appealing for both beginners and experts.
Debian
- Download Debian at https://www.debian.org/distrib/
As the parent distribution of #Ubuntu, #Debian is a rock-solid choice. Hashed with "community-driven" and "stability," Debian is perfect for those who prioritize reliability and community involvement.
Slackware
- Download Slackware at http://www.slackware.com/getslack/
#Slackware, a timeless distro, is revered by seasoned Linux users. It's hashed with "simplicity" and "traditional." For those who appreciate the old-school charm, Slackware is worth exploring.
In conclusion, the world of #OSDistributions offers something for everyone. Whether you're a newcomer looking for a user-friendly interface or an experienced user seeking customization and control, the variety of choices ensures you'll find the perfect OS for your needs.
Remember that while downloading and trying different OS distributions is an exciting endeavor, always ensure you're obtaining them from official sources to maintain security and authenticity.
Happy exploring, and may your OS journey lead to an enriching and rewarding computing experience!
Featured Posts
How to Auto-Terminate Frozen and Hung Apps in Windows
We have all been there. You are in the middle of an important project or a gaming session, and suddenly, your screen freezes. The dreaded ...
-
public struct CoOrds { public int x, y; public CoOrds( int p1, int p2) { x = p1; y = p2; } }
-
LM Studio Overview LM Studio is a desktop application designed for developing and experimenting with large language models (LLMs)...