Month: August 2009

FILE’S and FOLDER’S Part-2

FILES & FOLDERS PART-II CREATING FOLDERS :Cmd4a : Creating a single folder. #mkdir foldernameExample :#mkdir testCmd4b : Creating multiple folders at a time#mkdir 1{1,2,3}This command will create folders with name 11,12,13. You can see weather this folders are created or not by using ls or dir command. Cmd4c : Creating multiple directories and sub directories at a time. This is very much advanced and very much useful command. Some times we have to create a directory structure with sub directories in it. Which are not exist before.For example I want to create the directory structure as below               /test                /               /                /                 user1       user2       /              /      /               /       /                /          apple   goa pine     tomSo if I want to create these many folders at a time i have to execute the following commands.First i have to create test directory, then I have to change the directory to it and the create two more directories as user1 and user2 and so on as below.#mkdir test#cd test#mkdir user1#mkdir user2#cd user1#mkdir apple#mkdir goa#cd ..#cd user2#mkdir pine#mkdir tomSo you see these many commands i have to execute to create that directory structure. But in linux, it’s very much easy if you know this option with mkdir command. Execute the mkdir command with -p option it will create subdirectories though they didnt exist. #mkdir -p test/{user1/{apple,goa}, user2/{pine,tom}}Thats it you are done....

Read More

How to create file/folder in Linux/Unix

  There is one saying in Linux/*nix world, that if you can play with files and folders in Unix you are almost there to become a Linux power user. So let us start our first lesson to become Unix expert by learning about files and folder operations. How to create a file in Linux We can create a file in Linux in multiply ways such as using editor’s like vi, ed, emacs or cat command or touch or even with redirection operators in Linux. Creating files depends on the situation where you are. Use touch command to create empty...

Read More

Install and configure YUM server in RHEL4

If you are looking for YUM server in RHEL5(Redhat Enterprise Linux version 5) you can click here other wise just read on.. Recently I came across a strange requirement.. i.e. implementing YUM(Yellow dog Updater and Modifier) server in RHEL4 :(. By the time of RHEL4 release there is no YUM server implementation.. so I did some research and collected some documentation on net and implemented YUM server in RHEL4 configuring YUM server in RHEL4 as follows.. Stpe 1:Download following packages(these days the below packages are not present on net, so please download bleow RPM packages for Yum installation in...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.