• Home
  • Privacy
  • Contact

ShellHacks

Linux Hacks and Guides
  • Blog

Disable IPv6 on Linux – Ubuntu, Debian, CentOS

Posted on Friday December 13th, 2019Friday December 13th, 2019by admin

To disable IPv6 on Linux it is required to modify Linux kernel parameters. IPv6 can be temporary disabled at runtime, using sysctl command or it can be disabled permanently using either sysctl configuration file or the required kernel parameters can be passed at boot time using GRUB configuration. In this note i am showing how […]

Read More
No comments yet
  • Blog

Windows: Zip | Unzip – Command Line

Posted on Wednesday December 11th, 2019Wednesday December 11th, 2019by admin

In the past it was not possible to create Zip files and Unzip archives in Windows without installing third-party programs like WinZip and 7-Zip. But now Windows has a built-in capability to Zip files and folders and Unzip archives from the command line using PowerShell. Starting from Windows 8 with PowerShell 3.0 and .NET Framework […]

Read More
No comments yet
  • Blog

Git – Show Config – List Global & Local Settings

Posted on Tuesday November 19th, 2019by admin

Git stores configuration data in three different scopes: local, global and system. Using the git config command we can list all Git config settings as well as only local, global or system settings. For each scope, Git stores settings in different config files and it may be useful to know how to locate those files. […]

Read More
1 Comment
  • Blog

Windows: Install Telnet Client – CMD & PowerShell

Posted on Wednesday November 13th, 2019by admin

The telnet client in Windows is disabled by default. Before using the telnet command in Windows it is needed to enable the telnet client, otherwise you’ll get a result similar to the below messages: CMD: ‘telnet’ is not recognized as an internal or external command, operable program or batch file. PowerShell: The term ‘telnet’ is […]

Read More
1 Comment
  • Blog

[SOLVED] CMD does not support UNC paths as current directories

Posted on Tuesday November 12th, 2019by admin

If you try to cd to a network drive from the Windows CMD, you will get the following error: CMD does not support UNC paths as current directories Instead of cd command in CMD you can use a pushd command, that creates a drive mapping to the network share and then changes into a path […]

Read More
No comments yet
  • Blog

PowerShell: Clear History of Previous Commands

Posted on Thursday November 7th, 2019by admin

This is not obvious, but the Clear-History command in PowerShell won’t clear the history of the previous commands. The Clear-History clears only the commands entered during the current session, that could be displayed by the Get-History command. To clear the history in PowerShell, it needs to delete the file in which the previous commands are […]

Read More
No comments yet
  • Blog

Windows: PowerShell – Download File From URL

Posted on Wednesday October 30th, 2019by admin

Windows PowerShell can be used for downloading files via HTTP and HTTPS protocols. In PowerShell, as an alternative to the Linux curl and wget commands, there is an Invoke-WebRequest command, that can be used for downloading files from URLs. In this note i am showing how to download a file from URL using the Invoke-WebRequest […]

Read More
No comments yet
  • Blog

Windows: Safe Mode – Start from Boot|Reboot & CMD

Posted on Wednesday October 23rd, 2019Monday October 28th, 2019by admin

Safe Mode in Windows is a special diagnostic mode that allows to use Windows with basic drivers and can help to troubleshoot various problems. Windows can be started in Safe Mode in different ways, depending on the OS version (Windows 10, 8, 7, XP) and the hardware vendor (Lenovo, DELL, HP, Asus, Acer). In this […]

Read More
No comments yet
  • Blog

Windows: Start Service – CMD & PowerShell

Posted on Thursday October 17th, 2019Monday October 28th, 2019by admin

The services in Windows can be started using the Service Manager tool. To start the Service Manager GUI, press Win keybutton to open the start menu, type in services to search for the Service Manager and press Enter to launch it. The services can also be started using the command-line prompt (CMD) or the PowerShell. […]

Read More
No comments yet
  • Blog

Windows: List Processes – TaskList Command – CMD

Posted on Thursday October 17th, 2019Monday October 28th, 2019by admin

All processes in Windows can be listed on the command-line prompt (CMD) using the tasklist command. The tasklist command in Windows is the Linux ps command equivalent. In this note i am showing how to list all processes on the command-line prompt (CMD) in Windows using the tasklist command, how to sort the process list […]

Read More
No comments yet

Posts navigation

Older posts

Tags

access-control anonymity ansible apache archive bash boot cisco cmd command-line curl dns docker encoding encryption ftp git history jenkins mail mod-wsgi mongodb monitoring mount mysql network nmap openssl password pdf performance powershell prometheus proxy python redis repository salt-stack ssh telnet text-processing tor tsm windows yum
  • Menu Item
© 2011-2019 ShellHacks. All rights reserved.
};
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok