Trying to alias rm to move files to a hidden trash directory in the bash shell. I've tried to create this alias numberous ways and it's just not working. Here's what I've tried, anyone have any suggestions.
alias rm='mv $* ~/.trash'
alias rm= 'mv$* ~/.trash'
things like that... I've also... (2 Replies)
Hello
I am unable to enter my password because the OS does not respond to my keystrokes in the password field at the log-in menu, even though it does in the username field. I have no clue how to troubleshoot this. Please help me out.
Thank you (11 Replies)
Hi,
I have a menu of around 10 lines with options.
I want to display it in bottom right corner of screen for better display.
I can do it with clear screen. But I don't want to use it, because it will clear the existing text. After one choice from menu is executed, the menu should just place... (3 Replies)
the sorting is based on name of file,
file size
modification time stamps o f file
it should dislay the output in the following format
"." and ".." enteries should be ignored
please give some idea how to do it (1 Reply)
Hi All,
Request your expertise in tackling one requirement in my project,(i dont have much expertise in Shell Scripting). The requirement is as below,
1) We store the last run date of a process in a file. When the batch run the next time, it should read this file, get the last run date from... (1 Reply)
hi all i am a newbie to this
is there any examples on creating a main menu with 3 sub menu
main menu -> option a , b and c
a menu -> option 1 ,2 and 3
b menu -> option 1 ,2
c menu -> option 1 ,2
i am getting headache as my code kept getting unexpected EOF
---------- Post... (0 Replies)
I am trying to display the text the user selects from a bash menu. The below will display the menu and allow the user to enter a number, but will not display the choice selected.
bash
while true
do
printf "\n please make a selection from the MENU \n
... (4 Replies)
Hi!
I am looking to build dynamic menu (named: lookup.sh) that reads a pipe delimited file for input.
for example, contents of input.txt could be:
user1|srv1
user3|srv1
user4|srv1
user2|srv2
I want the menu look like:
1) get password for user1 on srv1
2) get password for user3 on... (7 Replies)
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT OSX
svk::log::changedpaths
SVK::Log::ChangedPaths(3) User Contributed Perl Documentation SVK::Log::ChangedPaths(3)NAME
SVK::Log::ChangedPaths - partly lazy list of SVK::Log::ChangedPath objects
SYNOPSIS
use SVK::Log::ChangedPaths;
my $changed_paths = SVK::Log::ChangedPaths->new( $root );
for my $changed_path ( $changed_paths->paths() ) {
...
}
DESCRIPTION
An object of this class represents a collection of details about the files/directories that were changed in a particular revision. Some
log filters want access to information about which paths were affected during a certain revision and others don't. Using this object
allows the calculation of path details to be postponed until it's truly needed.
METHODS
new
Accepts the return value of "SVK::Path->root()" as a parameter and constructs a SVK::Log::ChangedPaths object from it.
paths
Returns a list of SVK::Log::ChangedPath objects each of which represents the details of the changes to a particular path.
DIAGNOSTICS
None
CONFIGURATION AND ENVIRONMENT
SVK::Log::ChangedPaths requires no configuration files or environment variables.
DEPENDENCIES
o SVK::Log::ChangedPath
INCOMPATIBILITIES
None known
BUGS AND LIMITATIONS
None known
perl v5.10.0 2008-08-04 SVK::Log::ChangedPaths(3)