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
Display your current working directory
Posted By:
Abbie Hughes
Category:
Unix / Linux / Ubuntu
Views:
4058
Display your current working directory.
Code for Display your current working directory in Unix / Linux / Ubuntu
$ pwd ************* Output ************* /home/symca/mca258
Share:
Previous Post:
Display information about all the current programs running
Next Post:
Sort file abc.txt and save this sorted file in xyz.txt
Didn't find what you were looking for? Find more on
Display your current working directory
Or get
search suggestion and latest updates
.
Abbie Hughes
author of Display your current working directory is from London,
United Kingdom
.
View All Articles
Related Articles and Code:
Program to find the current working directory
Script to make File and Directory Management Operations menu based : Display Current directory, List Directory, Make Directory, Change Directory etc
Shell script to check whether inputted directory is in current directory or not
Shell script that prints names of all sub-directories present in the current directory
Shell script that prints names of all sub-directories present in the current directory
Which command given information of present working directory?
Perform directory operations like display current , list, Make, Change directory and file operations like Copy, Rename, Delete, Edit based on menu
List all hidden files in current directory
Show current directory - pwd
Changing current directory - cd
Write a shell script that takes a file names as a argument and deletes this file from every directory above the present working directory.
Program to display textbox works like the normal textbox found in Windows
Write a shell script, which displays a list of all files in the current directory to which you have read, write and execute permissions
Display information about all the current programs running
Set or display name of current host system - hostname
Program to display current date and time
Display 2 items having lowest current stock
Program of telephone directory that provides append, find and display all records from a file
Program to display bill receipt based on customer information and create telephone directory
File handling program to display directory contents
Other Interesting Articles in Unix / Linux / Ubuntu:
Overview of UNIX
To identify directory and executable file which command is used?
Add a new group to the system - groupadd
Shell Script to find out the sum of the given numbers using command line argument
Shell Script to separate the colon from the given item
Write a shell program to count the characters, count the lines and the words in a particular file
Write a shell script to find sum of digits of a number
Copy file and directory subtrees - cp
Shell script which would Receive the log name during execution ,obtain information about it from /etc/passswd and display this information on screen
Shell script to change extension of an existing file
Program to perform all SUBTRACTION on two operands : (decimal, binary, octal,hexadecimal)
Write a shell program to exchange the values of two variables
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
Absolute movement in unix
Shell script which whenever gets executed displays the message “Good Morning/Good afternoon /Good Evening “depending on the time it get executed"
Write a shell program to convert all the contents into the uppercase in a particular file
Shell script to measure size of a file
Write a shell scripts that finds total no. of users and finds out how many of them are currently loggedin
Explain the difference between echo “$SHELL” and echo ‘$SHELL’
Find the lines containing a number in a file
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