Search Results

Search: Posts Made By: kunwar
5,983
Posted By stomp
As I understood you, you like to combine 2 parts...
As I understood you, you like to combine 2 parts of 2 different disks into one partition/filesystem. You can do that(e. g. by using lvm). But if you do, know that one of those 2 disks fail, the data...
5,983
Posted By hicksd8
Looks like that you've mounted the new disk on...
Looks like that you've mounted the new disk on /testmount and 'covered' the old disk mounted there.

You can only mount one disk on a single mountpoint.

If you umount sdb1 the old disk should...
5,822
Posted By Neo
cd /tmp git clone...
cd /tmp
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
1,590
Posted By Chubler_XL
any non-zero/null value equates to true, so this...
any non-zero/null value equates to true, so this test can be thought of as does a exist and is greater than zero.
Which comming to think of it will stop 0 flagging a change of date - ($1<a) is...
4,513
Posted By methyl
Bearing in mind your previous posts, after you...
Bearing in mind your previous posts, after you have read "man stty" please post and questions about values which need further explanation. Many of the "stty" settings are only relevant to terminals...
4,513
Posted By ctsgnb
i guess you mean : stty -a see UNIX man...
i guess you mean :

stty -a

see UNIX man pages : stty () (http://unixhelp.ed.ac.uk/CGI/man-cgi?stty)

---------- Post updated at 10:27 AM ---------- Previous update was at 10:27 AM ----------...
13,281
Posted By mirni
testing.awk -f x.txt TNAME tells awk to process...
testing.awk -f x.txt TNAME
tells awk to process the file TNAME, which it cannot find

-f switch is used to tell awk to read the commands from file. So you probably wanted to call it like this:...
17,852
Posted By fpmurphy
\042 means octal value 42 which is a double...
\042 means octal value 42 which is a double quote. For more information

man ascii
4,683
Posted By rdcwayx
awk '{ printf "%.0f\n", $1 - $2 }' list1
awk '{ printf "%.0f\n", $1 - $2 }' list1
4,187
Posted By methyl
There's some ideas for a MSDOS Batch File to...
There's some ideas for a MSDOS Batch File to automate ftp in this post.

https://www.unix.com/shell-programming-scripting/111088-how-ftp-file-local-folder-unix-server.html

We can take this idea a...
1,689
Posted By ranj@chn
a try
cp $f1 $tmpf1 #make temp files
cp $f2 $tmpf2 #make temp files
no_list=$(awk '{print $3}' $tmpf1 $tmpf2 |sed '/^$/d'|sort -un)
last_no=$(awk '{print $3}' $tmpf1 $tmpf2 |sed '/^$/d'|sort -un|tail...
2,993
Posted By Perderabo
No you have it wrong. The -n says don't print...
No you have it wrong. The -n says don't print anything unless explicitly told. The /tk=/ selects only lines that have a tk= in them. The s/this/that/p does a substitute on the line and...
9,783
Posted By LivinFree
What about using "ed", or "ex"? Say, you had a...
What about using "ed", or "ex"?
Say, you had a list of files and directories in a text file named tmp.list.
If you wanted to get rid of all items matching "Desktop" (the same as using "grep -v...
10,463
Posted By Perderabo
sed '/#Data2.start/{N;N;N;N;d;}'
sed '/#Data2.start/{N;N;N;N;d;}'
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 11:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy