Command Line Tools Archives | SmartTech101 https://smarttech101.com/category/command-line-tools/ Do Everything in Linux Mon, 11 Mar 2024 16:45:52 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 https://i0.wp.com/smarttech101.com/wp-content/uploads/2022/09/cropped-ST.png?fit=32%2C32&ssl=1 Command Line Tools Archives | SmartTech101 https://smarttech101.com/category/command-line-tools/ 32 32 198967989 Printf Command in Linux with Examples and their Outputs https://smarttech101.com/printf-command-in-linux-with-examples-and-their-outputs/ https://smarttech101.com/printf-command-in-linux-with-examples-and-their-outputs/#respond Thu, 22 Feb 2024 15:45:53 +0000 https://smarttech101.com/?p=3314 The printf command in Linux is used to format and print data. It is similar to the printf function in the C programming language. This command allows you to format strings, numbers, and other types of data according to a specified format. Most of these formats, special characters are going to work with other similar […]

The post Printf Command in Linux with Examples and their Outputs appeared first on SmartTech101.

]]>
https://smarttech101.com/printf-command-in-linux-with-examples-and-their-outputs/feed/ 0 3314
How to Use Virtual Environments in Python https://smarttech101.com/how-to-use-virtual-environments-in-python/ https://smarttech101.com/how-to-use-virtual-environments-in-python/#respond Fri, 05 Jan 2024 16:49:35 +0000 https://smarttech101.com/?p=3269 Discover the essentials of Python virtual environments with a focus on venv. This concise guide outlines steps for creating, activating, and managing isolated environments, allowing seamless experimentation with packages. Ideal for developers seeking practical insights into maintaining project-specific requirements while ensuring system-wide stability. Master the art of leveraging virtual environments for efficient and reliable Python project development.

The post How to Use Virtual Environments in Python appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-use-virtual-environments-in-python/feed/ 0 3269
How to Enter Sudo Password in GUI Using Askpass in Linux https://smarttech101.com/enter-sudo-password-in-gui-using-askpass-linux/ https://smarttech101.com/enter-sudo-password-in-gui-using-askpass-linux/#respond Tue, 29 Aug 2023 13:59:52 +0000 https://smarttech101.com/?p=3054 Streamline Linux administrative tasks with Askpass Helper. Discover how to integrate GUI password prompts for sudo commands using Zenity. Elevate security and user experience in managing system configurations, editing root files, and more. Effortlessly enhance your workflow and boost efficiency in daily operations.

The post How to Enter Sudo Password in GUI Using Askpass in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/enter-sudo-password-in-gui-using-askpass-linux/feed/ 0 3054
How to Create Watermarks with ImageMagick’s Convert Command https://smarttech101.com/create-watermarks-with-imagemagick-convert/ https://smarttech101.com/create-watermarks-with-imagemagick-convert/#respond Tue, 29 Aug 2023 04:53:07 +0000 https://smarttech101.com/?p=3048 In this article, I will talk about how to create watermark on your image. After reading this article you will be able to create watermarks like Shutterstock and istock. You will also learn about Imagemagick's convert command - trim, composite, rotation, canvas, background, cloning, etc. You can also use this command to put watermarks in bulk.

The post How to Create Watermarks with ImageMagick’s Convert Command appeared first on SmartTech101.

]]>
https://smarttech101.com/create-watermarks-with-imagemagick-convert/feed/ 0 3048
How to Resolve Linux Boot Issues After File Mishap https://smarttech101.com/how-to-resolve-linux-boot-issues-after-file-mishap/ https://smarttech101.com/how-to-resolve-linux-boot-issues-after-file-mishap/#respond Sun, 23 Jul 2023 12:55:16 +0000 https://smarttech101.com/?p=2890 Encounter Linux boot issues after a file mishap? Don't panic! This comprehensive troubleshooting guide will walk you through accessing the GRUB console, using second TTY, and other effective methods to get your system up and running again. Restore your Linux computer with ease and confidence.

The post How to Resolve Linux Boot Issues After File Mishap appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-resolve-linux-boot-issues-after-file-mishap/feed/ 0 2890
Copy Command cp in Linux/Unix https://smarttech101.com/copy-command-cp-in-linux-unix/ https://smarttech101.com/copy-command-cp-in-linux-unix/#respond Sat, 25 Mar 2023 14:24:39 +0000 https://smarttech101.com/?p=2676 Here, I will talk about how you can use copy command cp to copy any files or directory in Linux or Unix based distros.

The post Copy Command cp in Linux/Unix appeared first on SmartTech101.

]]>
https://smarttech101.com/copy-command-cp-in-linux-unix/feed/ 0 2676
How to Use Pacman in Arch Linux https://smarttech101.com/how-to-use-pacman-in-arch-linux/ https://smarttech101.com/how-to-use-pacman-in-arch-linux/#comments Thu, 23 Mar 2023 20:15:12 +0000 https://smarttech101.com/?p=2586 In this article, I will talk about pacman's configuration, how to use it to install and remove any package, how to update/downgrade a package, upgrade your Arch Linux based distros. Finally, I will give you a very useful and simple script which will handle all such operations.

The post How to Use Pacman in Arch Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-use-pacman-in-arch-linux/feed/ 1 2586
How to create fstab entry in Linux https://smarttech101.com/how-to-create-fstab-entry-in-linux/ https://smarttech101.com/how-to-create-fstab-entry-in-linux/#respond Sun, 19 Mar 2023 10:21:30 +0000 https://smarttech101.com/?p=2549 Here, I will talk how /etc/fstab works, its fields, how to create a fstab entry for new drives, ntfs drive, virtual hard disk, swapfile, etc.

The post How to create fstab entry in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-create-fstab-entry-in-linux/feed/ 0 2549
How to Mount a Drive in Linux https://smarttech101.com/how-to-mount-a-drive-in-linux/ https://smarttech101.com/how-to-mount-a-drive-in-linux/#comments Sat, 18 Mar 2023 15:02:19 +0000 https://smarttech101.com/?p=2523 In this article, I will tell you how to mount and unmount a drive in Linux using mount/umount, gio, and udisksctl commands in Linux.

The post How to Mount a Drive in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-mount-a-drive-in-linux/feed/ 2 2523
How To Use Anacron In Linux https://smarttech101.com/how-to-use-anacron-in-linux/ https://smarttech101.com/how-to-use-anacron-in-linux/#comments Fri, 17 Mar 2023 19:41:25 +0000 https://smarttech101.com/?p=2514 I will talk about what is anacron in Linux, the difference between anacron and cron, and how to create an anacron job.

The post How To Use Anacron In Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-use-anacron-in-linux/feed/ 1 2514
Backup and Restore Your Computer Using Rsync https://smarttech101.com/backup-and-restore-your-computer-using-rsync/ https://smarttech101.com/backup-and-restore-your-computer-using-rsync/#comments Fri, 17 Mar 2023 19:04:04 +0000 https://smarttech101.com/?p=2481 Here, I will talk about how to use rsync for backup and restore. Then I will guide you how to create a script and cronjob for that.

The post Backup and Restore Your Computer Using Rsync appeared first on SmartTech101.

]]>
https://smarttech101.com/backup-and-restore-your-computer-using-rsync/feed/ 1 2481
How to encrypt and Sign your files using GPG https://smarttech101.com/how-to-encrypt-and-sign-your-files-using-gpg/ https://smarttech101.com/how-to-encrypt-and-sign-your-files-using-gpg/#respond Sun, 12 Mar 2023 13:11:00 +0000 https://smarttech101.com/?p=2433 It is a comprehensive guide on GPG encryption and signature. Learn how public cryptography works and what are the GPG commands to encrypt and sign your files/messages.

The post How to encrypt and Sign your files using GPG appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-encrypt-and-sign-your-files-using-gpg/feed/ 0 2433
FFmpeg: Compress and Rescale Video and Image https://smarttech101.com/ffmpeg-compress-rescale-video-and-image/ https://smarttech101.com/ffmpeg-compress-rescale-video-and-image/#comments Thu, 02 Jun 2022 21:01:25 +0000 https://smarttech101.com/?p=2075 Compress video or image using FFmpeg with/without losing quality - use default or x265 encoder, get/change resolution, keep the aspect ratio.

The post FFmpeg: Compress and Rescale Video and Image appeared first on SmartTech101.

]]>
https://smarttech101.com/ffmpeg-compress-rescale-video-and-image/feed/ 5 2075
zsh: highlighting, autosuggestion, themes, binding, alias, fzf https://smarttech101.com/zsh-highlighting-autosuggestion-themes-binding-alias-fzf/ https://smarttech101.com/zsh-highlighting-autosuggestion-themes-binding-alias-fzf/#comments Fri, 20 May 2022 00:19:44 +0000 https://smarttech101.com/?p=2030 Configure zsh - syntax highlighting, autosuggestion, themes, key bindings, alias, fzf, title and many more.

The post zsh: highlighting, autosuggestion, themes, binding, alias, fzf appeared first on SmartTech101.

]]>
https://smarttech101.com/zsh-highlighting-autosuggestion-themes-binding-alias-fzf/feed/ 2 2030
libinput: Fix your Linux touchpad using libinput https://smarttech101.com/libinput-fix-your-linux-touchpad-using-libinput/ https://smarttech101.com/libinput-fix-your-linux-touchpad-using-libinput/#comments Thu, 05 May 2022 14:24:19 +0000 https://smarttech101.com/?p=2024 This article is all libinput - one, two, and three-finger gestures, natural scroll, and scrolling acceleration among other things.

The post libinput: Fix your Linux touchpad using libinput appeared first on SmartTech101.

]]>
https://smarttech101.com/libinput-fix-your-linux-touchpad-using-libinput/feed/ 5 2024
AUR (Arch User Repository) and Yay in Arch Linux https://smarttech101.com/aur-arch-user-repository-and-yay-in-arch-linux/ https://smarttech101.com/aur-arch-user-repository-and-yay-in-arch-linux/#comments Fri, 11 Mar 2022 20:53:03 +0000 https://smarttech101.com/?p=1965 It's about installing any package from AUR (Arch User Repository) manually or using Yay with the example of Google Chrome and Spotify.

The post AUR (Arch User Repository) and Yay in Arch Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/aur-arch-user-repository-and-yay-in-arch-linux/feed/ 1 1965
bc command in Linux https://smarttech101.com/bc-command-in-linux/ https://smarttech101.com/bc-command-in-linux/#respond Fri, 04 Mar 2022 16:42:24 +0000 https://smarttech101.com/?p=1912 learn bc command in Linux, set scale, remove warranty info, set an alias for these two, use sin, cos, tan, log, etc, use bc in shell scripts

The post bc command in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/bc-command-in-linux/feed/ 0 1912
Regular Expression (Regex, and Regexp) in Linux Ft. Grep https://smarttech101.com/regular-expression-regex-and-regexp-in-linux-ft-grep/ https://smarttech101.com/regular-expression-regex-and-regexp-in-linux-ft-grep/#comments Wed, 02 Mar 2022 11:36:15 +0000 https://smarttech101.com/?p=1804 This is about regular expression (aka regex, regexp) - anchors (dot and dollar), brackets ((,[,{), named class, alternation, back-references.

The post Regular Expression (Regex, and Regexp) in Linux Ft. Grep appeared first on SmartTech101.

]]>
https://smarttech101.com/regular-expression-regex-and-regexp-in-linux-ft-grep/feed/ 1 1804
Grep Command in Linux with Examples https://smarttech101.com/grep-command-in-linux/ https://smarttech101.com/grep-command-in-linux/#respond Thu, 24 Feb 2022 15:45:00 +0000 https://smarttech101.com/?p=1785 This article is about the grep command in Linux with examples - case insensitive search, types of regex, colored and numbered output.

The post Grep Command in Linux with Examples appeared first on SmartTech101.

]]>
https://smarttech101.com/grep-command-in-linux/feed/ 0 1785
Echo Command in Linux With Practical Examples https://smarttech101.com/echo-with-examples/ https://smarttech101.com/echo-with-examples/#comments Tue, 15 Feb 2022 12:51:07 +0000 https://smarttech101.com/?p=1770 This article is all about echo command with practical examples and a little information about escape sequences in Linux.

The post Echo Command in Linux With Practical Examples appeared first on SmartTech101.

]]>
https://smarttech101.com/echo-with-examples/feed/ 2 1770
The df command in Linux with Examples https://smarttech101.com/df-command-in-linux/ https://smarttech101.com/df-command-in-linux/#respond Sat, 12 Feb 2022 18:40:31 +0000 https://smarttech101.com/?p=1750 In this article, you will learn about basic applications of the df command - finding file system type, free and used space, mount location.

The post The df command in Linux with Examples appeared first on SmartTech101.

]]>
https://smarttech101.com/df-command-in-linux/feed/ 0 1750
How to get the basename and directory of a file in Linux https://smarttech101.com/basename-dirname-directory-name/ https://smarttech101.com/basename-dirname-directory-name/#comments Sat, 12 Feb 2022 14:23:31 +0000 https://smarttech101.com/?p=1737 In this article, we will explore how we can find the basename and directory's name of a file and where they are used.

The post How to get the basename and directory of a file in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/basename-dirname-directory-name/feed/ 1 1737
Date Command in Linux/Unix with Practical Examples https://smarttech101.com/date-command-in-linux-unix-with-practical-examples/ https://smarttech101.com/date-command-in-linux-unix-with-practical-examples/#respond Wed, 15 Dec 2021 18:30:13 +0000 https://smarttech101.com/?p=1436 Everything about date command using practical examples - alarm clock, unique name generation, convert unix timestamp, different time zones.

The post Date Command in Linux/Unix with Practical Examples appeared first on SmartTech101.

]]>
https://smarttech101.com/date-command-in-linux-unix-with-practical-examples/feed/ 0 1436
Bluetoothctl: Management of Bluetooth Devices in Linux https://smarttech101.com/bluetoothctl-management-of-bluetooth-devices-in-linux/ https://smarttech101.com/bluetoothctl-management-of-bluetooth-devices-in-linux/#respond Sun, 05 Dec 2021 16:15:38 +0000 https://smarttech101.com/?p=1327 This article is about the Management of Bluetooth devices in Linux using a command-line tool called bluetoothctl.

The post Bluetoothctl: Management of Bluetooth Devices in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/bluetoothctl-management-of-bluetooth-devices-in-linux/feed/ 0 1327
Touch Command in Linux/Unix with Examples https://smarttech101.com/touch-command-in-linux-unix-with-examples/ https://smarttech101.com/touch-command-in-linux-unix-with-examples/#comments Sun, 28 Nov 2021 23:45:49 +0000 https://smarttech101.com/?p=1279 In Linux/Unix, the touch command is used to change the "modify-time" and "access-time" of a file. If the file does not exist, it is created.

The post Touch Command in Linux/Unix with Examples appeared first on SmartTech101.

]]>
https://smarttech101.com/touch-command-in-linux-unix-with-examples/feed/ 1 1279
Hard Links and Soft Links in Linux https://smarttech101.com/hard-links-and-soft-links-in-linux/ https://smarttech101.com/hard-links-and-soft-links-in-linux/#respond Sat, 27 Nov 2021 06:10:28 +0000 https://smarttech101.com/?p=1258 Links in Linux/Unix are of two types - soft links (aka symlinks and symbolic links) and hard links. It is handled by the ln command.

The post Hard Links and Soft Links in Linux appeared first on SmartTech101.

]]>
https://smarttech101.com/hard-links-and-soft-links-in-linux/feed/ 0 1258