Tomisinuno's Posts
Nairaland Forum › Tomisinuno's Profile › Tomisinuno's Posts
1 2 3 4 5 6 7 8 9 10 (of 12 pages)
If one is not in the directory where the file is, the whole path will be copied • cp IT_DEPARTMENT/NETWORK_TEAM/N_managers IT_DEPARTMENT/STORAGE_TEAM/EMC_STORAGE_TEAM
|
EXAMPLES. BTW, the cloud server is up and will be down around 9pm today 1. Copy the N_managers file to EMC_STORAGE_TEAM directory Note: If one is already in the directory where the file is, the file can be copied straightaway to the directory you want it to be • cp N_managers /home/tomisinuno/IT_DEPARTMENT/STORAGE_TEAM/EMC_STORAGE_TEAM
|
ACTION TIME using the usual chart , Let's make some examples.
|
tomisinuno:UNDERSTANDING THE SUBJECT MATTER The basic commands used in copying and moving files are cp and mv cp: used in copying files from one location to the other cp –r : used to copy directories recursively. mv: used in moving files from one location to the other just like cut and paste in windows environment. Let’s be practical with some examples as usual. |
yemibayo:Merry Christmas and a prosperous 2020. |
You are not too late. You have the thread to yourself. If your processor is a 64bit processor, then you can upgrade or better still do a clean installation of a 64 bit OS while your files are still intact. But if your processor is not, forget it except you intend changing your CPU which drills down to changing your motherboard. Best option, get a new 64bit hardware. Cheers!!! |
Yea. The server is up now |
MODULE 2.2-COPYING AND MOVING FILES USING THE BASIC LINUX COMMANDS See IP of the new server 168.63.105.1 log in with the same credentials provided to you. |
joeysuki:10 AM -12 noon and probably 10 pm - 12 midnight. To be sure the server is up, from the CLI on your system, always ping the IP. |
Class Activity 2.1 1. In the CISCO_SWITCH_TEAM directory, create the the temp_staff file. Their names are Dino Melaye, Bukola Saraki and Andy ruiz. 2. In the cloud_team file, add any three names. 3. Create the COOs and CTOs file in the IT_DIRECTORS directory and add any three names each 4. Create the full_staff file in the NEXUS_STORAGE_TEAM directory https://tekneed.com/2019/12/23/module-2-1-creating-files-using-the-basic-linux-command/ Cheers!!! NEXT MODULE: COPYING AND MOVING FILES USING THE BASIC LINUX COMMANDS |
5. In the IT_DEPARTMENT directory, create an empty file called cloud_team • cd (NOTE: cd takes you back to the home directory irrespective of where one is) • cd IT_DEPARTMENT • touch cloud_team
|
3. In the CISCO_SWITCH_TEAM directory, create the full_staff file. The full staff names are Bayo ogulesi, Lionel Messi, Cristiano Ronaldo 4. We forgot to Include Yemi Osibanjo among the full staff. Please include his name. • cat >> full_staff • Yemi Osibanjo (press enter) Press ctrl+c
|
EXAMPLES OF FILE CREATION USING THE CHART ABOVE 1. In the NETWORK_TEAM directory, create the N_mangers file. The file should include the network managers. They are Muhammadu Buhari, Donald Trump and Vladimir Putin. • cd /IT_DEPARTMENT/NETWORK_TEAM • cat > N_managers Muhammadu Buhari (press the enter key) Donald Trump (press the enter key) Vladimir Putin (press the enter key) Press ctrl+c 2. view the file content • cat N_managers
|
From the diagram above, we are going to create the files in circles. We have our directories already created. Commands used in creating files and file related are • cat > : To create a non-empty file • touch: To create an empty-file • cat >>: To append into an existing file • using any text editor like vi, vim, nano [we will talk about text editor in another module] • cat : used to view a file. (ASCII file) Let’s start creating files. BTW, I got a new subscription and the cloud server is ready. your credentials remain the same. I will quickly configure the server now to always automatically shut down. The server will only be up 2 - 4 hours per day. So , I advise you make your Lab ready if it is not. |
Oh. The ban has finally been lifted, I can now post. you can check this out: https://tekneed.com/2019/12/13/china-to-do-away-with-all-foreign-technology-in-2022/ To our next module, MODULE 2.1-CREATING FILES USING THE BASIC LINUX COMMAND
|
NOTE: The graphical user interface (GUI), a friendly interface, just like windows can also be used for all of these operations. Unfortunately, most customers, especially the critical ones won’t give you the GUI platform to work with. Even in the windows environment sometimes, you will be left to work with the command line and (PowerShell). So, we are gonna master the CLI first before mastering the GUI which will just be like “Akara and Bread” to you. https://tekneed.com/2019/12/14/module-2-0-basic-linux-command/ Cheers!!! NEXT MODULE: CREATING FILES USING THE BASIC LINUX COMMANDS |
Class activity: 1. Again, using the architecture above, create the directories. This time around, to differentiate it from the former, add letter “S” to all the directories you will be creating. 2. from the IT_DEPARTMENTS directory, change directory to • NEXUS_STORAGE_TEAMS • CISCO_SWITCH_TEAMS • IT_DIRECTORSS |
I believe we can now create directories in Linux, to make things easier, It’s better for beginners to always sketch the architecture. See below the architecture of what we have been doing.
|
Now from the IT department, create the IT_DIRECTORS directory • mkdir IT_DIRECTORS
|
tomisinuno:At this point, you should know that you can always change directory to any path even if the directory is long from Africa to Australia as far as you know the path. In our examples, you will notice that I always do “pwd” to know my present working directory. If you know your present working directory, you can also always know how to navigate yourself to wherever you want to. Therefore, form the STORAGE_TEAM directory, to change directory to IT_DEPARTMENT, we do • cd /home/tomisinuno/IT_DEPARTMENT
|
joeysuki:funny thing is that without cd, no Linux ![]() |
Prophet indeed. Confess now, what kind of prophet are you, fake or real? |
Our training this week mat be once. It will be a very busy week for me plus I have some Technical seminars to attend. We are beginning to get to the main show, start getting your hands busy with these little lectures. Cheers!!! |
sparkle7:You will get it as soon as I sort out the subscription. |
Royalsleek22:I have replied you. Little patience |
Mrceejay:Will send the credentials when I subscribe. |
Royalsleek22:your account will be sorted out when the new subscription is ready |
tomisinuno:Unfortunately, the subscription to the account has been exhausted. Could be because I left the servers running for 24 hours non-stop and the bill kept increasing. No other option for now than to resort to the private Lab till I can get another subscription. should be available soon. I will start working on it.\
|
Can you see the process I went through before I could go back to the NETWORK_TEAM directory? What if I were to go back to IT_DEPARTMENT directory, will I keep doing cd..? At this point,…….To be continued…… |
6. go back to the NETWORK_TEAM directory and create CISCO_SWITCH_TEAM and DELL_SWITCH_TEAM
|

