This is why you do not run strange commands off the Internet.
A few dangerous commands you should never run on Linux.
A few dangerous commands you should never run on Linux.
How to list your most used bash commands and some other very useful stuff.
A couple of very interesting Linux commands.
A few Linux commands you should never run on a Linux machine. This is very important.
How to create a simple database in MySQL. This is a good beginner tutorial. Very useful to get you started using MySQL.
How to set up and use the sudoreplay system on an Ubuntu server and then record all sudo usage for later examination. This could be very useful to a systems admin.
RUTE Linux tutorial, this is very useful for a student of Linux it will help you understand the Linux operating system and how it works under the hood.
This script will spawn a cloud of mines around the player, this is a lot of fun to deal with. _source = eyepos player; _distance = 35; for "_i" from 1 to 1000 do { _veh = createVehicle ["APERSMineDispenser_Mine_Ammo_Scripted", _source, [], 0, "CAN_COLLIDE"]; _pos = _source vectorAdd (vectorNormalized [(random 2)-1,(random 2)-1,(random 2)-1] vectorMultiply _distance); … Read more
There are many very useful scripting commands for Arma 3 that are less known. The one below will return the number of days the player has played Arma 3 in total. _daysplayed = getStatValue "GamePlayedDays";_daysplayed = getStatValue "GamePlayedDays"; Use this code to determine if a player has finished the Bootcamp campaign before jumping into multiplayer. … Read more
An obfuscated command like this is an example of one that you should never run. ┌──[[email protected]]─[~] └──╼ ╼ $ echo "ZWNobyBIYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFodG91Y2ggLS1mdWNreW91ISA+PiAtZnVja3UhCg==" | base64 -d | sh -s┌──[[email protected]]─[~] └──╼ ╼ $ echo "ZWNobyBIYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFoYWhhaGFodG91Y2ggLS1mdWNreW91ISA+PiAtZnVja3UhCg==" | base64 -d | sh -s This is the actual command it will run, this creates a file named “-fucku!”. But this can … Read more
Install and use Midnight Commander on Linux easily on Ubuntu. This is a most important utility The Midnight Commander is a very useful file manager application for Linux that has a text editor as well as many other useful features for managing your files. To install this on Ubuntu; type this command. homer@lollinux-machina:~$ sudo apt-get … Read more
This is an interesting command to view your command history when you are using Bash. ┌──[[email protected]]─[~] └──╼ ╼ $ hash hits command 1 /usr/bin/gethostip 1 /usr/bin/sudo┌──[[email protected]]─[~] └──╼ ╼ $ hash hits command 1 /usr/bin/gethostip 1 /usr/bin/sudo This command is a Bash shell built-in command. If you are using the tcsh or zsh shells; this command … Read more
It is very easy to get hardware information on Ubuntu in a simple and easy to read format. The sudo lshw -class input command will print information about any input devices connected to your computer. ┌──[[email protected]]─[~] └──╼ ╼ $ sudo lshw -class input *-usb:1 description: Keyboard product: OMEN Sequencer vendor: HP physical id: 3 bus … Read more
Some interesting and useful Linux shell commands Linux has some very useful and interesting commands available to the Linux desktop user to find out information about your computer system. Some of these hearken back to the days of the old Linux terminals; when you accessed your computer from a dumb terminal instead of a graphical … Read more
The toilet command prints out large text banners like the Figlet command. Here is an example. The banner is printed in colour. ┌──[[email protected]]─[~] └──╼ ╼ $ toilet –metal "Hello World." m m ""# ""# m m ""# # # # mmm # # mmm # # # mmm m mm # mmm# #mmmm# #" … Read more
Some useful Linux tips and troubleshooting commands Some useful Linux tips and troubleshooting commandsHow to install the restricted codecs in UbuntuHow to boot an Ubuntu live ISO from the GRUB bootloaderHow to re-install the GRUB bootloader using a live Linux CDHow to find out the domain name that goes with an IP addressHow to check … Read more
There are many useful Linux commands that are very useful when navigating your new Linux system. Checking disk space or deleting files is very easily done with the command line. To get a basic introduction to the Linux command line, use the man intro command. This gives a basic rundown of how the shell works … Read more
This command will capture a screenshot of the desktop and save it to the home directory. jason@neo:~$ import -window root "$HOME/$(date ‘+%y%m%d_%T’).png"jason@neo:~$ import -window root "$HOME/$(date ‘+%y%m%d_%T’).png" This is how to do this with the scrot utility. jason@neo:~$ scrot Desktop-%H:%M:%S-%d-%m.jpgjason@neo:~$ scrot Desktop-%H:%M:%S-%d-%m.jpg Characters preceded by a ‘%’ are interpreted by strftime(2). See man strftime for … Read more
How to get the total size of a folder using Linux scripting. ┌──[[email protected]]─[~/Documents] └──╼ ╼ $ du -ack -BM | sort -nr | head -n 1 | awk ‘{print $1}’ 30255M┌──[[email protected]]─[~/Documents] └──╼ ╼ $ du -ack -BM | sort -nr | head -n 1 | awk ‘{print $1}’ 30255M This shows the total size of … Read more
To get system information about a Windows PC, use this simple command in CMD. systeminfo /FO CSV /NHsysteminfo /FO CSV /NH This should give the user a CSV formatted output that can be imported into a spreadsheet. Search a folder of text files for a specific text string. This is a very useful Windows utility. … Read more