Skip to main content

Posts

Showing posts with the label LINUX

Red Hat Enterprise File System Hierarchy

Do you know the Red Hat File system directories and its usage ? Below are the list of the primary Red Hat Enterprise Linux system directories: /bin/ — Used to store user commands. The directory /usr/bin/ also stores user commands. /sbin/ — Location of many system commands, such as shutdown. The directory /usr/sbin/ also contains many system commands. /root/ — The home directory of root, the superuser. /misc/ — This directory is used for automatically mounting directories on removeable devices (such as Zip drives) and remote directories (such as NFS shares) usingautofs. Refer to the autofs manual page (type man autofs at a shell prompt) for more information. /mnt/ — This directory typically contains the mount points for file systems mounted after the system is booted. /media/ — This directory contains the mount points for removable media, such as diskettes, CD-ROMs, and USB flash drives. /boot/ — Contains the kernel and other files used during system startup. /lost+foun

Linux Equivalents Of Dos Commands

Linux Equivalents Of  Dos Commands Are you a Dos command pro but finding it a little difficult to settle down with Linux command lines? Here's some help! Linux command line is the most powerful tool of Linux, that can help you do almost every thing right from the shell. And if you are aware of the Dos commands, learning Linux command line becomes a lot more easier. Below is a list of Linux equivalents 36 Dos commands to help you out. You can also read and more Linux commands in this list of  83 Linux Commands For Beginners . DOS commands Linux command Function assign ln Create a file or directory link /? man Help about the command break on trap Trap ctrl-break / Trap signals cd cd Change directory chdir pwd Display directory location cls clear Clear screen copy cp Copy a file date date Displays or sets the date del rm Deletes one or more files dir ls Displays a list of files and subdirectories in a directory doskey /h history history List command history echo e

Example syntax for Secure Copy (scp)

Example syntax for Secure Copy ( scp ) What is Secure Copy? scp  allows files to be copied to, from, or between different hosts. It uses  ssh  for data transfer and provides the same authentication and same level of security as  ssh . Examples Copy the file "foobar.txt" from a remote host to the local host $ scp your_username@remotehost.edu:foobar.txt /some/local/directory Copy the file "foobar.txt" from the local host to a remote host $ scp foobar.txt your_username@remotehost.edu:/some/remote/directory Copy the directory "foo" from the local host to a remote host's directory "bar" $ scp -r foo your_username@remotehost.edu:/some/remote/directory/bar Copy the file "foobar.txt" from remote host "rh1.edu" to remote host "rh2.edu" $ scp your_username@rh1.edu:/some/remote/directory/foobar.txt \ your_username@rh2.edu:/some/remote/directory/ Copying the files "foo.txt" and &qu

What's different between Ctrl+Z and Ctrl+C in Unix command line?

Control + Z  is used for suspending a process by sending it the signal  SIGSTOP , which cannot be intercepted by the program. While  Control + C  is used to kill a process with the signal  SIGINT , and can be intercepted by a program so it can clean its self up before exiting, or not exit at all. If you suspend a process, this will show up in the shell to tell you it has been suspended: [1]+ Stopped yes However, if you kill one, you won't see any confirmation other than being dropped back to a shell prompt. When you suspend a process, you can do fancy things with it, too. For instance, running this: fg With a program suspended will bring it back to the foreground. And running the command bg With a program suspended will allow it to run in the background (the program's output will still go to the TTY, though). If you want to kill a suspended program, you don't have to bring it back with  fg  first, you can simply do the command: kill %1 I

RHCE CERTIFICATIONS

RHCE is an acronym standing for Red Hat Certified Engineer. The RHCE acronym is a professional designation used to indicate the individual holds an industry recognized Linux certification. The RHCE is a mid to advanced-level certification that builds on topics covered in Red Hat's lower certification, the RHCT to include more advanced topics such as security and installing common enterprise networking (IP) services. Over 30,010 people have achieved the RHCE certification to date.  To achieve the Red Hat Certified Engineer certification, the student must pass RH302, a 3.5 hour hands-on lab exam. This is the only exam required to achieve the certification. There is no prerequisite for the exam, but Red Hat recommends students have substantial real-world system administration experience before taking the exam. The exam consists of two sections. One section covers troubleshooting and system maintenance and lasts approximately two-and-a-half hours, while the other covers installation

Free download Redhat Linux Products

Download the Redhat Linux by clicking the url  https://idp.redhat.com/idp/  and you need  redhat user account to download the redhat products in redhat official website.

Linux Basic Commands

 Linux operating system has a beautiful graphical interface which most of us will be using. It will be good to learn the basic commands in Linux to work interactively with the Linux operating system. Linux has a back end access know as shell. You can control and activate all the process in Linux from the shell. So it is very important to learn few basic commands to work with Linux operating system. There are 7 terminals for Linux. 6 terminals are non - GUI and 1 terminal for GUI access. You can login to each terminal using Alt + Ctrl + F1 , F2, .. F7. Each terminals will request your username and password for login. If you want to use the shell in the graphical interface (GUI), press Alt + F2 and type "konsole". As a user you will have permission to access only your /home/user directory and other directories in it. Navigation Commands - [ pwd, cd ]

Linux Screen for session management

Need multiple shell sessions? You are logged into your remote server via  SSH  and happily plucking along at your keyboard and then it happens. Suddenly, the characters stop moving and then you get the dreaded “Connection Closed” message. You have just lost your session. You were halfway through some task and now you have to start over. Ugh. Well you can prevent this from happening by using screen. Lost your shell connection? The Linux screen tool can not only save you from disconnection disasters, but it also can increase your productivity by using multiple windows within one  SSH session.  What is Screen for Linux? As the man page states, “Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).” This can be a life saver when working on your dedicated server. Screen has a several great features for helping you administer your server more productively and safely. Installing Screen on L