Posts

Showing posts with the label command

Solution where is lsof lsof command not found

Solution where is lsof lsof command not found lsof is usually found under /usr/sbin/ So you can run it as /usr/sbin/lsof download file now

Sorry Command not found Has Crashed

Sorry Command not found Has Crashed When you try to execute a command that is not installed Ubuntu tries to hint you on the package that you should install but some times, especially after an upgrade, you get an error message saying: Sorry, command-not-found has crashed! Please file a bug report at: (...) This solves the problem: export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 sudo dpkg-reconfigure locales download file now

SOLVED add apt repository command not found

SOLVED add apt repository command not found Run the following to install the package with the add-apt-repository command. apt-get -y install software-properties-common download file now

speedtest cli Command line interface for testing internet on Ubuntu

Image
speedtest cli Command line interface for testing internet on Ubuntu     Speedtest-cli is a script written in the Python programming language which measures the internet speed bidirectionally. This application allows you to check your internet speed upon distance in km, it can test against specific servers and it also provides a URL so that you can share your result on the internet. Install speedtest-cli on Ubuntu    Run the following commands to install speedtest-cli on Ubuntu 16.10, Ubuntu 16.04, Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.10 and Ubuntu 14.04 Systems: sudo apt-get install python-pip sudo pip install speedtest-cli The speedtest-cli command can be used to check the Internet speed on Ubuntu Linux Systems. The command has the following format: speedtest-cli[-h][--bytes][--share][--simple][--csv][--csv-delimiter CSV_DELIMITER][--csv-header][--json][--list][--server SERVER][--mini MINI][--source SOURCE] [ --timeout TIMEOUT] [--secure] [--version] The eas...

Solved symbols DSO missing from command line

Solved symbols DSO missing from command line I was compiling program with boost library and got this. ( i was using boost_thread only) Solution: Add boost_system to the linker and you shall be fine. download file now

Speed up internet using command prompt

Image
Speed up internet using command prompt Today  Ill give you such a nice trick to speed up your internet connection using command prompt. You can check the new internet speed and feel the difference of this awesome trick. Process: 1. Click on Start->Run 2. Type cmd and hit Enter . Now command prompt will appear 3. In command prompt go to root directly "C:" ( type cd C: ) 4. Now type netsh interface tcp set global autotuning=disabled and hit Enter .  Thats all, you have Done !!! Now check the internet speed on www.scanmyspeed.com and feel difference. download file now

Solution rpmbuild command not found

Solution rpmbuild command not found yum  install  rpm-build download file now

Some useful tips using the find linux command to search for text

Some useful tips using the find linux command to search for text Searching for texts into projects source code is a common task when you are developing. I think the best aproach is to go to shell and run the commands bellow: Search for xml files containing the text "org.alfresco.util.CronTriggerBean" find . -type f -name "*.xml" -print | xargs grep "org.alfresco.util.CronTriggerBean" Look for javascript files containing the text "renderPickerHTML" find . -type f -name "*" -print | xargs grep "renderPickerHTML" But there are some projects that have lots of "minimized" files, and those files are not that useful when you are searching for sample code. In these cases, its better to filter the results, ignoring the minized ones. To do this, you just need to include one parameter to your command, like this find . -type f -not -iwholename *-min.js -name "*" -print | xargs grep "renderPickerHTML" The only...