LinuxAbove.com - Linux support site with latest Linux articles, Linux tutorials, Linux support forum and Security issues!
|
How to move large files from one location to another |
|
Linux Command
|
|
Suppose, you have large number of .tar.gz files in your home directory which you need to move to one directory above (or any other directory). Here is a simple command using which you can save time moving each file individually for f in *.tar.gz; do mv ./"$f" ../"$f"; done This command will move all .tar.gz files in current location to above. |
|
Run a command repeatedly and display the output |
|
Linux Command
|
|
Watch runs a command repeatedly, displaying its output. Watch tcommand allows to check the program output changes over time. By default, the program run every two seconds. This command is similar to tail. watch -d ls -1 |
|
How to view NIC IP addresses |
|
Linux Command
|
|
To view the IP addresses of all Network Interfaces configured with your syste, execute the following command: ip addr list |
|
How to keep a check on remote logins |
|
Linux Command
|
|
To know current logged users through SSH. who | grep -wv ‘:0’
The output will display the IP from which a person has logged in to system as well as the user name. To know the history of all remote logins, use the following command: Last -add | grep -wv ‘0.0.0.0’ |
|
How to get the names and list of packages installed on Ubuntu |
|
Linux Command
|
For Debian and Ubuntu, you can use command
dpkg -l For Red Hat, Fedora, Mandriva and SUSE, you can use command
rmp –qa |
|
|
How to rename files and folders in Linux |
|
Linux Command
|
To rename files and folders in Linux, you can use the mv command. For example, to rename a file called myfile.txt to mynewfile.txt, you can run the following commands:
mv myfile.txt mynewfile.txt |
|
|
Linux Command
|
|
If you like to know the absolute path of a executable or program installed in your linux system and present in your $PATH variable, use the 'which' command: which opera /usr/bin/opera which java /usr/bin/java
|
|
|
Listing disk space usage and partition table in Linux |
|
Linux Tutorials
|
|
Here is an simple how-to list disk space usage and partition table in Linux |
|
Read more...
|
|
|
How to resolve "sudo: unable to resolve host" error in Ubuntu |
|
Linux Tutorials
|
|
I came to an error on my Ubuntu machine after I added dhcp Internet settings and added Domain Name and Host Name under Host Settings. The error message was: sudo: unable to resolve host username-desktop and the problem was, I am not able to use sudo command in any way to gain access to root, which obviously is necessary to perform many operations in Ubuntu systems. So, here is the work around to resolve this issue. |
|
Read more...
|
|
|
Linux Tutorials
|
As it turns out, there isn't much to the boot process:
1. A boot loader finds the kernel image on the disk, loads it into memory, and starts it. 2. The kernel initializes the devices and its drivers. 3. The kernel mounts the root filesystem. 4. The kernel starts a program called init. 5. init sets the rest of the processes in motion. 6. The last processes that init starts as part of the boot sequence allow you to log in. |
|
Read more...
|
|
|
Linux Tutorials
|
Well, since many of us have always wondered this, here it is. Long and drawn out. Also, before attempting this, realize one thing; You will have to give up your time, effort, bandwidth, and security to have a quality ftp server. That being said, here it goes. First of all, find out if your IP (Internet Protocol) is static (not changing) or dynamic (changes everytime you log on). To do this, first consider the fact if you have a dial up modem. If you do, chances are about 999 999 out of 1 000 000 that your IP is dynamic. To make it static, just go to a place like h*tp://www.myftp.org/ to register for a static ip address. |
|
Read more...
|
|
|
Advanced Shellcoding Techniques - by Darawk |
|
Linux Tutorials
|
Introduction
This paper assumes a working knowledge of basic shellcoding techniques, and x86 assembly, I will not rehash these in this paper. I hope to teach you some of the lesser known shellcoding techniques that I have picked up, which will allow you to write smaller and better shellcodes. I do not claim to have invented any of these techniques, except for the one that uses the div instruction. |
|
Read more...
|
|
|
Using the root User for Linux System Administration - Linux Training Online - Linux Concepts & Terms |
|
Linux Articles
|
|
Linux Tips: The articles with names ending in "Linux Concepts & Terms" help you learn Linux "geek-speak" (terms). By learning Linux terms (the Linux "lingo") you will be able to understand Linux concepts and more easily learn how to use Linux. This is an excellent way to start your Linux training. |
|
Read more...
|
|
|
Booting to a Linux Console vs. Linux Desktop - Linux Training Online - Linux Concepts & Terms |
|
Linux Articles
|
|
These articles, with names ending in "Linux Concepts & Terms", have been created to help you learn how to "speak geek" and understand Linux terms - and this will help you learn how to use Linux! |
|
Read more...
|
|
|
Linux Training Courses (in a Classroom) vs. Linux Training Videos - Linux Training Online |
|
Linux Articles
|
|
Beware of loosing your shirt going to a Linux training course taught in a classroom. You just might regret spending your hard-earned cash - and likely won't be able to get it back! |
|
Read more...
|
|
|
|