Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Unix / Linux / Ubuntu Articles
Submit Article
Home
»
Articles
»
Unix / Linux / Ubuntu
»
Homework Help
RSS Feeds
Rename a file from first1.txt to first2.txt
Posted By:
Madison Campbell
Category:
Unix / Linux / Ubuntu
Views:
3266
Rename a file from first1.txt to first2.txt.
Code for Rename a file from first1.txt to first2.txt in Unix / Linux / Ubuntu
$ mv first1.txt first2.txt
Share:
Previous Post:
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Next Post:
Convert first1.txt file to hidden file
Didn't find what you were looking for? Find more on
Rename a file from first1.txt to first2.txt
Or get
search suggestion and latest updates
.
Madison Campbell
author of Rename a file from first1.txt to first2.txt is from Toronto,
Canada
.
View All Articles
Related Articles and Code:
Convert first1.txt file to hidden file
Sort file abc.txt and save this sorted file in xyz.txt
Append abc.txt, xyz .txt
Copy abc.txt into xyz
Shell script to perform operations like display, list, make directory and copy, rename, delete, edit file
Move or Rename file and directories - mv
Example to rename table name
Perform directory operations like display current , list, Make, Change directory and file operations like Copy, Rename, Delete, Edit based on menu
Write a shell script to search all files and rename them such that they do not contain the shell PID.
Write a shell script for renaming each files in the directory such that it will have the current shell PID as an extension
Write a menu driven shell script for Copy a file, Remove a file, Move a file
Split a large file into small files
Combine two files to a single file
Program of reading data from one text file and writing in new text file
File handling program to copy bytes from one file to another
File handling program to copy characters from one file to another
File handling program to count number of characters in a file
Program to describe The Functionality of merging two files in a single file
PROGRAM TO READ THE STUDENT DETAILS FROM THE STUDENT INFORMATION FILE USING FILE READ OPERATION
PROGRAM TO WRITE THE STUDENT DETAILS IN STUDENT INFORMATION FILE USING FILE WRITE OPERATION
Other Interesting Articles in Unix / Linux / Ubuntu:
Write a shell program to convert all the contents into the uppercase in a particular file
To identify directory and executable file which command is used?
Write a shell program to add, subtract and multiply the 2 given numbers passed as command line arguments
Write a shell script that takes a file names as a argument and deletes this file from every directory above the present working directory.
Shell script to change extension of an existing file
Change login password and associated attributes - passwd
Write a shells scripts which will receives a list of filenames,the first of whch would be wordfile
Write a shell script to reverse a number supplied by a user.
Prepare the marksheet of the student
Change file owner of group - chown
Find all lines in a file with words longer than 4 characters, assuming that words are separated by spaces except at the beginning or end of line
Tee examples in unix
Calculate the gross salary
Redirection in unix
Write a shell program to display the alternate digits in a given 7 digit number starting from the first digit
Write a shell script to display the digits which are in odd position in a given 5 digit number
Sort file abc.txt and save this sorted file in xyz.txt
Shell Script to create a Menu Driven program : Hard Link, Soft Link, Counting each of the links for a specific link and Display the soft-links
Write a shell script to display the digits which are in odd position in a given 5 digit number
Write a shell program to concatenate the contents of 2 files
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Unix / Linux / Ubuntu
View All
Advance
Basics
Commands
Homework Help
Interview FAQ
Terms and Terminology
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint