Difference Between Unix and Linux
A simple explanation of how Unix and Linux are related and where they differ.
A simple explanation of how Unix and Linux are related and where they differ.
For modern Oracle environments, use Data Pump rather than the legacy exp utility when you need to exclude tables or other object types from an export. Data Pump EXCLUDE expdp system@database \ schemas=SCOTT \ directory=DATA_PUMP_DIR \ dumpfile=scott.dmp \ logfile=scott.log \ exclude=TABLE:”IN (‘TABLE1′,’TABLE2’)” The exact quoting can vary by shell, so parameter files are often easier … Read more
A small LAN between Linux machines usually needs three things: working network connectivity, correct IP addressing, and a way to share or access services between machines. Check IP addresses Machines on the same LAN are usually in the same IP range, such as 192.168.1.x, depending on the router or DHCP server. Test connectivity Replace the … Read more
After changing a disk partition table, Linux may not immediately notice the new layout. A reboot is the cleanest option, but on some systems you can ask the kernel to re-read the partition table. Check current block devices Ask the kernel to re-read partitions Replace /dev/sdX with the whole disk, not a partition. For example, … Read more
Linux file permissions control who can read, write or execute a file. This is one of the first things to check when a script does not run, a service cannot read a file, or a user cannot access a directory. View permissions A typical output line looks like this: The first character shows the type … Read more
Network printers are usually easier to manage when you know the printer IP address, queue name and protocol being used. On Linux systems, printing is commonly handled through CUPS. Useful checks These commands show configured printers and the device URI used by each printer. Check CUPS service When troubleshooting, confirm that the printer is reachable … Read more
When a service cannot start because a port is already in use, the first step is to identify which process is listening on that port. Using ss This lists listening TCP ports and the process information where available. Using lsof Replace 8080 with the port you are checking. Older systems ss is generally preferred on … Read more
Name resolution is the process of turning a hostname into an IP address. When a Linux machine cannot reach a host by name, check DNS settings before assuming the network itself is down. Check resolver configuration This shows the name servers currently being used by the system. On many modern distributions this file may be … Read more
Telnet sends traffic without encryption and should not be used for remote administration on modern systems. SSH is the standard secure alternative for remote shell access. Connect with SSH Use the username and hostname or IP address of the remote server. Use a different port Only use a custom port if the remote SSH service … Read more
Linux can access remote file systems in several ways. The right method depends on whether you need temporary file copy, interactive browsing, or a mounted network location. Copy files over SSH For one-off file copies, scp or rsync over SSH is usually simpler than mounting a remote filesystem. Mount with SSHFS Unmount it when finished: … Read more