Top 30 most useful shortcuts in windows operating system?

On Windows 10, keyboard shortcuts provide a quick way to navigate and operate the experience and features using a single press of one or multiple keys, which otherwise will take several clicks and more time to accomplish using the mouse.

These are the essential keyboard shortcuts that every Windows user should know:

Keyboard shortcutAction
Ctrl+ASelect all items in a document or window.
Ctrl+CCopies selected text or item.
Ctrl+X Cuts selected text or item.
Ctrl+VPastes text or item on clipboard to your cursor location or designated file location.
Ctrl+DDelete selected text or item.
Ctrl+ZUndo something.
Alt+F4Close active window. (If no active window is present, then a shutdown box appears.)
Ctrl+YRedo something.
Ctrl+SSave a document.
Ctrl+PPrint a document.
EscClose current task.
Ctrl+Shift+EscOpens the task manager.
Ctrl+plus(+)Zoom in on a large number of items, like apps pinned to the screen.
Ctrl+minus(-)Zoom out on a large number of items, like apps pinned to the screen.
Alt+TabSwitch between open apps
Windows logo key+TabCycle through open apps (except desktop apps in Windows 8)
Shift + DeleteDelete the selected item without moving it to the Recycle Bin first
Windows logo key + L Lock your PC or switch users
Windows logo key + M Minimize all windows
Windows logo key + Shift + M  Restore minimized windows on the desktop
Ctrl + Alt with any arrow key  Rotate the entire screen in direction of the arrow key. Helpful for viewing photos or videos that aren’t right-side up.
Windows logo key + A Access the Action Center menu where you can view your notifications and access commonly used settings like Wi-Fi and Bluetooth
Windows logo key + I Access Windows Settings
Windows logo key + COpen Cortana in listening mode 
Windows logo key + SSearch for any file or an app installed on your computer
Windows logo key + EOpen file Explorer.
Windows logo key+DDisplay and hide the desktop.
Windows logo key+VOpen Clipboard bin.
Windows logo key + Left arrow keySnap app or window left.
Windows logo key + Right arrow keySnap app or window right.
Tagged : / / / / / / /

Everything – fast file/folder search in Windows

 

It is hard and time consuming to search a file/folder in Window 7 and 8. “Everything” is a great tool to solve this issue.

Here are some of the benefits of Everything search engine:

  1. Small installation file
  2. Clean and simple user interface
  3. Quick file indexing
  4. Quick searching
  5. Minimal resource usage
  6. Share files with others easily
  7. Real-time updating

 

Details….URL 

http://www.voidtools.com/

 

1.1 What is “Everything”?

“Everything” is an administrative tool that locates files and folders by filename instantly for Windows.
Unlike Windows search “Everything” initially displays every file and folder on your computer (hence the name “Everything”).
You type in a search filter to limit what files and folders are displayed.

1.2 How long will it take to index my files?

“Everything” only uses file and folder names and generally takes a few seconds to build its database.
A fresh install of Windows XP SP2 (about 20,000 files) will take about 1 second to index.
1,000,000 files will take about 1 minute.

1.3 Does Everything search file contents?

No, “Everything” does not search file contents, only file and folder names.

1.4 Does “Everything” hog my system resources?

No, “Everything” uses very little system resources.
A fresh install of Windows XP SP2 (about 20,000 files) will use about 3-5mb of ram and less than 1mb of disk space.
1,000,000 files will use about 45mb of ram and 5mb of disk space.

1.5 Does “Everything” monitor file system changes?

Yes, “Everything” does monitor file system changes.
Your search windows will reflect changes made to the file system.

1.6 Is “Everything” free?

Yes, “Everything” is Freeware.
If you use “Everything” in a commercial environment and find it useful a donation would be appreciated.

1.7 Does “Everything” miss changes made to the file system if it is not running?

No, “Everything” can be closed and restarted without missing changes made to the file system (even across system restarts).
“Everything” updates the database when it is started.

1.8 What are the system requirements for “Everything”?

“Everything” will run on Windows 2000, XP, 2003 and Vista and Windows 7
“Everything” will only locate files and folders on local NTFS volumes.
“Everything” requires administrative privileges for low level read access to volumes.

1.9 How do I convert a volume to NTFS?

http://support.microsoft.com/kb/307881

1.10 Can “Everything” index a mapped network drive?

No, “Everything” only indexes local or removable NTFS volumes.

To search a networked computer you will need to run Everything on both computers.
One computer will need to Start an ETP server.
The other computer will need to connect to that ETP server.

To start an ETP server:
1. In Everything, On the Tools menu, click Start ETP server.

To connect to an ETP server:
1. In Everything, On the Tools menu, click Connect to ETP Server….
2. Type in the ETP server name.
3. Type in the ETP server port.
4. Type in the ETP server user.
5. Type in the ETP server password.
6. Click OK.

1.11 How do I install the language pack?

Download the language pack Everything.lng.zip
Unzip the language pack into the folder where “Everything” is installed.
Restart Everything.
In “Everything”, On the Tools menu, click Options.
Click the General tab.
Select your language from the Language dropdown list.
Click OK.
In the “language change” popup, Click OK.
Restart Everything.

1.12 How do I bypass the UAC to run “Everything” with administrative privileges on system startup?

Disable run on system startup in “Everything”.
Follow the Make Vista launch UAC restricted programs at startup with Task Scheduler guide at
http://blogs.techrepublic.com/window-on-windows/?p=616
Make sure you use -startup in the Add Arguments box

1.13 How do I bypass the UAC to run “Everything” with administrative privileges when I start it from a shortcut ?

http://blogs.techrepublic.com/window-on-windows/?p=730

2 Searching

2.1 How do I search for a file or folder?

Type the partial file or folder name into the search edit, the results will appear instantly.

2.2 How do I use boolean operators?

AND is the default boolean operator.
For example, here is how to search for foo and bar: foo bar
To search for either of two search terms, add a | between the terms.
For example, here is how to search for .jpg or .bmp: .jpg | .bmp
To exclude something from the search include a ! at the front of the term.
For example, here is how to search for abc and not 123: abc !123

2.3 How do I use wildcards?

Using a * in your search will match any number of any type of character.
For example, here is how to search for files and folders that start with e and end with g: e*g
Using a ? in your search will match one character.
For example, here is how to search for files that have a 2 letter file extension: *.??

2.4 How do I use regex?

| A vertical bar separates alternatives. For example, gray|grey can match “gray” or “grey“.
() Parentheses are used to define the scope and precedence of the operators (among other uses). For example, gray|grey and gr(a|e)y are equivalent patterns which both describe the set of “gray” and “grey“.
? The question mark indicates there is zero or one of the preceding element. For example, colou?r matches both “color” and “colour“.
* The asterisk indicates there are zero or more of the preceding element. For example, ab*c matches “ac“, “abc“, “abbc“, “abbbc“, and so on.
+ The plus sign indicates that there is one or more of the preceding element. For example, ab+c matches “abc“, “abbc“, “abbbc“, and so on, but not “ac“.
. Matches any single character except newlines (exactly which characters are considered newlines is flavor, character encoding, and platform specific, but it is safe to assume that the line feed character is included). Within POSIX bracket expressions, the dot character matches a literal dot. For example, a.c matches “abc“, etc., but [a.c]matches only “a“, “.“, or “c“.
[ ] A bracket expression. Matches a single character that is contained within the brackets. For example, [abc]matches “a“, “b“, or “c“. [a-z] specifies a range which matches any lowercase letter from “a” to “z“. These forms can be mixed: [abcx-z] matches “a“, “b“, “c“, “x“, “y“, and “z“, as does [a-cx-z]
[^ ] Matches a single character that is not contained within the brackets. For example, [^abc] matches any character other than “a“, “b“, or “c“. [^a-z] matches any single character that is not a lowercase letter from “a” to “z“. As above, literal characters and ranges can be mixed.
^ Matches the starting position within the string. In line-based tools, it matches the starting position of any line.
$ Matches the ending position of the string or the position just before a string-ending newline. In line-based tools, it matches the ending position of any line.
{m,n} Matches the preceding element at least m and not more than n times. For example, a{3,5} matches only “aaa“, “aaaa“, and “aaaaa“. This is not found in a few, older instances of regular expressions.

2.5 How do I include spaces in my search?

To include spaces in your search enclose your search in double quotes.
For example, here is how to search for foo<space>bar: “foo bar”

2.6 How do I search for a file type?

To search for a file type, type the file extension into the search edit,
ie to search for the mp3 file type, type *.mp3 into the search edit.
To search for more than one type of file type use a | to separate file types,
ie *.bmp|*.jpg will search for files with the extension bmp or jpg.

2.7 How do I search for files and folders in a specific location?

To search for files and folders in a specific location include a \ in your search string.
For example, here is how to search for all your avis in a downloads folder: downloads\ .avi
You could alternately enable Match Path in the Search menu and include the location in your search string.
For example, here is how to search for all your avis in a downloads folder with Match Path enabled: downloads .avi

3 Results

3.1 How do I jump to a file or folder in the result list?

Make sure the result list has focus by tabbing to it with the keyboard or clicking in it with the mouse.
Type in the partial or full name of the file or folder you want to jump to.
For example, to jump to files or folders begining with “New” type New into the result list.

4 Customizing

4.1 How can I change the “Everything” icon?

Requires “Everything” 1.2.0 beta or later.
Copy your icon file into “Everything”‘s installation folder and rename it to “Everything.ico”.
Restart “Everything”.

4.2 How can I set “Everything” to use an external file manager?

Requires “Everything” 1.2.0 beta or later.
Exit Everything.
Open Everything.ini in “Everything”‘s installation folder.
Add the following 2 lines to the bottom of the ini:
open_folder_command=$exec(“ExternalFileManager.exe” “%1”)
open_folder_path_command=$exec(“ExternalFileManager.exe” “$parent(%1)”)
Replace the text ExternalFileManager.exe with the full path and file name of your file manager executable.
Check your external file manager help for any required command line parameters.
Restart “Everything”.

5 Troubleshooting

5.1 Everything requests for administrator privileges in Windows Vista SP1

“Everything” requires administrator privileges because it needs raw read access to your hard drives.
Click accept to allow “Everything” to continue running.

5.2 The result list is empty

Make sure you have atleast one local NTFS volume.
See How do I convert a volume to NTFS.

Make sure “Everything” has administrator privileges.

To manually enable all local NTFS volumes for indexing:
1. In Everything, On the Tools menu, click Options.
2. Click the Volumes tab.
3. For each volume in the Local NTFS volumes list:
4. Check Check Media.
5. Check Enable USN Journal logging.
6. Check Include in database.
7. Check Monitor changes.
8. Repeat for each volume.
9. Click OK.

5.3 Right clicking on a file or folder crashes

Please replace your Everything.exe with the following beta to workaround the problem:
http://www.voidtools.com/Everything-1.2.1.375b.zip.

 

Tagged : / / / / /

How to Resolve Windows Installer Problem

Installation of a program means inserting that particular program in your computer so that it can be executed properly. Some of the software programs can be simply copied to the computer and executed without doing anything further; they don’t require any kind of installation process. Many programs come with an executable suite, which requires to be installed. Installation is the process where you will have to unpack some files, copy them to desired locations, tailor the software to suite your hardware and give the desired information to the operating system.

Installation often means that once a program is installed, the user can run the program over and over again, without reinstalling it again before using each time. Until one does not uninstall the program or the program does not allow further execution, you will have to install it again. However, sometimes one can encounter problems while installing a program. Here are some simple steps that will help you in resolving windows installer problems:

teps:

  • First thing to do for resolving windows installer problem is identifying it. When you are trying to install or uninstall something, you might get a warning message like:

“The windows installer cannot be accessed”

“Windows installer service cannot be started”

“Could not start the windows installer service on Local computer. Error 5:

access is denied.”

  • These error messages will often appear on the screen when the installation of the MSI package has failed or when the windows installer service is disabled.
  • Method 1: first unregister windows installer, and then you will have to register it again. For resolving windows installer problems of such a nature, just do the following things. Go on the ’start’ menu and click on the ‘run’ option. In the dialog box start typing ‘msiexec/unreg’, and then press the enter key.
  • Go on the ’start’ menu again and click on the ‘run’ option. In the dialog box start typing, ‘msiexec/regserver’ and then press the ‘enter’ key.
  • Method 2: you can upgrade the windows installer to a higher version or a newer version. For this, open the internet explorer page, and go to the Microsoft website. Go to the link, http://msdn.microsoft.com/downloads. On the left side you will get an option of ’setup and system administration’ and now click on the ’setup’ option.
  • Select the ‘windows installer’, and then choose the appropriate link for your operating system. Now click on the ‘download’ option and install the new version or install the higher version of windows installer.
  • Method 3: for resolving windows installer problem, you might have to uninstall the failed product with the help of an installer cleanup. The description for the windows installer cleanup utility is, http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
  • Method 4: if the windows service is disabled on your computer, then go to the ’start’ menu, select ‘run’ option and type ’services.msc’ and click enter. Now, double click on the option of windows installer.
  • Method 5: check the DCOM and the permission by the system through http://support.microsoft.com/?id=319624
  • Method 6: another thing you can do for resolving windows installer problem is
Tagged : / / / / / / /

Customizing the Firefox Installer on Windows

One of the questions I get asked a lot is how to customize the Firefox installer on Windows and how to bundle extensions with it. I’ve spent the past few days learning a great deal about this subject, so I thought I would take this opportunity to provide a refresher on working with the Firefox installer on Windows. I’m going to do it as a Q&A so hopefully folks will get answers to the common questions they have.

Standard disclaimer: Under no circumstances should you use this information to create a custom Firefox install and redistribute it to anyone outside your organization. If you want more information, you can consult the Mozilla Foundation Trademark Policy.

What tools do I need to work with the Firefox installer?

The primary tool you need is 7-Zip. I install the MozillaBuild package which gives me all the tools I need. Even though the Firefox Installer is NSIS based, we will not need to use NSIS for most customizations. I’ll talk a little bit about the end about what kinds of things you would need NSIS to do.

How do I unpack the Firefox installer?

The Firefox installer is created using 7-Zip. So you can grab any of the Windows installers that end in EXE and unpack them. Any of the Windows installers on the Firefox download page will work. Once you’ve downloaded the EXE, create a temporary directory and type:

7z x "Firefox Setup 3.6.3.exe"

This will unpack the contents of the installer so we can modify it.

How do I bundle my extension with the Firefox installer?

Bundling your extension with the Firefox installer is just a matter of putting it in the right place. Then when we package up the installer at the end, it will get installed along with Firefox. For most extensions, the right place is nonlocalized/extensions. Inside that directory, create a subdirectory that corresponds to the ID of the extension you want to preinstall with Firefox. Then unzip the XPI into that directory. You can find the ID by looking at the install.rdf file inside the XPI. You can add as many extensions as you want into the installer.

What are some useful extensions I can bundle with Firefox

I’ve created two extensions that create interesting things to bundle with Firefox. The first is the CCK Wizard. The CCK Wizard can be used to change various defaults in Firefox so that you can customize it for deployment in your organization. The second is Rebrand. Rebrand allows you to change the internal branding used in Firefox.

Can I change the names used in the installer?

Yes, you can change the names used in the installer. To do this, you need to create a directory called distribution inside the localized directory that was created when you unpacked the installer. Create a file called setup.ini in this directory. Here’s what it looks like:

[Branding]
BrandFullName=Mike's Browser
BrandShortName=Browser

BrandFullName will be used to replace “Mozilla Firefox” and BrandShortName will be used to replace “Firefox”.

Can I change the images used in the installer?

Yes, you can change the images used in the installer. In that same directory where you put the setup.ini, you can put two files, modern-wizard.bmp and modern-header.bmp. The first images corresponds to the large image on the first page of the installer. The second image corresponds to the small image that is used on later pages of the installer. You can use the linked images as a reference to know what size to make these images.

How do I repackage the installer?

To repackage the installer, first you need to zip up the changes that you made. Type:

7z a -r -t7z app.7z -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3

This will create a file called app.7z that has all the changes we made. Now we need to package that file with some other files to create the final EXE. We’ll need the file 7zSD.sfx which you can download from Mozilla. And we’ll need a file called app.tag which you can create. It looks like this:

;!@Install@!UTF-8!
Title="Mozilla Firefox"
RunProgram="setup.exe"
;!@InstallEnd@!

Once we have these files, we can run the command:

copy /B 7zSD.sfx+app.tag+app.7z our_new_installer.exe

to package them all as an EXE. Don’t forget the /B. It indicates that the files are binary so Windows won’t put an EOF marker on them.

Can I change the defaults that are set in the installer like the install directory or the checkboxes?

At this time, there is no way to change the defaults in the installer without rebuilding the installer. There’s a bug open on this with a patch, so hopefully this will be fixed for Firefox 4.

Can I make my totally rebranded Firefox coexist nicely with an existing Firefox?

There are a couple ways to do this. The easiest way is to use the -no-remote parameter when you start Firefox. This causes the Firefox you are starting to not connect to the Firefox that is currently running. When you do this, you have to specify a different profile using the -P parameter. Alternatively, you can change the internal identifiers that Firefox uses. Then it will be considered to be a completely different browser. If you choose to do this, you should be aware that you will not receive updates and there will be other side effects. This is not a decision that should be taken lightly. Also, your profiles will be stored in different locations as well. If you want to do this, check out the file application.ini in the nonlocalized directory. The variables you want to change are Vendor and Name. Again, you do this at your own risk.

What can I do if I’m willing to rebuild the installer with NSIS?

If you are willing to rebuild the installer, you can change things like the name of the entry in the Add/Remove programs list, as well as the install directory and other defaults. This is a nontrivial exercise because some of the required files are built as part of the Mozilla build proces and are not available in the build tree. If you’re really interested in doing this, you can contact Kaply Consulting and we can talk about it.

I hope this answered some questions folks have. If anyone has any more questions, please don’t hesistate to ask.

Tagged : / / / / /

How to Run a Program as an Administrator in Windows

rajeshkumar created the topic: How to Run a Program as an Administrator in Windows

How to Run a Program as an Administrator in Windows

Good URL-
www.sevenforums.com/tutorials/11841-run-administrator.html

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Windows: “OpenSCManager failed – Access is denied. (0x5)” errors when

scmuser created the topic: Windows: “OpenSCManager failed – Access is denied. (0x5)” errors when
Problem:
Windows: “OpenSCManager failed – Access is denied. (0x5)” errors when starting Nexus

Solution:
You need to run the command prompt as an Administrator to avoid the problem. For example:
1. click on start
2. click “All Programs”
3. click on accessories
4. right click on “Command Prompt” icon
5. click “properties”
6. click on the “shortcut” tab on the top
7. click the advanced button at the bottom
8. click on the check box that says “Run as Administrator”.
9. click OK
When you now use the modified shortcut to the command prompt session it will allow you to perform Administrator operations and avoid the error.

Tagged :

Tips to Fix 1311 Windows Installer Error

deployexpert created the topic: Tips To Fix 1311 Windows Installer Error

When you endeavour and install a software application onto your computer, such as Adobe Acrobat Reader,error 1311 typically appears. The error will specifically state that the installer cannot read a particular “.cab” file, stopping it from being able to install the application.The cause of this error is vitually down to the way where your computer will be endeavouring to install the program onto your computer – it will have placed the “.cab”A file into a folder that it no more has access to, which will puzzle the installer and trigger it to stop working.

The way in which Windows PCs install programs result in the 1311 error shows.Probably many people don’t know this,however,it will basically take a large list of files, settings & options, and then place them into designated folders on your system whenever you install an application onto your system.Many of the files which required to be transferred onto your computer are vitually compressed into a series of “cabinet” or.cab files, making it important

yourcomputer can read these files properly.Unluckily, it’s usualthe case that Windows will either damage the.cab files or just be unable to read them,stoping your computer from being able to properly process the installation.In order to repair the 1311 error,the solution is to first make sure that your installation file for the particular piece of software is working properly,and then that Windows is working okay and that you don’t have any further issues on your computer.

Tagged :

Vagrant installation in Centos, Ubuntu and Windows | Vagrant Tutorials

vagrant-installation-in-centos-ubuntu-and-windows
Vagrant installation in ubuntu
1. Update your apt repository
> sudo apt-get update
2. Install VirtualBox.
> sudo apt-get install virtualbox
3. Install Vagrant.
> sudo apt-get install vagrant
Vagrant installation in Centos
1. Update your system
> yum -y update
> cd etc/yum.repos.d/
> yum update -y
> yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
> dkms
> yum install virtualbox-5.0
2. Install Vagrant
> wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm
> yum localinstall vagrant_1.8.1_x86_64.rpm
Vagrant installation in Windows
In this tutorial, we will be installing Vagrant, a bare bones server with Ubuntu installed. Vagrant is a server that runs under VirtualBox. You will need to have VirtualBox installed. You will also need to have Putty installed in order to access your new Vagrant server via SSH. These instructions also apply to Windows 8.
Requirements:
A hard connection to the Internet
Putty needs to be installed. (putty-0.62-installer.exe)
VirtualBox needs to be installed.
Recommended: 8 GB RAM is recommended to run VirtualBox on Windows PCs
A. Installing Vagrant – bare bones server – Ubuntu only
1. Download and install the most recent VirtualBox for Windows from https://www.virtualbox.org/wiki/Downloads
Start up VirtualBox
2. Download and install the latest version of Vagrant from http://downloads.vagrantup.com. For this tutorial, we will use version 1.0.6. Windows users, download Vagrant.msi
Open Windows cmd prompt
For Windows 8, press Windows key and then press “R” key. This will open the RUN dialog box for you. Type “cmd” and press Enter.
Note: I typed vagrant command and I got the error message saying, ‘vagrant’ command not recognized. It was not added to the Path during install. Restarting your computer may help to refresh the path.
3. Change directory to C:\vagrant\vagrant\bin
4. Then type the following commands:
C:\vagrant\vagrant\bin> vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
C:\vagrant\vagrant\bin> vagrant init lucid32
C:\vagrant\vagrant\bin> vagrant up
5. Open Putty and enter these credentials:
Hostname: 127.0.0.1
Port: 2222
Connection type: SSH
6. Login to Vagrant server
Enter username: vagrant
Password: vagrant
Type ls –lah at the prompt.
This is a bare bones server with Ubuntu installed.
vagrant@lucid32:~$ls -lah
Tagged : / / / / / / / / / / / / / / / / /

How to Set or Configure Proxy in Linux and Windows System? – scmGalaxy

proxy-configuration-in-linux-and-windows
Setting the proxy configuration in Linux and Windows
If you use a proxy server or firewall, you may need to set the http_proxy environment variable in order to access some url from command-line.
Windows Command line
set http_proxy=http://your_proxy:your_port
set http_proxy=http://username:password@your_proxy:your_port
set https_proxy=https://your_proxy:your_port
set https_proxy=https://username:password@your_proxy:your_port
Windows GUI
1. Open the Control Panel and click the System icon.The System Properties dialog is displayed.
2. On the Advanced tab, click on Environment Variables. The Environment Variables dialog is displayed.
3. Click New in the System variables panel. The New Sytem Variable dialog is displayed.
4. Add http_proxy with the appropriate proxy information
Windows Registry
IE can set username and password proxies, so maybe setting it there and import does work
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 1
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyServer /t REG_SZ /d name:port
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyUser /t REG_SZ /d username
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyPass /t REG_SZ /d password
netsh winhttp import proxy source=ie
Command to enable proxy usage:
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 1 /f
Command to disable proxy usage:
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyEnable /t REG_DWORD /d 0 /f
Command to change the proxy address:
reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings” /v ProxyServer /t REG_SZ /d proxyserveraddress:proxyport /f
Linux 
export http_proxy=http://your_proxy:your_port
export http_proxy=http://username:password@your_proxy:your_port
export https_proxy=https://your_proxy:your_port
export https_proxy=https://username:password@your_proxy:your_port
export https_proxy=https://%username%:%password%@your_proxy:your_port
FAQ
1. How to escape if password has a @ character
Ans – try %40 instead of @
2. What is the file name where it stroed the proxy in Ubantu
Ans – /etc/environment
3. How to set proxy inforamtin in Apt?
Ans – Adding following line to /etc/apt/apt.conf has solved the problem:
Acquire::http::proxy “http://10.1.3.1:8080/”;
If file does not exist, create it. Do not confuse it with apt.conf.d directory.
4. How to set proxy inforamtin in linux Profile?
5. Why manual export failed to affect apt-get with the proxy info?
Ans – The reason your manual export failed to affect apt-get is because sudo ignores that environment variable by default (i.e. it doesn’t pass it on to the command). For one-off runs, you could do sudo env http_proxy=http://10.1.3.1:8080 apt-get update. Otherwise, you could configure sudo to allow http_proxy to fall through.
Tagged : / / / / / / / / / / / / /