Posts

Showing posts with the label SUSE

Important Shell Scripting Questions with Answers

What is $*? Its mainly used for showing up all params. This show all parameter values passed in shell script What does $# stand for? # will return the number of parameters that are passed as the command-line arguments. What does $? Return? $? will return exit status of command .0 if command gets successfully executed ,non-zero if command failed. What are Different types of shells? sh : the oldest shell csh : C shell ksh : Korn Shell bash : bourne again shell  How do you read arguments in a shell program – $1, $2? Shell script accepts parameters in following format… $1 would be the first command line argument, $2 the second, and so on $0 is the name of the script or function If your script has more than 9 params then accept in following way… ${12} : 12th param ${18} : 18th param What are the different kinds of loops available in shell script ? for, if, while, case What is the difference between a shell variable that is exported and the one that is not exported?...

View Linux Directory Free Space Commands

Image
df-hl view the disk space left df-h view of the partition size for each root path  du-sh [directory name] returns the size of the directory du-sm [folder] to return to the folder number of the total Mv

openSUSE Linux 11.4 Released with Downloads

Image
openSUSE Linux 11.4 has been released with downloads Links. openSUSE Linux 11.4 Main Goals. Make openSUSE the easiest for anyone to become available and the most widely used Linux distributions. Joint use of open source software to make openSUSE the world's most available Linux distributions and Linux newbies and experienced users of the desktop environment. Significantly simplify and open up its development and packaging processes to make openSUSE a provider of Linux developers and software platform of choice.  Release Notes: http://news.opensuse.org/2011/03/10/opensuse-11-4/ http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-i686.iso http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-GNOME-LiveCD-i686.iso http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-KDE-LiveCD-x86_64.iso http://download.opensuse.org/distribution/11.4/iso/openSUSE-11.4-GNOME-LiveCD-x86_64.iso

Top 7 Open Source Linux Distribution in 2011

Image
1) Ubuntu Linux 2) Mandriva Linux 3) PCLinuxOS   4) Gentoo Linux 5) openSUSE Linux   6) Debian 7) FreeBSD

SUSE Linux 11 Wallpapers

Image
SUSE Linux Black SUSE Linux Green SUSE Linux Inspiration

Linux Miscellaneous but important commands

To find help on some topic : [root@SLES /]# man pwd or [root@SLES /]# info pwd Also you can seek for a particual keyword ( say:  umask) in the man pages by: [root@SLES /]# man -K umask To find a file in the /usr directory, use: [root@SLES /]# find /usr -name “*.doc” To find files and directories owned by the group students in the /usr directory, use: [root@SLES /]# find /usr -group students Assuming a user left the organization and the files owned by his account name must be found and deleted for security reasons, use : [root@SLES /]# find / -user Shaheer -exec rm  '{}'  ';' Want to perform some quick mathematical calculations, use: [root@SLES /]# bc To set up date and time as 16 Jan 2000 17:35 you should use: [root@SLES /]# date 0520173503 To synchronize it with the hardware clock, use: [root@SLES /]# hwclock –-systohc To check for memory and swap space usage, you can use: [root@SLES /]# free or [root@SLES /]# top To check the sy...

Configure Oracle Apex in 11g on SUSE Linux Enterprise Server

Image
Today I configured Oracle APEX in Oracle 11g Release 1 on SUSE Linux Enterprise Server 11. I did not realize that Oracle APEX is a part of the 11g standard database components. So I just follow simple steps to configure Oracle APEX.  APEX application can access either the embedded PL/SQL gateway or Oracle HTTP server. For simplicity I chose the embedded PL/SQL gateway. By using the embedded PL/SQL gateway, it will run using the Oracle XML DB HTTP server which is already in Oracle database, so there is no need to install a separate HTTP server. Step 1 To Configure the embedded PL/SQL gateway go to the $ORACLE_HOME/apex directory. In my case apex directory in the given below path /opt/oracle/OraDB11g/apex Step 2 Use SQL/Plus to connect as SYS to 11g database where APEX is installed. After connection type @apxconf and press enter as shown in the screenshot. Create password for admin user Step 3 Unlock the ANONYMOUS account. ...

Configure GRUB - SUSE Linux Enterprise Server 11

Image
Configure GRUB by editing the file /boot/grub/menu.lst. The following is the general structure of the file: default 0 . The first entry (numbering from 0) is the default boot entry that starts automatically if no other entry is selected with the keyboard. timeout 8. The default boot entry is started automatically after 8 seconds. gfxmenu (hd0,0)/boot/message . This defines where the graphical menu is stored. Following is an example of the configuration file /boot/grub/menu.lst I have both SUSE Linux Enterprise Server 11 and Window 7 in my system. I want when grub load, Window 7 selected as default boot entry therefore i change the default entry from 0 to 3 in menu.lst file.  Save the file and reboot your system now the default boot entry change to window 7. Configure GRUB with YAST Press Alt+F2 from the Desktop Run Window will open. Now type YAST2 and press enter. The following appears When the Section Management tab is selected, you see the current GRUB settings ...

System Monitor SUSE Linux Enterprise Server 11

Image
System Monitor can display System Load information and Process Tables information. You can also use System Monitor to monitor and modify system behavior. System Load shows the information on:- ·                     CUP Load Percentage ·                     Load Average Time ·                     Physical Memory Usage ·                     Swap Memory Usage Process Tables of System Monitor can show Processes information that is loaded in the system by its Name, User Name, CUP%, Memory Usage, Shared Memory and window title. You can also kill a process using System Monitor. Processes information can be shown as:-...

SSH on SUSE Linux Enterpriser Server 11

Image
In the past, remote connections were established with Telnet, which offers no guards in the form of encryption or other security mechanisms against eavesdropping. There are also other traditional communication channels (such as FTP and some remote copying programs) that provide unencrypted transmission. The SSH suite was developed to provide secure transmission by encrypting the authentication strings (usually a login name and a password) and all the other data exchanged between the hosts. With SSH, the data flow can still be recorded by a third party, but the contents are encrypted and cannot be reverted to plain text unless the encryption key is known. SUSE Linux Enterprise Server 11 installs the package OpenSSH by default, which includes programs such as ssh, scp, and sftp as alternatives to Telnet, rlogin, rsh, rcp, and FTP. SSH Features : The secure shell not only provides all the functionality of Telnet, rlogin, rsh and rcp, but even includes some features of FTP. ...