Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Wednesday, November 26, 2025

Termius or macOS Terminal keyboard shortcuts

 Termius on Mac uses standard macOS shortcuts along with some specific commands for its unique features like the Command Palette and split view. 

General Actions
Action Shortcut
Command Palette (access tabs/hosts)Command-K
Jump between tabsCommand-J
New connection/tabCommand-T
Open local terminalCommand-L
Open side panel (snippets/history)Command-S
Split window into two panesCommand-D
Close split paneShift-Command-D
Close tabCommand-W
Terminal Navigation & Text Editing (Standard Unix/Mac)
These shortcuts are standard for most command-line interfaces on macOS and work in Termius: 
  • Go to beginning of lineControl-A
  • Go to end of lineControl-E
  • Delete from cursor to beginning of lineControl-U
  • Delete from cursor to end of lineControl-K
  • Navigate by wordOption-Left Arrow or Option-Right Arrow
  • Reverse search command historyControl-R
  • Autocomplete directory/file nameTab (type characters, then press Tab once or twice)
  • Send break (equivalent to Ctrl-C in shell)Command-. (period) 
Copy/Paste 
  • CopyCommand-C
  • PasteCommand-V
  • Paste selectionShift-Command-V 

Monday, November 10, 2025

Using SFTP on macOS



Method 1 SFTP (Secure File Transfer Protocol) is a secure way to transfer files between systems. macOS provides built-in support for SFTP through the terminal, and you can also use third-party tools for a graphical interface.


Method 1: Using Terminal (Built-in SFTP Client)


Open Terminal Launch the Terminal app from Applications > Utilities or by searching for it in Spotlight.


Connect to the Server Use the following command to initiate an SFTP session: sftp username@hostname Replace username with your server username and hostname with the server's IP address or domain.


Authenticate Enter your password when prompted.


Transfer Files Use these commands to manage files: Upload a file: put /path/to/local/file /path/to/remote/destination Download a file: get /path/to/remote/file /path/to/local/destination List files: ls Exit SFTP session: exit


Method 2: Using FileZilla (Graphical Interface)

Download and Install FileZilla Download FileZilla Client for macOS from FileZilla's official site. Ensure you select the version compatible with your macOS version.


Launch FileZilla Open the application after installation.


Set Up Connection Enter the following details in the top bar: Host: sftp://hostname Username: Your server username. Password: Your server password. Port: Default is 22.


Transfer Files Drag and drop files between the local and remote panes to upload or download files.


Best Practices


Always use strong passwords or SSH keys for authentication.


Verify server authenticity to avoid man-in-the-middle attacks.


Use third-party tools like FileZilla for ease of use if you're not comfortable with command-line operations.

Friday, October 10, 2025

How to show hidden folders in Mac OS in Finder

 To show hidden files and folders on a Mac, open Finder and press the Command (⌘) + Shift + Period (.) keys simultaneouslyThe hidden files will appear with a faded or semi-transparent look. To hide them again, press the same keyboard shortcut. 

Using the Keyboard Shortcut
  1. Open any Finder window. 
  2. Navigate to the folder where you want to view hidden files, such as your Macintosh HD folder. 
  3. Press and hold the Command, Shift, and Period keys all at the same time. 
  4. Hidden files and folders will appear. 
  5. To hide them again, repeat the same key combination. 
Using Terminal (Alternative Method)
  1. Open Terminal by searching for it in Spotlight (magnifying glass icon). 
  2. Enter the following command and press Return: defaults write com.apple.finder AppleShowAllFiles YES. 
  3. Hold down the Option key, right-click the Finder icon in the Dock, and select Relaunch to apply the changes. 
  4. To hide all files again, you can use the same command, replacing YES with NO, or simply press the keyboard shortcut from the first method. 
Why Files Are Hidden
Hidden files are usually system files and should not be deleted or changed as it could cause problems with macOS or specific applications. They are hidden by default to prevent accidental modification or deletion. 

Monday, August 18, 2025

I asked Perplexity Pro which is the best laptop for ai work & macbook is not in the list !!

 Suggest the best laptop for ai model training that can be bought in Bangalore


Top Laptops for AI Model Training (2025, Bangalore)

Model NameGPU/CPURAMKey Features & Reasons to BuyApprox. Price (INR)Availability
ASUS ROG Zephyrus G14AMD Ryzen 9/7, RTX 40XX series16/32GBCompact, powerful CPU/GPU for deep learning; reliable ventilation1,60,000–2,10,000Major electronics retailers[1][2]
HP Victus 15-fb3025AXRyzen 7, NVIDIA RTX 4050+16/32GBGood for large datasets and image/video tasks, gaming build for high performance1,40,000–1,60,000HP, Amazon, local stores[3][4]
Holoware AI LaptopIntel Core Ultra 5/7, Intel Arc GPU16/32GB DDR5India’s dedicated AI laptop, optimized for ML workloads, DDR5 RAM, efficient cooling~1,80,000+Direct via Holoware, Bangalore[5]
HP Omen/Acer Nitro/ASUS TUF seriesRyzen 7/9, RTX 4070/4080 (NVIDIA)16–32GBRTX 4070+ GPUs, high TGP, suited for prolonged ML/deep learning tasks1,70,000–2,00,000+Amazon sale, HP/ASUS stores[2][4]
Lenovo IdeaPad Pro 5 (AI model)Intel Core Ultra 9, Integrated AI GPU32GB DDR5OLED screen, advanced AI, general ML/data science (integrated GPU, less CUDA)1,30,000–1,60,000Lenovo exclusive/play stores[4]

Expert Tips for Buying an AI/ML Laptop

  • GPU is critical: For local training, prefer NVIDIA RTX series (ideally 4050 or above) for CUDA compatibility with TensorFlow/PyTorch[1][2][6].
  • RAM: Minimum 16GB; 32GB preferred for large models and datasets.
  • Storage: NVMe SSD (512GB–1TB) for speedy data access.
  • Cooling: Machines like ROG Zephyrus, HP Omen, Holoware AI offer solid cooling to prevent performance throttling during long model training[3][5].
  • Linux Compatibility: Check if your chosen machine runs Ubuntu well, as many ML frameworks work best on Linux[1].
  • Sales: August 2025 Amazon festivals offer major discounts on AI/GPU laptops. Visit Bangalore’s electronics markets for local deals and warranty support[4].

Where to Buy in Bangalore

  • Physical Stores: Pai International, Croma, authorized HP/ASUS/Lenovo stores.
  • Online: Amazon India (watch for sales periods like the Great Freedom Festival), dedicated sites like Holoware for India-specific AI laptops[5][4][7][8].
  • Refurbished Options: EazyPC offers checked, high-spec used models at a lower price, suitable for budget-conscious AI practitioners[1].

Standout Recommendation

For maximum AI training power, the ASUS ROG Zephyrus G14 (with NVIDIA RTX 4060 or 4070, Ryzen 9/7, and at least 32GB RAM) is one of the best available in Bangalore for deep learning, model prototyping, and heavy ML workloads. If you want a specialized option, consider the Holoware AI laptop—designed and supported locally in India for AI workloads (though with Intel Arc GPUs, so check framework compatibility)[1][2][5][4].


Always confirm exact specs and CUDA compatibility if you primarily work in TensorFlow or PyTorch, and ensure the laptop fits your specific dataset and framework needs before purchase[1][2][5][9][4][6].

Sources
[1] Best Laptop For Artificial Intelligence Students 2025 https://eazypc.in/best-laptop-for-artificial-intelligence-students-in-2025/
[2] Best Laptops for AI & Machine Learning (2025) https://www.youtube.com/watch?v=_2Eie6LayZc
[3] Best HP Laptops for AI Development India 2025 https://www.hp.com/in-en/shop/tech-takes/post/best-workstations-for-ai-development
[4] AI powered laptops price drop in Amazon Great Freedom Festival … https://www.hindustantimes.com/technology/ai-powered-laptops-price-drop-in-amazon-great-freedom-festival-sale-with-up-to-48-off-on-ryzen-ai-and-core-ultra-models-101754454762242.html
[5] Top Laptop for Artificial Intelligence in India https://holoware.co/best-laptop-for-artificial-intelligence-in-india-holoware-guide/
[6] Best Laptop for Data Science in 2025: Top 15 Picks https://www.upgrad.com/blog/top-10-best-data-science-laptops/
[7] AI Laptops in India 2025 – Best AI Laptop Brands & Buying Guide https://www.paiinternational.in/blog-details/all-about-ai-laptops-what-they-are-how-they-work-w
[8] Top 5 AI Laptops in India in 2025 - April https://www.paiinternational.in/blog-details/revolutionize-your-work-play-top-5-ai-laptops-in-i
[9] Best Laptop for Machine Learning in 2025 https://www.edureka.co/blog/best-laptop-for-machine-learning/
[10] Best Affordable AI Laptops for Gaming & Studies | HP® Tech Takes https://www.hp.com/in-en/shop/tech-takes/post/affordable-ai-laptops-gaming-school-balance


why is apple MacBook not in this list


Apple MacBook models, including the MacBook Pro with Apple Silicon (M1, M2, and M3 chips), are not typically recommended for intensive AI model training—particularly for tasks using popular frameworks like TensorFlow and PyTorch—due to several key reasons relevant in 2025:


- **Lack of CUDA Support:** Most AI and machine learning libraries (especially TensorFlow and PyTorch) use NVIDIA’s CUDA platform for GPU acceleration. Apple's M-series chips use integrated graphics, which are not CUDA-compatible, meaning you can't leverage powerful GPU acceleration for many deep learning tasks as you would on an NVIDIA RTX-equipped laptop[1][2][3].

- **Limited eGPU Expansion:** Apple Silicon Macs do not natively support external graphics cards (eGPUs) for ML, unlike earlier Intel-based Macs.

- **Framework Optimization:** While Apple has made progress with Metal and CoreML optimizations, the overall ML ecosystem (especially for research and large-scale model training) still relies heavily on CUDA and NVIDIA GPUs for maximum performance with large datasets and advanced architectures[1][4][5].

- **Native Support Challenges:** Some advanced features in deep learning libraries, along with many third-party tools and dependencies, either do not work optimally or are not fully supported on Apple Silicon, especially for newest AI research tools.

- **Price-to-Performance:** For a similar budget, Windows laptops (with NVIDIA GPUs) usually offer much better raw performance for AI/ML model training compared to Apple MacBooks[1][4][3][5].


Apple MacBooks can be excellent for software development, classical machine learning (CPU-based), and on-the-go prototyping, but for **heavy AI model training**, a laptop with a high-end NVIDIA GPU remains the standard recommendation in India and globally, which is why MacBook is not included in the top picks for this specific requirement[1][4][2][3][5].


Citations:

[1] Best Laptop For Artificial Intelligence Students 2025 https://eazypc.in/best-laptop-for-artificial-intelligence-students-in-2025/

[2] Top Laptop for Artificial Intelligence in India https://holoware.co/best-laptop-for-artificial-intelligence-in-india-holoware-guide/

[3] Best Laptop for Machine Learning in 2025 https://www.edureka.co/blog/best-laptop-for-machine-learning/

[4] Best Laptops for AI & Machine Learning (2025) https://www.youtube.com/watch?v=_2Eie6LayZc

[5] Best Laptop for Data Science in 2025: Top 15 Picks https://www.upgrad.com/blog/top-10-best-data-science-laptops/


Featured

TechBytes on Linux

This is a growing list of Linux commands which might come handy for the of Linux users. 1. Found out i had to set the date like this: ...

Popular Posts